diff options
author | Volker Kaiser <volker.kaiser@softwareschneiderei.de> | 2012-08-02 16:14:44 +0200 |
---|---|---|
committer | Volker Kaiser <volker.kaiser@softwareschneiderei.de> | 2012-08-02 16:14:44 +0200 |
commit | 081f4ab3e06cf343052b01132bb762485b2a2554 (patch) | |
tree | f8786110c3c362b984537680ea8ea0d53f18c24b /src | |
parent | 34b782866a263238107d4d1db0b3970969eef3a2 (diff) | |
download | uca-081f4ab3e06cf343052b01132bb762485b2a2554.tar.gz uca-081f4ab3e06cf343052b01132bb762485b2a2554.tar.bz2 uca-081f4ab3e06cf343052b01132bb762485b2a2554.tar.xz uca-081f4ab3e06cf343052b01132bb762485b2a2554.zip |
added support for libuca.spec.in
Diffstat (limited to 'src')
-rw-r--r-- | src/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3c80afd..eab7a54 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -282,7 +282,9 @@ set(CPACK_PACKAGE_NAME "libuca") # --- Distro specific set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.3.6), libgcc1 (>= 1:4.1)") -set(CPACK_SET_DESTDIR ON) + +# this doesn't work when building RPMs on Jenkins +#set(CPACK_SET_DESTDIR ON) set(CPACK_PACKAGE_CONTACT "Matthias Vogelgesang") set(CPACK_PACKAGE_VENDOR "Karlsruhe Institute of Technology/IPE") @@ -297,4 +299,7 @@ set(CPACK_SOURCE_IGNORE_FILES ".git" "tags" ".bzr" ".swp") set(CPACK_SOURCE_PACKAGE_FILE_NAME "libuca-${UCA_VERSION_STRING}" CACHE INTERNAL "tarball basename") set(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${UCA_VERSION_STRING}-${CMAKE_SYSTEM_PROCESSOR}") +configure_file("${CMAKE_CURRENT_SOURCE_DIR}/../libuca.spec.in" + "${CMAKE_CURRENT_BINARY_DIR}/../libuca.spec" @ONLY IMMEDIATE) + include(CPack) |