From f1df93279d8ae366fd31913a286cc6ed3a76e188 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 6 Sep 2019 14:01:47 +0300 Subject: [PATCH] add patch from alpine to build for php 7.3/7.4 - https://github.com/alpinelinux/aports/pull/6226 - https://github.com/alpinelinux/aports/commit/c2a8a93cc1e328aca81df7e284aceeacb23c78f5 - https://github.com/php/pecl-networking-ssh2/pull/35 - https://github.com/php/pecl-networking-ssh2/pull/36 --- php-pecl-ssh2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/php-pecl-ssh2.spec b/php-pecl-ssh2.spec index 392b539..932804f 100644 --- a/php-pecl-ssh2.spec +++ b/php-pecl-ssh2.spec @@ -4,11 +4,13 @@ Summary: %{modname} - bindings for the libssh2 library Summary(pl.UTF-8): %{modname} - dowiązania do biblioteki libssh2 Name: %{php_name}-pecl-%{modname} Version: 1.1.2 -Release: 1 +Release: 2 License: PHP Group: Development/Languages/PHP Source0: https://pecl.php.net/get/%{modname}-%{version}.tgz # Source0-md5: 0bb1b02ae6d1d1a86134959e9b45ae69 +Patch0: https://raw.githubusercontent.com/alpinelinux/aports/c2a8a93cc1e328aca81df7e284aceeacb23c78f5/community/php7-pecl-ssh2/fix-php-7x.patch +# Patch0-md5: 806cf16dd2fe4727f1922b4f30de9df0 URL: https://pecl.php.net/package/ssh2 BuildRequires: %{php_name}-devel >= 4:7.0.0 BuildRequires: libssh2-devel >= 1.2.9 @@ -30,6 +32,7 @@ implementującej protokół SSH2. %prep %setup -qc mv %{modname}-%{version}/* . +%patch0 -p1 %build phpize -- 2.44.0