]> git.pld-linux.org Git - packages/php-pecl-xslcache.git/commitdiff
support building for multiple php versions
authorElan Ruusamäe <glen@delfi.ee>
Fri, 21 Jun 2013 17:18:42 +0000 (20:18 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 21 Jun 2013 17:18:42 +0000 (20:18 +0300)
php-pecl-xslcache.spec

index bf83a1e219a2777257703e256738b711127ce342..bc1d3a56ade0c79b8d4cc8818bb004e12ea78f6f 100644 (file)
@@ -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)
This page took 0.151681 seconds and 4 git commands to generate.