diff options
author | Sergei Golubchik <serg@mariadb.org> | 2019-09-06 14:42:46 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-09-06 16:35:56 +0200 |
commit | 39e5b76ef1e68c0aed0b0f6941d517a986fe8821 (patch) | |
tree | e5fceb4740a9066098af3d21b4bc82dfe6f4edd5 /cmake | |
parent | 5a9e2b77d40427d99a29a96551a0f31fdf39edac (diff) | |
download | mariadb-git-39e5b76ef1e68c0aed0b0f6941d517a986fe8821.tar.gz |
use a shorter name for sources in debuginfo rpms
have the same path as in source rpms, don't build them differently
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/cpack_rpm.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/cpack_rpm.cmake b/cmake/cpack_rpm.cmake index dda9fd1b25e..82fadd6b689 100644 --- a/cmake/cpack_rpm.cmake +++ b/cmake/cpack_rpm.cmake @@ -39,6 +39,7 @@ ELSE() SET(CPACK_RPM_FILE_NAME "RPM-DEFAULT") OPTION(CPACK_RPM_DEBUGINFO_PACKAGE "" ON) MARK_AS_ADVANCED(CPACK_RPM_DEBUGINFO_PACKAGE) + SET(CPACK_RPM_BUILD_SOURCE_DIRS_PREFIX "/usr/src/debug/${CPACK_RPM_PACKAGE_NAME}-${VERSION}") ENDIF() SET(CPACK_RPM_PACKAGE_RELEASE "1%{?dist}") @@ -275,7 +276,6 @@ IF(CMAKE_VERSION VERSION_GREATER "3.9.99") SET(CPACK_SOURCE_GENERATOR "RPM") SETA(CPACK_RPM_SOURCE_PKG_BUILD_PARAMS "-DRPM=${RPM}" - "-DCPACK_RPM_BUILD_SOURCE_DIRS_PREFIX=/usr/src/debug/${CPACK_RPM_PACKAGE_NAME}-${VERSION}" ) MACRO(ADDIF var) |