[Bug 826993] New: rpmlint warns about correct usage of update-alternatives
https://bugzilla.novell.com/show_bug.cgi?id=826993 https://bugzilla.novell.com/show_bug.cgi?id=826993#c0 Summary: rpmlint warns about correct usage of update-alternatives Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: dmueller@suse.com ReportedBy: coolo@suse.com QAContact: qa-bugs@suse.de CC: lnussel@suse.com Found By: --- Blocker: --- [ 53s] rubygem-rake.i586: W: generic-name-not-marked-as-ghost /usr/bin/rake [ 53s] The update-alternatives generic name is not marked as a ghost in the %files [ 53s] section. This causes problems during update. Mark it as a %ghost in %files [ 53s] section. The thing is: this is exactly as http://en.opensuse.org/openSUSE:Packaging_Multiple_Version_guidelines describes it and how it should be. If /usr/bin/rake is a %ghost, then an update from /usr/bin/rake the file to /usr/bin/rake the link to /etc/alternatives/rake is ignored. The test should actually check that /usr/bin/rake is _not_ %ghost *and* links to an empty file in /etc/alternatives -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=826993 https://bugzilla.novell.com/show_bug.cgi?id=826993#c1 --- Comment #1 from Ludwig Nussel <lnussel@suse.com> 2013-06-28 05:15:05 CEST --- Looks like we use a different approach than Fedora: https://fedoraproject.org/wiki/Packaging:Alternatives -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=826993 https://bugzilla.novell.com/show_bug.cgi?id=826993#c2 --- Comment #2 from Stephan Kulow <coolo@suse.com> 2013-06-28 05:27:22 CEST --- Fedora's page does not answer how they fix the update from single version to multi version -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=826993 https://bugzilla.novell.com/show_bug.cgi?id=826993#c3 --- Comment #3 from Ludwig Nussel <lnussel@suse.com> 2013-06-28 05:33:21 CEST --- rm in %prein :-) I agree that this is not exactly smart. They also have no owner of the link in /etc -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=826993 https://bugzilla.novell.com/show_bug.cgi?id=826993#c4 Dirk Mueller <dmueller@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |mvyskocil@suse.com Resolution| |FIXED --- Comment #4 from Dirk Mueller <dmueller@suse.com> 2013-06-28 10:51:05 CEST --- Kind of funny that the suse-specific tests added by a SUSE employ the fedora rules, not the openSUSE packaging rules. This was a check contributed by Michal, I've deleted it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=826993 https://bugzilla.novell.com/show_bug.cgi?id=826993#c5 --- Comment #5 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-06-28 13:00:13 CEST --- This is an autogenerated message for OBS integration: This bug (826993) was mentioned in https://build.opensuse.org/request/show/181366 Factory / rpmlint -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com