From ef0620d6b092485b96601daa79de34cc70363bce Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 19 Feb 2024 11:32:06 +0100 Subject: add upstream patch for 8.1 --- php-pecl-uopz.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/php-pecl-uopz.spec b/php-pecl-uopz.spec index 1344e1a..5cd8100 100644 --- a/php-pecl-uopz.spec +++ b/php-pecl-uopz.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-uopz # -# Copyright (c) 2014-2023 Remi Collet +# Copyright (c) 2014-2024 Remi Collet # License: CC-BY-SA-4.0 # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -29,7 +29,7 @@ Summary: User Operations for Zend Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 7.1.1 -Release: 5%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Release: 6%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP-3.01 URL: https://pecl.php.net/package/%{pecl_name} %if 0%{?gh_commit:1} @@ -38,6 +38,8 @@ Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif +Patch0: %{pecl_name}-upstream.patch + BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 8.0 @@ -98,6 +100,8 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd %{sources} +%patch -P0 -p1 + # Sanity check, really often broken extver=$(sed -n '/#define PHP_UOPZ_VERSION/{s/.* "//;s/".*$//;p}' uopz.h) if test "x${extver}" != "x%{version}"; then @@ -245,6 +249,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Mon Feb 19 2024 Remi Collet - 7.1.1-6 +- add upstream patch for 8.1 + * Wed Aug 30 2023 Remi Collet - 7.1.1-5 - rebuild for PHP 8.3.0RC1 -- cgit