rpmlog: fix -n/-v not resetting release to <prefix>1
The overloaded reset_release() only echoed the new value, which was
discarded in the -n and -v case branches, so the release was never
written to the spec (e.g. 11.11.5-eter2 -> rpmlog -n 11.12.1 kept
eter2 instead of eter1). Drop the broken override and call the library
set_release with an empty release, which resets to <prefix>1. Add a
test for it.
Showing
tests/reset_release.sh
0 → 100755
Please
register
or
sign in
to comment