!2 The buildrequire "valgrind " is arch-specific
Merge pull request !2 from whoisxxx/master
This commit is contained in:
commit
24f604341d
@ -1,11 +1,14 @@
|
|||||||
Name: xapian-core
|
Name: xapian-core
|
||||||
Version: 1.4.9
|
Version: 1.4.9
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: An Open Source Probabilistic Information Retrieval Library
|
Summary: An Open Source Probabilistic Information Retrieval Library
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.xapian.org/
|
URL: http://www.xapian.org/
|
||||||
Source0: http://www.oligarchy.co.uk/xapian/%{version}/%{name}-%{version}.tar.xz
|
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}
|
Provides: %{name}-libs = %{version}-%{release}
|
||||||
Obsoletes: %{name}-libs < %{version}-%{release}
|
Obsoletes: %{name}-libs < %{version}-%{release}
|
||||||
|
|
||||||
@ -80,5 +83,8 @@ rm -rf %{buildroot}%{_datadir}/doc/%{name}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 26 2020 whoisxxx <zhangxuzhou4@huawei.com> - 1.4.9-3
|
||||||
|
- Judge arch before use valgrind
|
||||||
|
|
||||||
* Thu Dec 12 2019 likexin <likexin4@huawei.com> - 1.4.9-2
|
* Thu Dec 12 2019 likexin <likexin4@huawei.com> - 1.4.9-2
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user