[packages/php-pecl-ssh2/AC-branch: 2/3] provide php(extname) to really be supporting multiple php versions

glen glen at pld-linux.org
Thu May 22 22:22:27 CEST 2014


commit 41d86001845c2a15248b591d65d3d50d25a837cf
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Nov 25 01:02:09 2013 +0200

    provide php(extname) to really be supporting multiple php versions

 php-pecl-ssh2.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/php-pecl-ssh2.spec b/php-pecl-ssh2.spec
index 3330dbf..34538de 100644
--- a/php-pecl-ssh2.spec
+++ b/php-pecl-ssh2.spec
@@ -13,11 +13,12 @@ Source0:	http://pecl.php.net/get/%{modname}-%{version}.tgz
 Patch0:		php-pecl-ssh2-libssh2.patch
 Patch1:		branch.diff
 URL:		http://pecl.php.net/package/ssh2/
+BuildRequires:	%{php_name}-devel >= 4:5.0.4
 BuildRequires:	libssh2-devel >= 0.16
 BuildRequires:	openssl-devel >= 0.9.7d
-BuildRequires:	%{php_name}-devel >= 4:5.0.4
 BuildRequires:	rpmbuild(macros) >= 1.650
 %{?requires_php_extension}
+Provides:	php(%{modname}) = %{version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-ssh2.git/commitdiff/97e3ed136a57ae31816a313f1ac9a5c8d2b94461



More information about the pld-cvs-commit mailing list