summaryrefslogtreecommitdiffstats
path: root/php-pecl-rpminfo.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-pecl-rpminfo.spec')
-rw-r--r--php-pecl-rpminfo.spec9
1 files changed, 7 insertions, 2 deletions
diff --git a/php-pecl-rpminfo.spec b/php-pecl-rpminfo.spec
index 1808b08..658d61e 100644
--- a/php-pecl-rpminfo.spec
+++ b/php-pecl-rpminfo.spec
@@ -22,12 +22,13 @@
Summary: RPM information
Name: %{?scl_prefix}php-pecl-%{pecl_name}
Version: 1.2.0
-Release: 3%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}
+Release: 4%{?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
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
@@ -64,6 +65,7 @@ sed -e 's/role="test"/role="src"/' \
cd %{sources}
%patch -P0 -p1
+%patch -P1 -p1
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_RPMINFO_VERSION/{s/.* "//;s/".*$//;p}' php_rpminfo.h)
@@ -188,8 +190,11 @@ 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-4
+- add upstream patch for RPM 5.99.91
+
* Thu May 22 2025 Remi Collet <remi@remirepo.net> - 1.2.0-3
-- add upstream patch to relax test for RPM 5
+- add upstream patch to relax test for RPM 5.99.90
* Thu Dec 19 2024 Remi Collet <remi@remirepo.net> - 1.2.0-1
- update to 1.2.0