]> git.pld-linux.org Git - packages/cmake.git/commitdiff
- cleanup patching artifacts
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 26 Aug 2014 20:08:59 +0000 (22:08 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 26 Aug 2014 20:08:59 +0000 (22:08 +0200)
cmake.spec

index 39401dbb72b28a303c3a4f34eb7bf79755015082..4a0bbc5888df3edf6e314983f933c54ffe745963 100644 (file)
@@ -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}"
This page took 0.034278 seconds and 4 git commands to generate.