From 835408ca0522f4a256ace3cef7419382b9b5a9e8 Mon Sep 17 00:00:00 2001 From: whoisxxx Date: Fri, 29 May 2020 15:34:57 +0800 Subject: [PATCH] Valgrind buildrequire should be adapted to arch --- libtasn1.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libtasn1.spec b/libtasn1.spec index da7087f..501fad6 100644 --- a/libtasn1.spec +++ b/libtasn1.spec @@ -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 - 4.13-7 +- Valgrind support specific arches + * Fri Mar 20 2020 wangye - 4.13-7 - Fix CVE-2018-1000654 -- Gitee