packages: sphinx/sphinx.spec - php deps

glen glen at pld-linux.org
Tue Mar 30 22:58:57 CEST 2010


Author: glen                         Date: Tue Mar 30 20:58:57 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- php deps

---- Files affected:
packages/sphinx:
   sphinx.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: packages/sphinx/sphinx.spec
diff -u packages/sphinx/sphinx.spec:1.20 packages/sphinx/sphinx.spec:1.21
--- packages/sphinx/sphinx.spec:1.20	Tue Mar 30 21:57:05 2010
+++ packages/sphinx/sphinx.spec	Tue Mar 30 22:58:52 2010
@@ -15,6 +15,8 @@
 %endif
 
 %{?with_java:%include	/usr/lib/rpm/macros.java}
+%include	/usr/lib/rpm/macros.php
+%define		php_min_version 5.0.4
 Summary:	Free open-source SQL full-text search engine
 Summary(pl.UTF-8):	Silnik przeszukiwania pełnotekstowego SQL open-source
 Name:		sphinx
@@ -36,6 +38,7 @@
 %{?with_mysql:BuildRequires:	mysql-devel}
 %{?with_pgsql:BuildRequires:	postgresql-devel}
 BuildRequires:	rpm-javaprov
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
 BuildRequires:	rpmbuild(macros) >= 1.461
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -107,7 +110,8 @@
 Summary:	PHP API for Sphinx
 Summary(pl.UTF-8):	API PHP dla Sphinksa
 Group:		Libraries
-Requires:	php-common >= 4:5.0.4
+Requires:	php-common >= 4:%{php_min_version}
+Requires:	php-mbstring
 
 %description -n php-sphinx
 PHP API for Sphinx.
@@ -249,6 +253,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2010/03/30 20:58:52  glen
+- php deps
+
 Revision 1.20  2010/03/30 19:57:05  glen
 - disable java where java-sun is not available; rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/sphinx/sphinx.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list