[Cmake-commits] [cmake-commits] eric.noulard committed CPackRPM.cmake 1.19 1.20
cmake-commits at cmake.org
cmake-commits at cmake.org
Sun Nov 22 12:52:49 EST 2009
Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv24242/Modules
Modified Files:
CPackRPM.cmake
Log Message:
CPackRPM: do not forget to include installed symlinks (bug 9927)
Eric
Index: CPackRPM.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/CPackRPM.cmake,v
retrieving revision 1.19
retrieving revision 1.20
diff -C 2 -d -r1.19 -r1.20
*** CPackRPM.cmake 15 Nov 2009 18:55:42 -0000 1.19
--- CPackRPM.cmake 22 Nov 2009 17:52:47 -0000 1.20
***************
*** 364,368 ****
# Use files tree to construct files command (spec file)
! EXECUTE_PROCESS(COMMAND find -type f
COMMAND sed {s/\\.//}
WORKING_DIRECTORY "${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}"
--- 364,370 ----
# Use files tree to construct files command (spec file)
! # We should not forget to include symlinks (thus -o -type l)
! # We must remove the './' due to the local search (thus the sed)
! EXECUTE_PROCESS(COMMAND find -type f -o -type l
COMMAND sed {s/\\.//}
WORKING_DIRECTORY "${CPACK_TOPLEVEL_DIRECTORY}/${CPACK_PACKAGE_FILE_NAME}"
***************
*** 447,450 ****
--- 449,454 ----
%changelog
+ * Sun Nov 22 2009 Erk <eric.noulard at gmail.com>
+ Include symlinks in the file list.
* Sat Nov 14 2009 Erk <eric.noulard at gmail.com>
Replace prep and build step with backup and restore
More information about the Cmake-commits
mailing list