From 60c39465e82d7b2d0104e34364c650f1e87243cc Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 09:59:45 +0100 Subject: [PATCH] update to 0.12.20160127 [release 0.12.20160127-1mamba;Wed Jan 27 2016] --- php-ssh2.spec | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/php-ssh2.spec b/php-ssh2.spec index 3e40248..b1c1309 100644 --- a/php-ssh2.spec +++ b/php-ssh2.spec @@ -1,14 +1,15 @@ %define php_majver %(php-config --version | cut -d. -f1-2) Name: php-ssh2 -Version: 0.12 -Release: 2mamba +Version: 0.12.20160127 +Release: 1mamba Summary: PHP bindings for the libssh2 library Group: Applications/Web Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://pecl.php.net/package/ssh2 -Source: http://pecl.php.net/get/ssh2-%{version}.tgz +Source: https://github.com/Sean-Der/pecl-networking-ssh2.git/php7/pecl-networking-ssh2-%{version}.tar.bz2 +#Source: http://pecl.php.net/get/ssh2-%{version}.tgz Patch0: php-ssh2-0.12-fix_crash_sftp_wordpress.patch License: PHP License ## AUTOBUILDREQ-BEGIN @@ -27,19 +28,16 @@ PHP bindings for the libssh2 library. %debug_package %prep -%setup -q -c %{name}-%{version} -cd ssh2-%{version} +%setup -q -n pecl-networking-ssh2-%{version} %patch0 -p1 %build -cd ssh2-%{version} phpize %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -cd ssh2-%{version} %makeinstall INSTALL_ROOT=%{buildroot} install -d -m0755 %{buildroot}%{_sysconfdir}/php/php.d @@ -67,9 +65,12 @@ fi %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/php/php.d/ssh2.ini %{_libdir}/php/extensions/ssh2.so -%doc ssh2-%{version}/LICENSE +%doc LICENSE %changelog +* Wed Jan 27 2016 Silvan Calarco 0.12.20160127-1mamba +- update to 0.12.20160127 + * Sat Feb 21 2015 Silvan Calarco 0.12-2mamba - path to fix crash with sftp/wordpress (https://bugs.launchpad.net/ubuntu/+source/php-ssh2/+bug/1407377)