diff options
-rw-r--r-- | php-pecl-ssh2.spec | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/php-pecl-ssh2.spec b/php-pecl-ssh2.spec index c520958..5eeb69a 100644 --- a/php-pecl-ssh2.spec +++ b/php-pecl-ssh2.spec @@ -27,10 +27,10 @@ Name: %{?sub_prefix}php-pecl-ssh2 Version: 1.1.2 %if 0%{?gh_date} -Release: 0.3.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.4.%{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: 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: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz %endif Summary: Bindings for the libssh2 library @@ -82,6 +82,10 @@ Obsoletes: php71w-pecl-%{pecl_name} <= %{version} Obsoletes: php72u-pecl-%{pecl_name} <= %{version} Obsoletes: php72w-pecl-%{pecl_name} <= %{version} %endif +%if "%{php_version}" > "7.3" +Obsoletes: php73u-pecl-%{pecl_name} <= %{version} +Obsoletes: php73w-pecl-%{pecl_name} <= %{version} +%endif %endif %if 0%{?fedora} < 20 && 0%{?rhel} < 7 @@ -237,6 +241,9 @@ fi %changelog +* Wed Jul 18 2018 Remi Collet <remi@remirepo.net> - 1.1.2-3 +- rebuild for 7.3.0alpha4 new ABI + * Thu Jun 28 2018 Remi Collet <remi@remirepo.net> - 1.1.2-2 - add upstream patches for 7.3 |