!3 The buildrequire "valgrind " is arch-specific

Merge pull request !3 from whoisxxx/master
This commit is contained in:
openeuler-ci-bot 2020-05-29 16:32:06 +08:00 committed by Gitee
commit 3a5886094c

View File

@ -1,7 +1,7 @@
Summary: Libtasn1 is a ASN.1 parsing library
Name: libtasn1
Version: 4.13
Release: 7
Release: 8
# The libtasn1 library is LGPLv2+, utilities are GPLv3+
License: GPLv3+ and LGPLv2+
@ -11,7 +11,10 @@ Source1: http://ftp.gnu.org/gnu/libtasn1/%name-%version.tar.gz.sig
Patch0000: CVE-2018-1000654.spec
BuildRequires: gcc, autoconf, automake, libtool, gnupg2, bison, pkgconfig, help2man, valgrind-devel
BuildRequires: gcc, autoconf, automake, libtool, gnupg2, bison, pkgconfig, help2man
%ifarch %{valgrind_arches}
BuildRequires: valgrind-devel
%endif
Provides: bundled(gnulib) = 20130324
Provides: %{name}-tools = %{version}-%{release}
Obsoletes: %{name}-tools < %{version}-%{release}
@ -80,6 +83,9 @@ test "$1" = 0 -a -f %_infodir/%name.info.gz && \
%{_infodir}/*.info.*
%changelog
* Fri Mar 29 2020 whoisxxx <zhangxuzhou4@huawei.com> - 4.13-7
- Valgrind support specific arches
* Fri Mar 20 2020 wangye <wangye54@huawei.com> - 4.13-7
- Fix CVE-2018-1000654