summaryrefslogtreecommitdiffstats
path: root/php-pecl-rpminfo.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2025-07-18 15:29:44 +0200
committerRemi Collet <remi@php.net>2025-07-18 15:29:44 +0200
commit9bf93c457643703f319e917a83d15097569ee566 (patch)
treec524772a3da5c10e8ae699da7662a1d47138c4ec /php-pecl-rpminfo.spec
parent3e90786397c473edd06a8d39a5489a360813c385 (diff)
add more upstream patch for RPM 5.99.91HEADmaster
Diffstat (limited to 'php-pecl-rpminfo.spec')
-rw-r--r--php-pecl-rpminfo.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/php-pecl-rpminfo.spec b/php-pecl-rpminfo.spec
index 658d61e..6e5c383 100644
--- a/php-pecl-rpminfo.spec
+++ b/php-pecl-rpminfo.spec
@@ -22,13 +22,14 @@
Summary: RPM information
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: 1.2.0
-Release: 4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 5%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
License: PHP-3.01
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{sources}.tgz
Patch0: 0001-relax-test-for-RPM-5.patch
Patch1: 0001-RPMTAG_PKGID-and-RPMTAG_HDRID-removed-in-RPM-6.patch
+Patch2: 0003-use-RPMTAG_SIGMD5-instead-of-RPMTAG_PKGID-RPMTAG_SHA.patch
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
@@ -66,6 +67,7 @@ sed -e 's/role="test"/role="src"/' \
cd %{sources}
%patch -P0 -p1
%patch -P1 -p1
+%patch -P2 -p1
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_RPMINFO_VERSION/{s/.* "//;s/".*$//;p}' php_rpminfo.h)
@@ -190,6 +192,9 @@ TEST_PHP_ARGS="-n -d extension=%{buildroot}/%{php_ztsextdir}/%{pecl_name}.so" \
%changelog
+* Fri Jul 18 2025 Remi Collet <remi@remirepo.net> - 1.2.0-5
+- add more upstream patch for RPM 5.99.91
+
* Fri Jul 18 2025 Remi Collet <remi@remirepo.net> - 1.2.0-4
- add upstream patch for RPM 5.99.91