Skip to content

Commit 950e6f5

Browse files
committed
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.
1 parent 6346d1d commit 950e6f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmake/cpack_rpm.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ SET(CPACK_PACKAGE_FILE_NAME "${CPACK_RPM_PACKAGE_NAME}-${VERSION}-${RPM}-${CMAKE
3434
SET(CPACK_RPM_PACKAGE_RELEASE "1%{?dist}")
3535
SET(CPACK_RPM_PACKAGE_LICENSE "GPL")
3636
SET(CPACK_RPM_PACKAGE_RELOCATABLE FALSE)
37+
SET(CPACK_PACKAGE_RELOCATABLE FALSE)
3738
SET(CPACK_RPM_PACKAGE_GROUP "Applications/Databases")
3839
SET(CPACK_RPM_PACKAGE_SUMMARY ${CPACK_PACKAGE_SUMMARY})
3940
SET(CPACK_RPM_PACKAGE_URL ${CPACK_PACKAGE_URL})

0 commit comments

Comments
 (0)