summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-30 11:59:56 +0200
committerRemi Collet <remi@remirepo.net>2020-09-30 11:59:56 +0200
commit3ba4afc4dc3f8141859305912a56002cb74fd2a3 (patch)
tree1a345a2280d9bb6c8593310845c91b00524463e8
parentcc6ee5f4ee0f1cd632fd6f612c3df5205fd051e3 (diff)
rebuild for PHP 8.0.0RC1
-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