Use %valgrind_arches for valgrind BR
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
parent
55696283a8
commit
88e7a642c8
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user