[Bug 738548] New: %lang_package macro bug - Requires %{name}
https://bugzilla.novell.com/show_bug.cgi?id=738548 https://bugzilla.novell.com/show_bug.cgi?id=738548#c0 Summary: %lang_package macro bug - Requires %{name} Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: nmo.marques@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.14 (KHTML, like Gecko) Chrome/18.0.972.0 Safari/535.14 SUSE/18.0.972.0 I was packaging a library today which provides documentation. I've splitted the documentation into a %{name}-lang package using the %lang_package macro. I've noticed that the %lang_package macro adds a "Requires: %{name}" in the language package. In this particular package there's not a %{name} package since our shlib policies forces us to make a %{name}-%{soname} package for the libraries. The packages are useless as the lang package tries to pull an unexistent package. I only see two possible ways out of this mess: 1. Add manually the language package; 2. Filter the provides from the lang-package (I don't know how to do this on openSUSE, I've done in the past a few times for Fedora). Either way, though I agree with this macro in having an automatic "Requires: %{name}", there's a few cases in which this becomes troublesome. This is one of them. A fix should be required so we can still use this macro in all packages, as it's one of the most useful ones in openSUSE portfolio. Reproducible: Always Steps to Reproduce: 1. Use %lang_package macro on a package where you don't generate a %{name} package. It will add unexisting dependencies on %{name} Actual Results: Fails resolving dependencies for installation. Expected Results: Package should install. -- 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=738548 https://bugzilla.novell.com/show_bug.cgi?id=738548#c Nelson Marques <nmo.marques@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P1 - Urgent -- 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=738548 https://bugzilla.novell.com/show_bug.cgi?id=738548#c Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |coolo@suse.com |ovo.novell.com | -- 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=738548 https://bugzilla.novell.com/show_bug.cgi?id=738548#c1 Nelson Marques <nmo.marques@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |DUPLICATE Severity|Major |Critical --- Comment #1 from Nelson Marques <nmo.marques@gmail.com> 2011-12-27 00:14:31 UTC --- Duplicated of bnc#513786 *** This bug has been marked as a duplicate of bug 513786 *** http://bugzilla.novell.com/show_bug.cgi?id=513786 -- 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