From edea2b50995053fd4eab01a8b9420d8cc4f0f254 Mon Sep 17 00:00:00 2001 From: "Markus Kitsinger (SwooshyCueb)" Date: Mon, 18 Sep 2023 14:51:11 -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 4387139..28f7553 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,10 +94,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) @@ -106,7 +102,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)