[packages/php-xcache] add php_suffix support
glen
glen at pld-linux.org
Thu Jan 24 11:00:28 CET 2013
commit 56da28d4d2dcd78f5ad88a13b98a409b3df2031f
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Jan 24 12:00:17 2013 +0200
add php_suffix support
php-xcache.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/php-xcache.spec b/php-xcache.spec
index b4d7eff..a3c6be3 100644
--- a/php-xcache.spec
+++ b/php-xcache.spec
@@ -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}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-xcache.git/commitdiff/56da28d4d2dcd78f5ad88a13b98a409b3df2031f
More information about the pld-cvs-commit
mailing list