From 5ecc83206a3649c8cb1db39496cf87ddb47a241a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 20 Jul 2022 07:40:19 +0200 Subject: add upstream patch for 8.2.0beta1 --- php-pecl-zip.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-pecl-zip.spec') diff --git a/php-pecl-zip.spec b/php-pecl-zip.spec index 67d7a82..eb81092 100644 --- a/php-pecl-zip.spec +++ b/php-pecl-zip.spec @@ -40,13 +40,15 @@ Summary: A ZIP archive management extension Name: %{?scl_prefix}php-pecl-zip Version: %{upstream_version}%{?upstream_prever:~%{upstream_lower}} -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 4%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Languages URL: https://pecl.php.net/package/zip Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz +Patch0: %{pecl_name}-upstream.patch + BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel @@ -142,6 +144,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS +%patch0 -p1 + # Sanity check, really often broken extver=$(sed -n '/#define PHP_ZIP_VERSION/{s/.* "//;s/".*$//;p}' php7/php_zip.h) if test "x${extver}" != "x%{upstream_version}%{?upstream_prever}" -a "x${extver}" != "x%{upstream_version}-%{?upstream_prever}"; then @@ -279,6 +283,9 @@ fi %changelog +* Wed Jul 21 2022 Remi Collet - 1.21.0-4 +- add upstream patch for 8.2.0beta1 + * Wed Jun 29 2022 Remi Collet - 1.21.0-3 - require minimal libzip version - rebuild using libzip5 on EL-7 -- cgit