From 776c128b1397dad5aeecf8cb8d06549024d8c4a4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 2 Sep 2020 09:29:44 +0200 Subject: rebuild for PHP 8.0.0beta3 --- php-pecl-apcu.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/php-pecl-apcu.spec b/php-pecl-apcu.spec index 7a20853..a17ff5e 100644 --- a/php-pecl-apcu.spec +++ b/php-pecl-apcu.spec @@ -36,7 +36,7 @@ URL: https://pecl.php.net/package/APCu Release: 0.7.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{pecl_name}-%{version}-%{gh_short}.tar.gz %else -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;')}} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif Source1: %{pecl_name}-5.1.2.ini @@ -91,6 +91,9 @@ Obsoletes: php73w-pecl-%{pecl_name} <= %{version} Obsoletes: php74-pecl-%{pecl_name} <= %{version} Obsoletes: php74w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "8.0" +Obsoletes: php80-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -244,6 +247,10 @@ done %check +%if "%{php_version}" > "8.0" +rm ?TS/tests/not_enough_shm.phpt +%endif + cd NTS %{_bindir}/php -n \ -d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ @@ -325,6 +332,9 @@ fi %changelog +* Wed Sep 2 2020 Remi Collet - 5.1.18-4 +- rebuild for PHP 8.0.0beta3 + * Wed Aug 5 2020 Remi Collet - 5.1.18-3 - rebuild for 8.0.0beta1 - more upstream patches -- cgit