From db8a8836c166845cc698ecc33d96fef59840c5df Mon Sep 17 00:00:00 2001 From: "Markus Kitsinger (SwooshyCueb)" Date: Mon, 18 Sep 2023 14:52:30 -0400 Subject: [PATCH] [irods/irods#7312] Get package revision from IrodsCPackCommon --- CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 870bf22..7ff4a09 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -98,10 +98,6 @@ set(CPACK_DEBIAN_PACKAGE_CONTROL_STRICT_PERMISSION ON) set(CPACK_DEBIAN_PACKAGE_CONTROL_EXTRA "${CMAKE_SOURCE_DIR}/packaging/postinst;") set(CPACK_DEBIAN_PACKAGE_BREAKS ${PLUGIN_PACKAGE_NAME}) set(CPACK_DEBIAN_PACKAGE_REPLACES ${PLUGIN_PACKAGE_NAME}) -set(CPACK_DEBIAN_PACKAGE_RELEASE "${IRODS_PACKAGE_REVISION}") -if (IRODS_LINUX_DISTRIBUTION_VERSION_CODENAME) - set(CPACK_DEBIAN_PACKAGE_RELEASE "${CPACK_DEBIAN_PACKAGE_RELEASE}~${IRODS_LINUX_DISTRIBUTION_VERSION_CODENAME}") -endif() set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT) set(CPACK_RPM_COMPONENT_INSTALL OFF) @@ -110,7 +106,6 @@ set(CPACK_RPM_PACKAGE_AUTOREQ 0) set(CPACK_RPM_PACKAGE_AUTOPROV 0) set(CPACK_RPM_PACKAGE_OBSOLETES ${PLUGIN_PACKAGE_NAME}) set(CPACK_RPM_POST_INSTALL_SCRIPT_FILE "${CMAKE_SOURCE_DIR}/packaging/postinst") -set(CPACK_RPM_PACKAGE_RELEASE "${IRODS_PACKAGE_REVISION}") set(CPACK_RPM_FILE_NAME RPM-DEFAULT) set(CPACK_ARCHIVE_COMPONENT_INSTALL OFF)