]> git.pld-linux.org Git - packages/php-xcache.git/commitdiff
add php_suffix support auto/ti/php-xcache-3.0.1-1
authorElan Ruusamäe <glen@delfi.ee>
Thu, 24 Jan 2013 10:00:17 +0000 (12:00 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 24 Jan 2013 10:00:17 +0000 (12:00 +0200)
php-xcache.spec

index b4d7effcd21975de9a66a13cd1fa012d9f9bdfb5..a3c6be32ff01fb262298c16b69e26fb790f5daa2 100644 (file)
@@ -1,9 +1,10 @@
 # TODO
 # - verify %lang codes
+%define                php_name        php%{?php_suffix}
 %define                modname xcache
 Summary:       %{modname} - PHP opcode cacher
 Summary(pl.UTF-8):     %{modname} - buforowanie opcodów PHP
-Name:          php-%{modname}
+Name:          %{php_name}-%{modname}
 Version:       3.0.1
 Release:       1
 License:       BSD
@@ -14,7 +15,7 @@ Source0:      http://xcache.lighttpd.net/pub/Releases/%{version}/xcache-%{version}.ta
 Source1:       %{modname}-apache.conf
 Source2:       %{modname}-lighttpd.conf
 Patch0:                config.patch
-BuildRequires: php-devel >= 4:5.2.17-8
+BuildRequires: %{php_name}-devel >= 4:5.2.17-8
 BuildRequires: rpmbuild(macros) >= 1.344
 BuildRequires: sed >= 4.0
 %{?requires_zend_extension}
This page took 0.048282 seconds and 4 git commands to generate.