summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-02 09:29:44 +0200
committerRemi Collet <remi@remirepo.net>2020-09-02 09:29:44 +0200
commit776c128b1397dad5aeecf8cb8d06549024d8c4a4 (patch)
treed57df06100be4e67a84fb268563156e62a5bbba5
parentbb53924b74420f6f283e1361df6ee4c5bb238ff0 (diff)
rebuild for PHP 8.0.0beta3
-rw-r--r--php-pecl-apcu.spec12
1 files changed, 11 insertions, 1 deletions
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 <remi@remirepo.net> - 5.1.18-4
+- rebuild for PHP 8.0.0beta3
+
* Wed Aug 5 2020 Remi Collet <remi@remirepo.net> - 5.1.18-3
- rebuild for 8.0.0beta1
- more upstream patches