From f80ab1dc33166b61c8e5f4938b956003641f835d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 30 Sep 2020 11:25:31 +0200 Subject: rebuild for PHP 8.0.0RC1 --- php-pecl-ssh2.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/php-pecl-ssh2.spec b/php-pecl-ssh2.spec index 63787cf..7b7a486 100644 --- a/php-pecl-ssh2.spec +++ b/php-pecl-ssh2.spec @@ -29,10 +29,10 @@ Name: %{?sub_prefix}php-pecl-ssh2 Summary: Bindings for the libssh2 library Version: 1.2 %if 0%{?gh_date} -Release: 0.7.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.8.%{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}/%{gh_project}-%{version}%{?prever}-%{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: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif @@ -183,14 +183,14 @@ done %{__php} --no-php-ini \ --define extension_dir=%{buildroot}%{php_extdir} \ --define extension=%{pecl_name}.so \ - --modules | grep %{pecl_name} + --modules | grep '^%{pecl_name}$' %if %{with_zts} : Minimal load test for ZTS extension %{__ztsphp} --no-php-ini \ --define extension_dir=%{buildroot}%{php_ztsextdir} \ --define extension=%{pecl_name}.so \ - --modules | grep %{pecl_name} + --modules | grep '^%{pecl_name}$' %endif @@ -232,6 +232,9 @@ fi %changelog +* Wed Sep 30 2020 Remi Collet - 1.2-4 +- rebuild for PHP 8.0.0RC1 + * Thu Sep 10 2020 Remi Collet - 1.2-3 - add fix for PHP 8 from https://github.com/php/pecl-networking-ssh2/pull/42 -- cgit