Skip to content

Commit 471193c

Browse files
SwooshyCuebalanking
authored andcommitted
[#133] Fix EL package dependency declarations
python3-libs providing python3.y-libs doesn't start till EL9
1 parent 87be7bb commit 471193c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,11 @@ set(CPACK_DEBIAN_PACKAGE_NAME "irods-rule-engine-plugin-python")
287287
set(CPACK_DEBIAN_PACKAGE_DEPENDS "${IRODS_PACKAGE_DEPENDENCIES_STRING}, irods-runtime (= ${IRODS_VERSION}), libc6, libpython${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}")
288288

289289
set(CPACK_RPM_PACKAGE_NAME "irods-rule-engine-plugin-python")
290+
set(CPACK_RPM_PACKAGE_REQUIRES "${IRODS_PACKAGE_DEPENDENCIES_STRING}, irods-runtime = ${IRODS_VERSION}, python${Python_VERSION_MAJOR}-libs")
290291
if (IRODS_LINUX_DISTRIBUTION_NAME STREQUAL "centos" OR IRODS_LINUX_DISTRIBUTION_NAME STREQUAL "centos linux")
291-
set(CPACK_RPM_PACKAGE_REQUIRES "${IRODS_PACKAGE_DEPENDENCIES_STRING}, irods-runtime = ${IRODS_VERSION}, openssl, python${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}-libs")
292+
set(CPACK_RPM_PACKAGE_REQUIRES "${CPACK_RPM_PACKAGE_REQUIRES}, openssl")
292293
elseif (IRODS_LINUX_DISTRIBUTION_NAME STREQUAL "opensuse")
293-
set(CPACK_RPM_PACKAGE_REQUIRES "${IRODS_PACKAGE_DEPENDENCIES_STRING}, irods-runtime = ${IRODS_VERSION}, libopenssl1_0_0")
294+
set(CPACK_RPM_PACKAGE_REQUIRES "${CPACK_RPM_PACKAGE_REQUIRES}, libopenssl1_0_0")
294295
endif()
295296

296297
if (NOT CPACK_GENERATOR)

0 commit comments

Comments
 (0)