[packages/php-pecl-sphinx] support building for multiple php versions
glen
glen at pld-linux.org
Fri Jun 21 19:26:47 CEST 2013
commit 247e9a3f5a5e6d6d640b6aacc93017d29f8b9d49
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Jun 21 20:18:41 2013 +0300
support building for multiple php versions
php-pecl-sphinx.spec | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/php-pecl-sphinx.spec b/php-pecl-sphinx.spec
index c36ae30..c6f627e 100644
--- a/php-pecl-sphinx.spec
+++ b/php-pecl-sphinx.spec
@@ -1,6 +1,7 @@
+%define php_name php%{?php_suffix}
%define modname sphinx
Summary: %{modname} - client for sphinx SQL full-text search engine
-Name: php-pecl-%{modname}
+Name: %{php_name}-pecl-%{modname}
Version: 1.2.0
Release: 2
License: PHP 3.01
@@ -9,8 +10,8 @@ Source0: http://pecl.php.net/get/%{modname}-%{version}.tgz
# Source0-md5: 74e23a18f8cea31d64735f2cf5a3115c
URL: http://pecl.php.net/package/sphinx/
BuildRequires: libsphinxclient-devel
-BuildRequires: php-devel >= 4:5.0.4
-BuildRequires: rpmbuild(macros) >= 1.519
+BuildRequires: %{php_name}-devel >= 4:5.0.4
+BuildRequires: rpmbuild(macros) >= 1.650
%{?requires_php_extension}
Provides: php(sphinx)
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-pecl-sphinx.git/commitdiff/247e9a3f5a5e6d6d640b6aacc93017d29f8b9d49
More information about the pld-cvs-commit
mailing list