[packages/sphinx] - ac/am stuff is to ancient here for tools to regeneracte it properly - rel 2
baggins
baggins at pld-linux.org
Sun Mar 11 01:08:10 CET 2018
commit 853d62cb3144cddd025547bfc7e75dd5bbd4b4c6
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Mar 11 01:07:36 2018 +0100
- ac/am stuff is to ancient here for tools to regeneracte it properly
- rel 2
sphinx.spec | 17 ++++++-----------
1 file changed, 6 insertions(+), 11 deletions(-)
---
diff --git a/sphinx.spec b/sphinx.spec
index af36156..c45118f 100644
--- a/sphinx.spec
+++ b/sphinx.spec
@@ -17,7 +17,7 @@ Summary: Free open-source SQL full-text search engine
Summary(pl.UTF-8): Silnik przeszukiwania pełnotekstowego SQL open-source
Name: sphinx
Version: 2.2.11
-Release: 1
+Release: 2
License: GPL v2, LGPL (API libraries)
Group: Applications/Databases
Source0: http://www.sphinxsearch.com/files/%{name}-%{version}-release.tar.gz
@@ -165,11 +165,9 @@ API Pythona dla Sphinksa.
%prep
%setup -q -n %{name}-%{version}-release
%patch0 -p1
-%patch1 -p1
+#patch1 -p1
%patch2 -p1
-sed -i -e 's#AM_MAINTAINER_MODE#AM_MAINTAINER_MODE\nAM_PROG_AR#' configure.ac
-
sed -i -e '
s#/var/run/#/var/run/sphinx/#
s#@CONFDIR@/log/searchd.pid#/var/run/sphinx/searchd.pid#
@@ -177,9 +175,11 @@ sed -i -e '
s#@CONFDIR@/data/#/var/lib/sphinx/#g
' sphinx*.conf.in
+sed -i -e '
+ s#libdirs="/usr/lib/x86_64-linux-gnu /usr/lib64 /usr/local/lib64 /usr/lib/i386-linux-gnu /usr/lib /usr/local/lib"#libdirs="/usr/libx32 /usr/lib64 /usr/lib"#
+' configure
+
%build
-%{__aclocal}
-%{__autoconf}
CPPFLAGS=-D_FILE_OFFSET_BITS=64
%configure \
--with%{!?with_libstemmer:out}-libstemmer \
@@ -193,11 +193,6 @@ cp -pf sphinx-min.conf.dist sphinx-min.conf
# libsphinxclient
cd api/libsphinxclient
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__autoheader}
-%{__automake}
CPPFLAGS=-D_FILE_OFFSET_BITS=64
%configure
%{__make} -j1
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sphinx.git/commitdiff/853d62cb3144cddd025547bfc7e75dd5bbd4b4c6
More information about the pld-cvs-commit
mailing list