Use %{valgrind_arches}

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-07-29 20:33:06 +02:00
parent 12419dc633
commit c93c293892
Signed by: davidlt
GPG Key ID: 7108702C938B13C1
1 changed files with 6 additions and 1 deletions

View File

@ -1,7 +1,7 @@
Summary: The ASN.1 library used in GNUTLS
Name: libtasn1
Version: 4.13
Release: 4%{?dist}
Release: 4.0.riscv64%{?dist}
# The libtasn1 library is LGPLv2+, utilities are GPLv3+
License: GPLv3+ and LGPLv2+
@ -15,7 +15,9 @@ BuildRequires: gnupg2
BuildRequires: gcc
BuildRequires: bison, pkgconfig, help2man
BuildRequires: autoconf, automake, libtool
%ifarch %{valgrind_arches}
BuildRequires: valgrind-devel
%endif
# Wildcard bundling exception https://fedorahosted.org/fpc/ticket/174
Provides: bundled(gnulib) = 20130324
@ -106,6 +108,9 @@ test "$1" = 0 -a -f %_infodir/%name.info.gz && \
%changelog
* Sun Jul 29 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> 4.13-4.0.riscv64
- Use %{valgrind_arches}
* Sat Jul 21 2018 Peter Robinson <pbrobinson@fedoraproject.org> 4.13-4
- Add missing gcc/gnupg2 deps, spec cleanups