• Vitaly Lipatov's avatar
    rpmlog: fix -n/-v not resetting release to <prefix>1 · 4abd4c77
    Vitaly Lipatov authored
    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.
    4abd4c77
TODO 6.03 KB