diff --git a/xapian-core.spec b/xapian-core.spec index 231e9cd6bc5fa2fd3018d14c7825eb49fb0baf1f..4a8bc1335ac66fbf056e7158bd9168c9b8095165 100644 --- a/xapian-core.spec +++ b/xapian-core.spec @@ -1,11 +1,14 @@ Name: xapian-core Version: 1.4.9 -Release: 2 +Release: 3 Summary: An Open Source Probabilistic Information Retrieval Library License: GPLv2+ URL: http://www.xapian.org/ Source0: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.xz -BuildRequires: gcc-c++ libuuid-devel zlib-devel valgrind-devel +BuildRequires: gcc-c++ libuuid-devel zlib-devel +%ifarch %{valgrind_arches} +BuildRequires: valgrind-devel +%endif Provides: %{name}-libs = %{version}-%{release} Obsoletes: %{name}-libs < %{version}-%{release} @@ -80,5 +83,8 @@ rm -rf %{buildroot}%{_datadir}/doc/%{name} %changelog +* Wed Aug 26 2020 whoisxxx - 1.4.9-3 +- Judge arch before use valgrind + * Thu Dec 12 2019 likexin - 1.4.9-2 - package init