diff --git a/sphinx.spec b/sphinx.spec index bd682e1..a20eb30 100644 --- a/sphinx.spec +++ b/sphinx.spec @@ -4,7 +4,7 @@ Name: sphinx Version: 2.0.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Free open-source SQL full-text search engine Group: Applications/Text @@ -121,7 +121,12 @@ done %build +%if %{__isa_bits} == 64 +%configure --sysconfdir=%{_sysconfdir}/sphinx --with-mysql --with-pgsql --enable-id64 +%else %configure --sysconfdir=%{_sysconfdir}/sphinx --with-mysql --with-pgsql +%endif + make %{?_smp_mflags} # Build libsphinxclient @@ -293,6 +298,9 @@ chown -R %{sphinx_user}:root %{_localstatedir}/lib/sphinx/ %{_datadir}/php/* %changelog +* Fri Jul 26 2013 Christof Damian - 2.0.8-2 +- --enable-id64 flag for 64-bit builds + * Sat May 11 2013 Christof Damian - 2.0.8-1 - upstream 2.0.8