[packages/php-pecl-runkit] support building for multiple php versions
glen
glen at pld-linux.org
Fri Jun 21 19:26:20 CEST 2013
commit bbf3f0d840a1e24ddd28cec7aec9e101576d6a56
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Jun 21 20:18:40 2013 +0300
support building for multiple php versions
php-pecl-runkit.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-runkit.spec b/php-pecl-runkit.spec
index e3182dc..de84abf 100644
--- a/php-pecl-runkit.spec
+++ b/php-pecl-runkit.spec
@@ -2,11 +2,12 @@
# Conditional build:
%bcond_without tests # build without tests
+%define php_name php%{?php_suffix}
%define modname runkit
%define status beta
Summary: %{modname} - mangle with user defined functions and classes
Summary(pl.UTF-8): %{modname} - obróbka zdefiniowanych przez użytkownika funkcji i klas
-Name: php-pecl-%{modname}
+Name: %{php_name}-pecl-%{modname}
Version: 0.9
Release: 5
License: PHP
@@ -20,8 +21,8 @@ Patch3: php53-zts.patch
Patch4: php53-refcount.patch
Patch5: php53-sapi_headers.patch
URL: http://pecl.php.net/package/runkit/
-BuildRequires: php-devel >= 4:5.3.2-5
-BuildRequires: rpmbuild(macros) >= 1.344
+BuildRequires: %{php_name}-devel >= 4:5.3.2-5
+BuildRequires: rpmbuild(macros) >= 1.650
%{?requires_php_extension}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-runkit.git/commitdiff/bbf3f0d840a1e24ddd28cec7aec9e101576d6a56
More information about the pld-cvs-commit
mailing list