diff options
author | Remi Collet <remi@remirepo.net> | 2019-09-18 11:29:26 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2019-09-18 11:29:26 +0200 |
commit | 6e4b4e941feae33dbd31e32d710fc24beff69ab2 (patch) | |
tree | 5307757616747356eb20a4422420b8135d40b687 /php-pecl-ssh2.spec | |
parent | a78200bf21a35ddb40c85c0f2edbfb680bdef673 (diff) |
v1.2
Diffstat (limited to 'php-pecl-ssh2.spec')
-rw-r--r-- | php-pecl-ssh2.spec | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/php-pecl-ssh2.spec b/php-pecl-ssh2.spec index ea959cf..287b8f4 100644 --- a/php-pecl-ssh2.spec +++ b/php-pecl-ssh2.spec @@ -25,12 +25,12 @@ %global ini_name 40-%{pecl_name}.ini Name: %{?sub_prefix}php-pecl-ssh2 -Version: 1.1.2 +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;')}} Source0: https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}%{?prever}-%{gh_short}.tar.gz %else -Release: 6%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?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 @@ -40,9 +40,6 @@ Summary: Bindings for the libssh2 library License: PHP URL: http://pecl.php.net/package/%{pecl_name} -Patch0: https://github.com/php/pecl-networking-ssh2/commit/a8835aab2c15e794fce13bd927295719e384ad2d.patch -Patch1: https://github.com/php/pecl-networking-ssh2/commit/073067ba96ac99ed5696d27f13ca6c8124986e74.patch - BuildRequires: libssh2-devel >= 1.2 BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel > 7 @@ -67,13 +64,9 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele Obsoletes: php53-pecl-%{pecl_name} <= %{version} Obsoletes: php53u-pecl-%{pecl_name} <= %{version} Obsoletes: php54-pecl-%{pecl_name} <= %{version} -Obsoletes: php54w-pecl-%{pecl_name} <= %{version} Obsoletes: php55u-pecl-%{pecl_name} <= %{version} Obsoletes: php55w-pecl-%{pecl_name} <= %{version} Obsoletes: php56u-pecl-%{pecl_name} <= %{version} -Obsoletes: php56w-pecl-%{pecl_name} <= %{version} -Obsoletes: php70u-pecl-%{pecl_name} <= %{version} -Obsoletes: php70w-pecl-%{pecl_name} <= %{version} %if "%{php_version}" > "7.1" Obsoletes: php71u-pecl-%{pecl_name} <= %{version} Obsoletes: php71w-pecl-%{pecl_name} <= %{version} @@ -130,9 +123,6 @@ sed -e 's/role="test"/role="src"/' \ -i package.xml cd NTS -%patch0 -p1 -b .up0 -%patch1 -p1 -b .up1 - extver=$(sed -n '/#define PHP_SSH2_VERSION/{s/.*\t"//;s/".*$//;p}' php_ssh2.h) if test "x${extver}" != "x%{version}%{?gh_date:-dev}"; then : Error: Upstream version is now ${extver}, expecting %{version}%{?gh_date:-dev}. @@ -245,6 +235,9 @@ fi %changelog +* Wed Sep 18 2019 Remi Collet <remi@remirepo.net> - 1.2-1 +- update to 1.2 + * Tue Sep 03 2019 Remi Collet <remi@remirepo.net> - 1.1.2-6 - rebuild for 7.4.0RC1 |