From ad115b35f586e3b7c360a32566ff7050c76a735e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 25 Jul 2016 18:19:33 +0200 Subject: php-pecl-apcu-bc: re-enable ZTS build with PHP 7.1 --- php-pecl-apcu-bc.spec | 9 ++++----- 1 file 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 - 1.0.3-4 +- re-enable ZTS build with PHP 7.1 + * Sat Jul 23 2016 Remi Collet - 1.0.3-3 - disable ZTS build with PHP 7.1 -- cgit