Use %valgrind_arches for valgrind BR

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2019-09-21 09:38:45 +03:00
parent 55696283a8
commit 88e7a642c8
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
Name: gengetopt
Version: 2.23
Release: 1%{dist}
Release: 1.0.riscv64%{dist}
Summary: Tool to write command line option parsing code for C programs
License: GPLv3+
URL: http://www.gnu.org/software/gengetopt/
@ -8,7 +8,9 @@ Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
BuildRequires: gcc-c++
BuildRequires: gcc
%ifarch %{valgrind_arches}
BuildRequires: valgrind
%endif
BuildRequires: texinfo
Provides: bundled(gnulib)
@ -71,6 +73,9 @@ make check
%{_mandir}/man1/%{name}.1*
%changelog
* Sat Sep 21 2019 David Abdurachmanov <david.abdurachmanvo@sifive.com> - 2.23 -1.0.riscv64
- Use %%valgrind_arches macro for valgrind BR
* Mon Sep 9 2019 Mosaab Alzoubi <moceap[At]hotmail[Dot]com> - 2.23 -1
- Update to 2.23