SPECS: sphinx.spec - Bcond without pgsql added - Added missing R: ...
beorn
beorn at pld-linux.org
Fri Mar 16 09:15:29 CET 2007
Author: beorn Date: Fri Mar 16 08:15:29 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- Bcond without pgsql added
- Added missing R: and BR:
---- Files affected:
SPECS:
sphinx.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/sphinx.spec
diff -u SPECS/sphinx.spec:1.4 SPECS/sphinx.spec:1.5
--- SPECS/sphinx.spec:1.4 Thu Mar 15 19:19:37 2007
+++ SPECS/sphinx.spec Fri Mar 16 09:15:24 2007
@@ -1,8 +1,10 @@
# $Revision$, $Date$
# TODO
# - packages for PHP/Python API
+%bcond_without pgsql # without pgsql support
+#
%define _rc rc2
-%define _rel 0.3
+%define _rel 0.3
Summary: Free open-source SQL full-text search engine
Summary(pl.UTF-8): Silnik przeszukiwania pełnotekstowego SQL open-source
Name: sphinx
@@ -17,6 +19,13 @@
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: mysql-devel
+%if %{with_pgsql}
+BuildRequires: postgresql-devel
+%endif
+Requires: mysql-libs
+%if %{with_pgsql}
+Requires: postgresql-libs
+%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -47,8 +56,8 @@
%{__automake}
CPPFLAGS=-D_FILE_OFFSET_BITS=64
%configure \
- --with-mysql \
- --with-pgsql
+ %{?with_pgsql:--with-pgsql} \
+ --with-mysql
%{__make}
%install
@@ -77,6 +86,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2007/03/16 08:15:24 beorn
+- Bcond without pgsql added
+- Added missing R: and BR:
+
Revision 1.4 2007/03/15 18:19:37 glen
-- with-pgsql (not tested)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/sphinx.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list