[Bug 422080] New: %requires_eq clears locale incorrectly
https://bugzilla.novell.com/show_bug.cgi?id=422080 Summary: %requires_eq clears locale incorrectly Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: mls@novell.com ReportedBy: mmarek@novell.com QAContact: qa@suse.de Found By: --- %requires_eq is defined as %requires_eq() %(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") The LC_ALL=C is at the wrong place, the author probably intended to clear locale for rpm to disable localization of the "package xxx is not installed" message, but: $ LC_MESSAGES=cs_CZ.UTF-8 rpm --eval '%requires_eq xxx' balíček xxx není nainstalován It should be .. echo '%*' | LC_ALL=C xargs -r rpm -q --qf ... Same for the newly added %requires_ge macro. -- 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=422080 User mls@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=422080#c1 Michael Schröder <mls@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Michael Schröder <mls@novell.com> 2008-10-01 10:27:09 MDT --- Fixed. -- 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