summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--php-pecl-yac.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/php-pecl-yac.spec b/php-pecl-yac.spec
index c42c72b..1b4ca33 100644
--- a/php-pecl-yac.spec
+++ b/php-pecl-yac.spec
@@ -32,10 +32,10 @@ Version: 2.2.1
License: PHP
URL: https://pecl.php.net/package/%{pecl_name}
%if 0%{?gh_date:1}
-Release: 0.12.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 0.13.%{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: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz
%endif
@@ -212,7 +212,7 @@ OPTS="-n"
: Minimal load test for NTS extension
%{_bindir}/php $OPTS \
--define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
- --modules | grep %{pecl_name}
+ --modules | grep '^%{pecl_name}$'
%if %{with_tests}
: Upstream test suite for NTS extension
@@ -231,7 +231,7 @@ cd ../ZTS
: Minimal load test for ZTS extension
%{__ztsphp} $OPTS \
--define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
- --modules | grep %{pecl_name}
+ --modules | grep '^%{pecl_name}$'
%if %{with_tests}
: Upstream test suite for ZTS extension
@@ -281,6 +281,9 @@ fi
%changelog
+* Wed Sep 30 2020 Remi Collet <remi@remirepo.net> - 2.2.1-3
+- rebuild for PHP 8.0.0RC1
+
* Wed Sep 23 2020 Remi Collet <remi@remirepo.net> - 2.2.1-2
- add patch for PHP 8 from
https://github.com/laruence/yac/pull/115