+%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
# 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)