]> git.pld-linux.org Git - packages/php-pecl-apcu.git/commitdiff
update to build with different php variants
authorElan Ruusamäe <glen@delfi.ee>
Fri, 22 Nov 2013 08:09:50 +0000 (10:09 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 22 Nov 2013 08:09:50 +0000 (10:09 +0200)
php-pecl-apcu.spec

index 46c734eb83de29f61aedefb6d948ec5b1fccddbb..f490d95eb8d5ac6516ef205f525f5ee6c63bdecd 100644 (file)
@@ -1,7 +1,7 @@
+%define                php_name        php%{?php_suffix}
 %define                modname apcu
 %define                modname apcu
-%define                status          beta
 Summary:       APCu - APC User Cache
 Summary:       APCu - APC User Cache
-Name:          php-pecl-%{modname}
+Name:          %{php_name}-pecl-%{modname}
 Version:       4.0.2
 Release:       2
 License:       PHP 3.01
 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/
 # 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}
 %{?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.
 
 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}/* .
 %prep
 %setup -qc
 mv %{modname}-%{version}/* .
This page took 0.066959 seconds and 4 git commands to generate.