Skip to content

Commit 98db6b5

Browse files
SwooshyCuebtrel
authored andcommitted
[irods/irods#5937] auto-generate package filename
1 parent cf8981c commit 98db6b5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,6 @@ list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "${CPACK_PACKAGING_INS
126126
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "${CPACK_PACKAGING_INSTALL_PREFIX}${IRODS_HOME_DIRECTORY}/scripts/irods/test/python_rules")
127127
list(APPEND CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "${CPACK_PACKAGING_INSTALL_PREFIX}${CMAKE_INSTALL_SYSCONFDIR}/irods")
128128

129-
set(CPACK_PACKAGE_FILE_NAME "irods-rule-engine-plugin-python-${IRODS_PLUGIN_VERSION}-${IRODS_LINUX_DISTRIBUTION_NAME}${IRODS_LINUX_DISTRIBUTION_VERSION_MAJOR}-${CMAKE_SYSTEM_PROCESSOR}")
130-
131129
set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY OFF)
132130
set(CPACK_COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY OFF)
133131
set(CPACK_COMPONENTS_GROUPING IGNORE)
@@ -143,6 +141,7 @@ set(CPACK_DEBIAN_PACKAGE_PRIORITY "extra")
143141
set(CPACK_DEBIAN_PACKAGE_HOMEPAGE "https://irods.org")
144142
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS OFF)
145143
set(CPACK_DEBIAN_PACKAGE_CONTROL_STRICT_PERMISSION ON)
144+
set(CPACK_DEBIAN_FILE_NAME DEB-DEFAULT)
146145

147146
set(CPACK_RPM_COMPONENT_INSTALL OFF)
148147
set(CPACK_RPM_PACKAGE_RELEASE "1")
@@ -151,6 +150,7 @@ set(CPACK_RPM_PACKAGE_VENDOR "iRODS Consortium")
151150
set(CPACK_RPM_PACKAGE_URL "https://irods.org")
152151
set(CPACK_RPM_PACKAGE_AUTOREQ 0)
153152
set(CPACK_RPM_PACKAGE_AUTOPROV 0)
153+
set(CPACK_RPM_FILE_NAME RPM-DEFAULT)
154154

155155
set(CPACK_ARCHIVE_COMPONENT_INSTALL OFF)
156156

0 commit comments

Comments
 (0)