Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9d1c3e3bcd | ||
|
|
2eb9709c06 | ||
|
|
47a9b36fda | ||
|
|
e020113c90 |
2 changed files with 32 additions and 0 deletions
31
0004-Add-EPEL-10-CPack-option.patch
Normal file
31
0004-Add-EPEL-10-CPack-option.patch
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
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
|
||||||
|
|
||||||
|
|
@ -8,6 +8,7 @@ Source: https://github.com/accel-ppp/%{name}/archive/%{version}/%{name}-
|
||||||
Patch0: 0001-Use-PCRE2-instead-of-PCRE.patch
|
Patch0: 0001-Use-PCRE2-instead-of-PCRE.patch
|
||||||
Patch1: 0002-Add-Fedora-CPack-option.patch
|
Patch1: 0002-Add-Fedora-CPack-option.patch
|
||||||
Patch2: 0003-Allow-building-in-source-directory-needed-for-EPEL8.patch
|
Patch2: 0003-Allow-building-in-source-directory-needed-for-EPEL8.patch
|
||||||
|
Patch3: 0004-Add-EPEL-10-CPack-option.patch
|
||||||
ExcludeArch: %{ix86}
|
ExcludeArch: %{ix86}
|
||||||
|
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue