SOURCES (AC-branch): rpm.macros - fix locale setting for requires_...

arekm arekm at pld-linux.org
Sat Oct 8 13:21:39 CEST 2005


Author: arekm                        Date: Sat Oct  8 11:21:39 2005 GMT
Module: SOURCES                       Tag: AC-branch
---- Log message:
- fix locale setting for requires_releq

---- Files affected:
SOURCES:
   rpm.macros (1.158.4.63 -> 1.158.4.64) 

---- Diffs:

================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.158.4.63 SOURCES/rpm.macros:1.158.4.64
--- SOURCES/rpm.macros:1.158.4.63	Sun Sep 18 10:54:23 2005
+++ SOURCES/rpm.macros	Sat Oct  8 13:21:34 2005
@@ -231,7 +231,7 @@
 %_rpmfilename		%%{NAME}-%%{VERSION}-%%{RELEASE}%{?debug:dbg}.%%{ARCH}.rpm
 
 # Requires name = version-release
-%requires_releq()		%(LC_ALL="C" echo '%*' | xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}-%%{release}\\n' | sed -e 's/ (none):/ /' | grep -v "is not")
+%requires_releq()		%(echo '%*' | LC_ALL="C" xargs -r rpm -q --qf 'Requires: %%{name} = %%{epoch}:%%{version}-%%{release}\\n' | sed -e 's/ (none):/ /' | grep -v "is not")
 
 %releq_kernel_up()		%(LC_ALL="C" rpm -qf --qf '%%{name}-up = %%{epoch}:%%{version}-%%{release}\\n' %{_kernelsrcdir}/include/linux/version.h | sed -e 's/ (none):/ /' | sed -e 's:-headers::' | grep -vE "(is not|no such)")
 %releq_kernel_smp()  		%(LC_ALL="C" rpm -qf --qf '%%{name}-smp = %%{epoch}:%%{version}-%%{release}\\n' %{_kernelsrcdir}/include/linux/version.h | sed -e 's/ (none):/ /' | sed -e 's:-headers::' | grep -vE "(is not|no such)")
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rpm.macros?r1=1.158.4.63&r2=1.158.4.64&f=u




More information about the pld-cvs-commit mailing list