commit 0796c9825a6b328670875f6f0fd6061854e44c0e
Author: Elan Ruusamäe <[email protected]>
Date: Fri Jun 21 20:18:41 2013 +0300
support building for multiple php versions
php-pecl-wbxml.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-wbxml.spec b/php-pecl-wbxml.spec
index c5f0831..5eafd4c 100644
--- a/php-pecl-wbxml.spec
+++ b/php-pecl-wbxml.spec
@@ -2,11 +2,12 @@
# TODO:
# - compare with php-wbxml.spec
#
+%define php_name php%{?php_suffix}
%define modname wbxml
%define status stable
Summary: WBXML to XML conversion
Summary(pl.UTF-8): Konwersja WBXML do XML
-Name: php-pecl-%{modname}
+Name: %{php_name}-pecl-%{modname}
Version: 1.0.3
Release: 5
License: PHP
@@ -17,8 +18,8 @@ Patch0:
wbxml-1.0.2-format_not_a_string_literal_and_no_format_arguments.diff
Patch1: wbxml-1.0.3-expat_fix.diff
URL: http://pecl.php.net/package/wbxml/
BuildRequires: libwbxml-devel
-BuildRequires: php-devel >= 4:5.0.4
-BuildRequires: rpmbuild(macros) >= 1.344
+BuildRequires: %{php_name}-devel >= 4:5.0.4
+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-wbxml.git/commitdiff/0796c9825a6b328670875f6f0fd6061854e44c0e
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit