diff options
author | Remi Collet <remi@remirepo.net> | 2024-02-19 11:32:06 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-02-19 11:32:06 +0100 |
commit | ef0620d6b092485b96601daa79de34cc70363bce (patch) | |
tree | dee4e6ab5b287cf6ed1402f7b2446e25d0b8a832 | |
parent | da36624e5f41b3b5cf4a84eb2090a811c1e40af4 (diff) |
add upstream patch for 8.1
-rw-r--r-- | php-pecl-uopz.spec | 11 |
1 files 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 <remi@remirepo.net> - 7.1.1-6 +- add upstream patch for 8.1 + * Wed Aug 30 2023 Remi Collet <remi@remirepo.net> - 7.1.1-5 - rebuild for PHP 8.3.0RC1 |