[packages/cmake] - cleanup patching artifacts

baggins baggins at pld-linux.org
Tue Aug 26 22:09:42 CEST 2014


commit b343cdb1041a1aad3f0998074c159e9869d9d9b5
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Aug 26 22:08:59 2014 +0200

    - cleanup patching artifacts

 cmake.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/cmake.spec b/cmake.spec
index 39401db..4a0bbc5 100644
--- a/cmake.spec
+++ b/cmake.spec
@@ -111,6 +111,9 @@ SET (CMAKE_INSTALL_SYSCONFDIR "%{_sysconfdir}" CACHE PATH " " FORCE)
 SET (CMAKE_INSTALL_DATADIR "%{_datadir}" CACHE PATH " " FORCE)
 EOF
 
+# cleanup backups after patching, modules are copied as-is
+find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
+
 %build
 export CC="%{__cc}"
 export CXX="%{__cxx}"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cmake.git/commitdiff/6f0c4bc34f1ecad2fa6e3a792fe383307bb790ab



More information about the pld-cvs-commit mailing list