From 7c2e3e3c3e38229780cfabb0674bca1a3fa2047c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 28 Jul 2021 13:53:34 +0200 Subject: update to 7.0.0 raise dependency on PHP 8.0 --- php-pecl-uopz.spec | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'php-pecl-uopz.spec') diff --git a/php-pecl-uopz.spec b/php-pecl-uopz.spec index c540c3f..be69d70 100644 --- a/php-pecl-uopz.spec +++ b/php-pecl-uopz.spec @@ -23,8 +23,8 @@ Summary: User Operations for Zend Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 6.1.2 -Release: 4%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} +Version: 7.0.0 +Release: 1%{?dist}%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')} License: PHP URL: https://pecl.php.net/package/%{pecl_name} %if 0%{?gh_commit:1} @@ -33,11 +33,9 @@ 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}-php8.patch - BuildRequires: make BuildRequires: %{?dtsprefix}gcc -BuildRequires: %{?scl_prefix}php-devel > 7.1 +BuildRequires: %{?scl_prefix}php-devel >= 8.0 BuildRequires: %{?scl_prefix}php-pear Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} @@ -56,14 +54,11 @@ Conflicts: %{?scl_prefix}php-pecl-xdebug < 2.9.4 %if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} # Other third party repo stuff -%if "%{php_version}" > "7.3" Obsoletes: php73-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.4" Obsoletes: php74-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "8.0" Obsoletes: php80-pecl-%{pecl_name} <= %{version} +%if "%{php_version}" > "8.1" +Obsoletes: php81-pecl-%{pecl_name} <= %{version} %endif %endif @@ -113,8 +108,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -%patch0 -p1 -b .up - # Sanity check, really often broken extver=$(sed -n '/#define PHP_UOPZ_VERSION/{s/.* "//;s/".*$//;p}' uopz.h) if test "x${extver}" != "x%{version}"; then @@ -250,6 +243,10 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Wed Jul 28 2021 Remi Collet - 7.0.0-1 +- update to 7.0.0 +- raise dependency on PHP 8.0 + * Tue Jun 30 2020 Remi Collet - 6.1.2-4 - add upstream patches for PHP 8 -- cgit