do not use clucene in epel builds
This commit is contained in:
parent
0ea14145bd
commit
932bd5a357
@ -36,7 +36,6 @@ BuildRequires: postgresql-devel
|
|||||||
BuildRequires: mysql-devel
|
BuildRequires: mysql-devel
|
||||||
BuildRequires: openldap-devel
|
BuildRequires: openldap-devel
|
||||||
BuildRequires: krb5-devel
|
BuildRequires: krb5-devel
|
||||||
BuildRequires: clucene-core-devel
|
|
||||||
|
|
||||||
# gettext-devel is needed for running autoconf because of the
|
# gettext-devel is needed for running autoconf because of the
|
||||||
# presence of AM_ICONV
|
# presence of AM_ICONV
|
||||||
@ -57,6 +56,11 @@ Requires(preun): chkconfig initscripts
|
|||||||
Requires(postun): initscripts
|
Requires(postun): initscripts
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{?fedora}0 > 150 || %{?rhel}0 >60
|
||||||
|
#clucene in fedora <=15 and rhel<=6 is too old
|
||||||
|
BuildRequires: clucene-core-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%define ssldir %{_sysconfdir}/pki/%{name}
|
%define ssldir %{_sysconfdir}/pki/%{name}
|
||||||
|
|
||||||
%if %{?fedora}00%{?rhel} < 6
|
%if %{?fedora}00%{?rhel} < 6
|
||||||
@ -132,7 +136,9 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|||||||
--with-sqlite \
|
--with-sqlite \
|
||||||
--with-zlib \
|
--with-zlib \
|
||||||
--with-libcap \
|
--with-libcap \
|
||||||
|
%if %{?fedora}0 > 150 || %{?rhel}0 >60
|
||||||
--with-lucene \
|
--with-lucene \
|
||||||
|
%endif
|
||||||
--with-ssl=openssl \
|
--with-ssl=openssl \
|
||||||
--with-ssldir=%{ssldir} \
|
--with-ssldir=%{ssldir} \
|
||||||
--with-solr \
|
--with-solr \
|
||||||
|
Loading…
Reference in New Issue
Block a user