summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2015-10-11 10:32:44 +0200
committerSergey Vojtovich <svoj@mariadb.org>2015-10-26 20:43:23 +0400
commitd6480f49ffb8a2a6e63915a55aa8bd067b0850e5 (patch)
tree1d12ba447d58d1b3229edd6cebe96f64d843c686 /cmake
parente4f9d20d7c0359aadaf212346f7b4517e7efa5d7 (diff)
downloadmariadb-git-d6480f49ffb8a2a6e63915a55aa8bd067b0850e5.tar.gz
Fixed Fedora 22 package build failure.
Since MariaDB packages have absolute paths, they are marked as not relocatable by setting CPACK_RPM_PACKAGE_RELOCATABLE. According to logics of recent CPackRPM it is not enough: one needs to set CPACK_PACKAGE_RELOCATABLE additionally.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/cpack_rpm.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/cpack_rpm.cmake b/cmake/cpack_rpm.cmake
index b936e2c0983..78550fcc6a8 100644
--- a/cmake/cpack_rpm.cmake
+++ b/cmake/cpack_rpm.cmake
@@ -34,6 +34,7 @@ SET(CPACK_PACKAGE_FILE_NAME "${CPACK_RPM_PACKAGE_NAME}-${VERSION}-${RPM}-${CMAKE
SET(CPACK_RPM_PACKAGE_RELEASE "1%{?dist}")
SET(CPACK_RPM_PACKAGE_LICENSE "GPL")
SET(CPACK_RPM_PACKAGE_RELOCATABLE FALSE)
+SET(CPACK_PACKAGE_RELOCATABLE FALSE)
SET(CPACK_RPM_PACKAGE_GROUP "Applications/Databases")
SET(CPACK_RPM_PACKAGE_URL "http://mariadb.org")
SET(CPACK_RPM_PACKAGE_SUMMARY "MariaDB: a very fast and robust SQL database server")