Properly check valgrind arches
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
d43ca27069
commit
f3b8ca94d3
|
@ -1,6 +1,6 @@
|
|||
# valgrind finds invalid writes in libcmocka on arm and power
|
||||
# see bug #1699304 for more information
|
||||
%ifarch %{arm} ppc64le
|
||||
%ifarch %{valgrind_arches}
|
||||
%global run_valgrind_tests OFF
|
||||
%else
|
||||
%global run_valgrind_tests ON
|
||||
|
@ -23,7 +23,9 @@ BuildRequires: gcc
|
|||
BuildRequires: cmake(cmocka) >= 1.0.0
|
||||
BuildRequires: make
|
||||
BuildRequires: pkgconfig(libpcre2-8) >= 10.21
|
||||
%ifarch %{valgrind_arches}
|
||||
BuildRequires: valgrind
|
||||
%endif
|
||||
|
||||
Conflicts: %{name} < 1.0.225-3
|
||||
|
||||
|
@ -106,6 +108,9 @@ cp -a doc/html %{buildroot}/%{_docdir}/libyang/html
|
|||
%{_docdir}/libyang
|
||||
|
||||
%changelog
|
||||
* Tue Jan 09 2024 David Abdurachmanov <davidlt@rivosinc.com> - 2.1.80-2.0.riscv64
|
||||
- Properly check valgrind arches
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.80-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue