]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Pick up spec file tweaks for debuginfo generation nits.
authorRoland McGrath <roland@gnu.org>
Thu, 17 Feb 2005 23:57:59 +0000 (23:57 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 17 Feb 2005 23:57:59 +0000 (23:57 +0000)
fedora/glibc.spec.in

index 34659db32ebe1564c8c55c279388e65be059179e..3e9390d95d37ef52ac9c307d6ba4d987e1014b88 100644 (file)
@@ -1057,11 +1057,11 @@ for f in `find $RPM_BUILD_ROOT/%{_lib} -type l`; do
 done
 
 echo Sorting source file lists. Might take a while...
-xargs -0 -n 1 echo < $sf | LANG=C sort -u > $sf.sorted
-xargs -0 -n 1 echo < $csf | LANG=C sort -u > $csf.sorted
+xargs -0 -n 1 echo < $sf | LC_ALL=C grep -v '/<internal>$' | LC_ALL=C sort -u > $sf.sorted
+xargs -0 -n 1 echo < $csf | LC_ALL=C grep -v '/<internal>$' | LC_ALL=C sort -u > $csf.sorted
 mkdir -p $RPM_BUILD_ROOT/usr/src/debug
 cat $sf.sorted $csf.sorted \
-  | (cd $RPM_BUILD_DIR; LANG=C sort -u | cpio -pdm ${RPM_BUILD_ROOT}/usr/src/debug)
+  | (cd $RPM_BUILD_DIR; LC_ALL=C sort -u | cpio -pdm ${RPM_BUILD_ROOT}/usr/src/debug)
 # stupid cpio creates new directories in mode 0700, fixup
 find $RPM_BUILD_ROOT/usr/src/debug -type d -print | xargs chmod a+rx