summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Eshenko <dmitriy.eshenko@accel-ppp.org>2022-11-29 11:03:16 +0300
committerGitHub <noreply@github.com>2022-11-29 11:03:16 +0300
commit697649b8c265fc05c8bab20a612816e3951d2c68 (patch)
tree9e747da168d944af55d2d9078a4e6a160c55bd84
parenta31bc84b1fc53998400609999218f3112872be02 (diff)
parent4c9d11d8f68f688ed02ade1204ac838639fa0855 (diff)
downloadaccel-ppp-697649b8c265fc05c8bab20a612816e3951d2c68.tar.gz
accel-ppp-697649b8c265fc05c8bab20a612816e3951d2c68.zip
Merge pull request #65 from neelchauhan/epel9
Add support for building RPMs on RHEL 9 clones
-rw-r--r--cmake/cpack.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/cpack.cmake b/cmake/cpack.cmake
index db7fe123..b46f8b14 100644
--- a/cmake/cpack.cmake
+++ b/cmake/cpack.cmake
@@ -89,4 +89,12 @@ IF(CPACK_TYPE STREQUAL Centos8)
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/centos/centos.cmake)
ENDIF()
+IF(CPACK_TYPE STREQUAL Centos9)
+ SET(CPACK_RPM_PACKAGE_LICENSE "GPL")
+ SET(CPACK_RPM_PACKAGE_URL "http://accel-ppp.org")
+ SET(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/sbin")
+ SET(CPACK_RPM_PACKAGE_REQUIRES "glibc >= 2.34, openssl-libs >= 3.0.1, pcre >= 8.44")
+ INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/centos/centos.cmake)
+ENDIF()
+
INCLUDE(CPack)