Don't use valgrind for RISC-V (riscv64) [not supported]

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2018-07-25 22:10:24 +02:00
parent 371a683fc5
commit 5dbb53f820
Signed by: davidlt
GPG Key ID: 7108702C938B13C1

View File

@ -6,7 +6,7 @@
Name: libmodulemd
Version: %{majorminorversion}%{?patchversion:.%{patchversion}}
Release: 2%{?dist}
Release: 2.0.riscv64%{?dist}
Summary: Module metadata manipulation library
License: MIT
@ -21,7 +21,9 @@ BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(yaml-0.1)
BuildRequires: pkgconfig(gtk-doc)
BuildRequires: python3-gobject-base
%ifarch %{valgrind_arches}
BuildRequires: valgrind
%endif
Obsoletes: python2-modulemd < 1.3.4
Obsoletes: python3-modulemd < 1.3.4
@ -57,7 +59,7 @@ Development files for libmodulemd.
export LC_CTYPE=C.utf8
%ifarch %{power64}
%ifarch %{power64} riscv64
# Valgrind is broken on ppc64[le] with GCC7:
# https://bugs.kde.org/show_bug.cgi?id=386945
export MMD_SKIP_VALGRIND=1
@ -93,6 +95,9 @@ export MMD_SKIP_VALGRIND=1
%{_datadir}/gtk-doc/html/modulemd-1.0/
%changelog
* Wed Jul 25 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 1.6.1-2.0.riscv64
- Don't use valgrind for RISC-V (riscv64) [not supported]
* Mon Jul 23 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.6.1-2
- Obsolete unsupported pythonX-modulemd packages