[packages/php-pecl-ssh2] support building for multiple php versions
glen
glen at pld-linux.org
Fri Jun 21 19:26:57 CEST 2013
commit 47fc9518e9910730544bb5dc67a407578b11e6b8
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Jun 21 20:18:41 2013 +0300
support building for multiple php versions
php-pecl-ssh2.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-ssh2.spec b/php-pecl-ssh2.spec
index 34567d1..f8c93bc 100644
--- a/php-pecl-ssh2.spec
+++ b/php-pecl-ssh2.spec
@@ -1,8 +1,9 @@
+%define php_name php%{?php_suffix}
%define modname ssh2
%define status beta
Summary: %{modname} - bindings for the libssh2 library
Summary(pl.UTF-8): %{modname} - dowiązania do biblioteki libssh2
-Name: php-pecl-%{modname}
+Name: %{php_name}-pecl-%{modname}
Version: 0.12
Release: 1
License: PHP
@@ -13,8 +14,8 @@ Patch0: branch.diff
URL: http://pecl.php.net/package/ssh2/
BuildRequires: libssh2-devel >= 1.2.9
BuildRequires: openssl-devel >= 0.9.7d
-BuildRequires: php-devel >= 4:5.0.4
-BuildRequires: rpmbuild(macros) >= 1.344
+BuildRequires: %{php_name}-devel >= 4:5.0.4
+BuildRequires: rpmbuild(macros) >= 1.650
%{?requires_php_extension}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-ssh2.git/commitdiff/47fc9518e9910730544bb5dc67a407578b11e6b8
More information about the pld-cvs-commit
mailing list