[packages/php-pecl-apcu] update to build with different php variants
glen
glen at pld-linux.org
Fri Nov 22 09:09:53 CET 2013
commit f4d04e1d3406e76177b521ae566c88a3d7c7e81b
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Nov 22 10:09:50 2013 +0200
update to build with different php variants
php-pecl-apcu.spec | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/php-pecl-apcu.spec b/php-pecl-apcu.spec
index 46c734e..f490d95 100644
--- a/php-pecl-apcu.spec
+++ b/php-pecl-apcu.spec
@@ -1,7 +1,7 @@
+%define php_name php%{?php_suffix}
%define modname apcu
-%define status beta
Summary: APCu - APC User Cache
-Name: php-pecl-%{modname}
+Name: %{php_name}-pecl-%{modname}
Version: 4.0.2
Release: 2
License: PHP 3.01
@@ -10,8 +10,8 @@ Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz
# Source0-md5: c8a5c246b787eec81847017823099884
Source1: %{modname}.ini
URL: http://pecl.php.net/package/APCu/
-BuildRequires: php-devel >= 4:5.1.0
-BuildRequires: rpmbuild(macros) >= 1.580
+BuildRequires: %{php_name}-devel >= 4:5.1.0
+BuildRequires: rpmbuild(macros) >= 1.666
%{?requires_php_extension}
Requires: php(core) >= 5.1.0
Provides: php(apcu) = %{version}
@@ -29,8 +29,6 @@ possibly even distributed solutions; this would be a grave error. The
tried and tested APC codebase provides far superior support for local
storage of PHP variables.
-In PECL status of this package is: %{status}.
-
%prep
%setup -qc
mv %{modname}-%{version}/* .
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-apcu.git/commitdiff/f4d04e1d3406e76177b521ae566c88a3d7c7e81b
More information about the pld-cvs-commit
mailing list