From 4fa01c20ccd388bda71cba7114d191ae552c1212 Mon Sep 17 00:00:00 2001 From: whoisxxx Date: Wed, 26 Aug 2020 15:43:06 +0800 Subject: [PATCH 1/2] valgrind is arch-related --- xapian-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xapian-core.spec b/xapian-core.spec index 231e9cd..e935e5d 100644 --- a/xapian-core.spec +++ b/xapian-core.spec @@ -5,7 +5,10 @@ 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} -- Gitee From f091d6746b76740bbf5449493bd5954847f44203 Mon Sep 17 00:00:00 2001 From: whoisxxx Date: Wed, 26 Aug 2020 15:57:54 +0800 Subject: [PATCH 2/2] Update changelog --- xapian-core.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/xapian-core.spec b/xapian-core.spec index e935e5d..4a8bc13 100644 --- a/xapian-core.spec +++ b/xapian-core.spec @@ -1,6 +1,6 @@ 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/ @@ -83,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 -- Gitee