summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-07-25 18:19:33 +0200
committerRemi Collet <fedora@famillecollet.com>2016-07-25 18:19:33 +0200
commitad115b35f586e3b7c360a32566ff7050c76a735e (patch)
treeba1fed393891ab4ad56328ac277b6aef55e2f4d7
parentf7e5800764bff24a33d186911b373c8cea3e2bfe (diff)
php-pecl-apcu-bc: re-enable ZTS build with PHP 7.1
-rw-r--r--php-pecl-apcu-bc.spec9
1 files changed, 4 insertions, 5 deletions
diff --git a/php-pecl-apcu-bc.spec b/php-pecl-apcu-bc.spec
index cecd964..31c86d5 100644
--- a/php-pecl-apcu-bc.spec
+++ b/php-pecl-apcu-bc.spec
@@ -22,11 +22,7 @@
%global pecl_name apcu-bc
%global ext_name apc
%global apcver %(%{_bindir}/php -r 'echo (phpversion("apcu")?:0);' 2>/dev/null || echo 65536)
-%if "%{php_version}" > "7.1"
-%global with_zts 0
-%else
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
-%endif
# After 40-apcu.ini
%global ini_name 50-%{ext_name}.ini
@@ -37,7 +33,7 @@ Version: 1.0.3
Release: 0.1.%{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}/%{proj_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: http://pecl.php.net/get/%{proj_name}-%{version}.tgz
%endif
@@ -238,6 +234,9 @@ fi
%changelog
+* Mon Jul 25 2016 Remi Collet <remi@fedoraproject.org> - 1.0.3-4
+- re-enable ZTS build with PHP 7.1
+
* Sat Jul 23 2016 Remi Collet <remi@fedoraproject.org> - 1.0.3-3
- disable ZTS build with PHP 7.1