[packages/php-pecl-svn] support building for multiple php versions
glen
glen at pld-linux.org
Fri Jun 21 19:27:11 CEST 2013
commit a270f9dcb72277b08a6a3b1df182525a248239e9
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-svn.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-svn.spec b/php-pecl-svn.spec
index c7858ab..474885c 100644
--- a/php-pecl-svn.spec
+++ b/php-pecl-svn.spec
@@ -1,8 +1,9 @@
+%define php_name php%{?php_suffix}
%define modname svn
%define status stable
Summary: PHP Bindings for the Subversion Revision control system
Summary(pl.UTF-8): Dowiązania PHP do systemou kontroli rewizji Subversion
-Name: php-pecl-%{modname}
+Name: %{php_name}-pecl-%{modname}
Version: 1.0.2
Release: 3
License: PHP 3.01
@@ -10,9 +11,9 @@ Group: Development/Languages/PHP
Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz
# Source0-md5: 45407d43f1055eb72e149d1862f3daa1
URL: http://pecl.php.net/package/svn/
-BuildRequires: php-devel >= 3:5.0.0
+BuildRequires: %{php_name}-devel >= 3:5.0.0
BuildRequires: re2c >= 0.12.0
-BuildRequires: rpmbuild(macros) >= 1.344
+BuildRequires: rpmbuild(macros) >= 1.650
BuildRequires: subversion-devel >= 1.3
%{?requires_php_extension}
Requires: php(core) >= 5.0.4
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-svn.git/commitdiff/a270f9dcb72277b08a6a3b1df182525a248239e9
More information about the pld-cvs-commit
mailing list