[packages/php-pecl-mnogosearch] support building for multiple php versions
glen
glen at pld-linux.org
Fri Jun 21 19:24:16 CEST 2013
commit a195014dbd038964ac457c2991e687fe894351a1
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Jun 21 20:18:39 2013 +0300
support building for multiple php versions
php-pecl-mnogosearch.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-mnogosearch.spec b/php-pecl-mnogosearch.spec
index feeb516..9b54585 100644
--- a/php-pecl-mnogosearch.spec
+++ b/php-pecl-mnogosearch.spec
@@ -1,8 +1,9 @@
+%define php_name php%{?php_suffix}
%define modname mnogosearch
%define status alpha
Summary: %{modname} - mnoGoSearch extension module for PHP
Summary(pl.UTF-8): %{modname} - moduł mnoGoSearch dla PHP
-Name: php-pecl-%{modname}
+Name: %{php_name}-pecl-%{modname}
# extension has no version yet (defiend as NO_VERSION_YET), keep it last pecl release
Version: 1.0.0
Release: 6
@@ -12,8 +13,8 @@ Source0: http://www.mnogosearch.org/Download/mnogosearch-3.3.9.tar.gz
# Source0-md5: 18d3e6c6cca3f816d05d04bd3943ed6a
URL: http://pecl.php.net/package/mnogosearch/
BuildRequires: mnogosearch-devel
-BuildRequires: php-devel >= 3:5.0.0
-BuildRequires: rpmbuild(macros) >= 1.344
+BuildRequires: %{php_name}-devel >= 3:5.0.0
+BuildRequires: rpmbuild(macros) >= 1.650
%{?requires_php_extension}
Requires: php(core) >= 5.0.4
Provides: php-mnogosearch = %{version}-%{release}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-mnogosearch.git/commitdiff/a195014dbd038964ac457c2991e687fe894351a1
More information about the pld-cvs-commit
mailing list