SPECS: linux-libc-headers.spec - my build system doesn't generate ...

glen glen at pld-linux.org
Sun Aug 28 18:15:03 CEST 2005


Author: glen                         Date: Sun Aug 28 16:15:03 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- my build system doesn't generate .orig files on patching (but ~ instead)
  and others could be off completely due $VERSION_CONTROL variable,
  in other words, add -r option to xargs

---- Files affected:
SPECS:
   linux-libc-headers.spec (1.101 -> 1.102) 

---- Diffs:

================================================================
Index: SPECS/linux-libc-headers.spec
diff -u SPECS/linux-libc-headers.spec:1.101 SPECS/linux-libc-headers.spec:1.102
--- SPECS/linux-libc-headers.spec:1.101	Sun Aug 28 16:39:56 2005
+++ SPECS/linux-libc-headers.spec	Sun Aug 28 18:14:56 2005
@@ -151,7 +151,8 @@
 cp -a linux $RPM_BUILD_ROOT%{_includedir}
 cp -a sound $RPM_BUILD_ROOT%{_includedir}
 
-find $RPM_BUILD_ROOT%{_includedir} -type f -name '*.orig' | xargs rm
+find $RPM_BUILD_ROOT%{_includedir} -type f \
+	'(' -name '*.orig' -o -name '*~' ')' | xargs -r rm
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -177,6 +178,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.102  2005/08/28 16:14:56  glen
+- my build system doesn't generate .orig files on patching (but ~ instead)
+  and others could be off completely due $VERSION_CONTROL variable,
+  in other words, add -r option to xargs
+
 Revision 1.101  2005/08/28 14:39:56  qboosh
 - added audit patch, release 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/linux-libc-headers.spec?r1=1.101&r2=1.102&f=u




More information about the pld-cvs-commit mailing list