diff --git a/xapian-core.spec b/xapian-core.spec index 6e1e816..c1cdbcf 100644 --- a/xapian-core.spec +++ b/xapian-core.spec @@ -1,6 +1,6 @@ Name: xapian-core Version: 1.2.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: The Xapian Probabilistic Information Retrieval Library Group: Applications/Databases @@ -44,7 +44,12 @@ files needed for building packages which use Xapian %setup -q %build +# Disable SSE on x86, but leave it intact for x86_64 +%ifarch x86_64 +%configure --disable-static +%else %configure --disable-static --disable-sse +%endif # Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool @@ -103,6 +108,9 @@ rm -rf %{buildroot} %{_mandir}/man1/xapian-config.1* %changelog +* Thu Aug 5 2010 Adel Gadllah - 1.2.2-5 +- Reenable SSE on x86_64 + * Thu Aug 5 2010 Peter Robinson - 1.2.2-4 - Disable SSE instructions by default