Compare commits

..

No commits in common. "rawhide" and "f42" have entirely different histories.

2 changed files with 0 additions and 32 deletions

View file

@ -1,31 +0,0 @@
From 9b1d714a847898c61aca7b4b62344288b82b563a Mon Sep 17 00:00:00 2001
From: Neel Chauhan <neel@neelc.org>
Date: Sun, 16 Feb 2025 19:15:17 -0500
Subject: [PATCH 4/4] Add EPEL 10 CPack option
---
cmake/cpack.cmake | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/cmake/cpack.cmake b/cmake/cpack.cmake
index 18f0d8e..af7698f 100644
--- a/cmake/cpack.cmake
+++ b/cmake/cpack.cmake
@@ -94,6 +94,14 @@ IF(CPACK_TYPE STREQUAL Centos9)
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/centos/centos.cmake)
ENDIF()
+IF(CPACK_TYPE STREQUAL Centos10)
+ 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, pcre2 >= 10.40")
+ INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/centos/centos.cmake)
+ENDIF()
+
IF(CPACK_TYPE STREQUAL Fedora)
SET(CPACK_RPM_PACKAGE_LICENSE "GPL")
SET(CPACK_RPM_PACKAGE_URL "http://accel-ppp.org")
--
2.48.1

View file

@ -8,7 +8,6 @@ Source: https://github.com/accel-ppp/%{name}/archive/%{version}/%{name}-
Patch0: 0001-Use-PCRE2-instead-of-PCRE.patch
Patch1: 0002-Add-Fedora-CPack-option.patch
Patch2: 0003-Allow-building-in-source-directory-needed-for-EPEL8.patch
Patch3: 0004-Add-EPEL-10-CPack-option.patch
ExcludeArch: %{ix86}
BuildRequires: cmake