http://bugzilla.novell.com/show_bug.cgi?id=513786 Summary: rpm: add an option to %lang_package to specify which package to require Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: vuntz@novell.com QAContact: qa@suse.de Found By: --- With libraries, it happens quite a lot that a package named mylibrary6 (following the shared library policy) has translations which should end up in mylibrary-lang (and not mylibrary6-lang, since thee translations are using a non-versioned translation domain). The issue is that %lang_package will define mylibrary-lang so that it Requires the mylibrary package, which doesn't exist. So we have to tweak things with mylibrary6 providing the mylibrary package so that the lang package is installable. I believe adding an option to %lang_package to specify an alternative package to require would make this much easier. So you could do: %lang_package -r mylibrary6 And it would expand to: %package lang Summary: Languages for package %{name} Group: System/Localization Requires: mylibrary6 = %{version} Provides: %{name}-lang-all = %{version} Supplements: packageand(bundle-lang-other:%{name}) %description lang Provides translations to the package %{name} -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.