summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)