]> git.pld-linux.org Git - packages/cmake.git/blobdiff - cmake.spec
- cleanup patching artifacts
[packages/cmake.git] / 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.046298 seconds and 4 git commands to generate.