SOURCES: php-pear-build-macros - remove patch backups from install...

glen glen at pld-linux.org
Tue Sep 27 23:08:51 CEST 2005


Author: glen                         Date: Tue Sep 27 21:08:51 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- remove patch backups from installroot

---- Files affected:
SOURCES:
   php-pear-build-macros (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SOURCES/php-pear-build-macros
diff -u SOURCES/php-pear-build-macros:1.15 SOURCES/php-pear-build-macros:1.16
--- SOURCES/php-pear-build-macros:1.15	Tue Sep 27 22:40:37 2005
+++ SOURCES/php-pear-build-macros	Tue Sep 27 23:08:45 2005
@@ -65,6 +65,7 @@
 # please use this macro, for future expansions being possible.
 %define pear_package_install() \
 cp -a ./%{php_pear_dir}/{.registry,*} $RPM_BUILD_ROOT%{php_pear_dir} \
+find $RPM_BUILD_ROOT%{php_pear_dir} '(' -name '*~' -o -name '*.orig' ')' | xargs -r rm -v \
 # help the developer out a little: \
 if [ -f _noautoreq ]; then \
 	echo "AutoReqdep detected:" \
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/php-pear-build-macros?r1=1.15&r2=1.16&f=u




More information about the pld-cvs-commit mailing list