summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-apcu.spec11
1 files changed, 9 insertions, 2 deletions
diff --git a/php-pecl-apcu.spec b/php-pecl-apcu.spec
index 5811a36..b64b8a0 100644
--- a/php-pecl-apcu.spec
+++ b/php-pecl-apcu.spec
@@ -31,10 +31,10 @@ Name: %{?sub_prefix}php-pecl-apcu
Summary: APC User Cache
Version: 5.1.17
%if 0%{?gh_date:1}
-Release: 0.5.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 0.6.%{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: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz
%endif
Source1: %{pecl_name}-5.1.2.ini
@@ -242,6 +242,10 @@ done
%check
+%if "%{php_version}" > "7.4"
+rm ?TS/tests/apc_entry_003.phpt
+%endif
+
cd NTS
%{_bindir}/php -n \
-d extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
@@ -323,6 +327,9 @@ fi
%changelog
+* Tue Jul 23 2019 Remi Collet <remi@remirepo.net> - 5.1.17-4
+- rebuild for 7.4.0beta1
+
* Wed May 29 2019 Remi Collet <remi@remirepo.net> - 5.1.17-3
- rebuild