[Rpm-maint] [rpm-software-management/rpm] %requires_eq breaks building in non-English locale (#541)

Anoop C S notifications at github.com
Wed Sep 19 06:17:34 UTC 2018


Raising this issue based on [1] on Fedora:

> The reason is %requires_eq macro is buggy:

> #LC_ALL="C" echo 'libldb' | xargs -r rpm -q --qf 'Requires: %{name} = %{epoch}:%{version}\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not"
balíček libldb není nainstalován

> While correct command is:

> #echo 'libldb' | LC_ALL=C xargs -r rpm -q --qf 'Requires: %{name} = %{epoch}:%{version}\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not"

> The LC_ALL redefintion must be moved to the "xargs" command.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1597701

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/541
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180918/4cb57264/attachment.html>


More information about the Rpm-maint mailing list