commit 7086930496ecf0ea65239952dc01ff2dcca9daf3
Author: Elan Ruusamäe <g...@delfi.ee>
Date:   Fri Jun 21 20:18:42 2013 +0300

    support building for multiple php versions

 php-pecl-xslcache.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-xslcache.spec b/php-pecl-xslcache.spec
index bf83a1e..bc1d3a5 100644
--- a/php-pecl-xslcache.spec
+++ b/php-pecl-xslcache.spec
@@ -1,7 +1,8 @@
+%define                php_name        php%{?php_suffix}
 %define                modname xslcache
 Summary:       %{modname} - A modification of PHP's standard XSL extension 
that caches the parsed XSL stylesheet representation
 Summary(pl.UTF-8):     %{modname} - modyfikacja standardowego rozszerzenia XSL 
PHP, które buforuje przetworzone reprezentacje arkuszów stylów XSL
-Name:          php-pecl-%{modname}
+Name:          %{php_name}-pecl-%{modname}
 Version:       0.7.1
 Release:       5
 License:       PHP 3.01
@@ -10,8 +11,8 @@ Source0:      
http://pecl.php.net/get/%{modname}-%{version}.tgz
 # Source0-md5: 1e32327f62122055ece6f78fa2b851b2
 URL:           http://pecl.php.net/package/xslcache
 BuildRequires: libxslt-devel >= 1.1.0
-BuildRequires: php-devel >= 3:5.0.0
-BuildRequires: rpmbuild(macros) >= 1.519
+BuildRequires: %{php_name}-devel >= 3:5.0.0
+BuildRequires: rpmbuild(macros) >= 1.650
 %{?requires_php_extension}
 Requires:      php(core) >= 5.0.4
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-xslcache.git/commitdiff/7086930496ecf0ea65239952dc01ff2dcca9daf3

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to