Hi all, I packaged rubygem-krane recently, but could not get rid of one error in rpmlint:
https://build.opensuse.org/package/show/home:ojkastl_buildservice:Branch_dev...
[ 11s] ruby3.2-rubygem-krane.x86_64: E: update-alternatives-postun-call-missing [ 11s] The package does not call update-alternatives --remove in postun phase to [ 11s] remove all the configuration for each individual --install binary that was [ 11s] done in postun.
Not sure if this is a false positive, as there is a call to update-alternatives in %postun:
%postun update-alternatives --remove krane %{_bindir}/krane
Or is there something wrong with this one (that I copied from another package using update-alternatives? Kind Regards, Johannes P.S.: Have a merry christmas y'all!