Properly check valgrind arches
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
333318a5db
commit
89c03fae82
13
hyphen.spec
13
hyphen.spec
@ -1,16 +1,12 @@
|
|||||||
Name: hyphen
|
Name: hyphen
|
||||||
Summary: A text hyphenation library
|
Summary: A text hyphenation library
|
||||||
Version: 2.8.8
|
Version: 2.8.8
|
||||||
Release: 21%{?dist}
|
Release: 21.0.riscv64%{?dist}
|
||||||
Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
|
Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
|
||||||
URL: http://hunspell.sf.net
|
URL: http://hunspell.sf.net
|
||||||
License: GPL-2.0-only OR LGPL-2.1-or-later OR MPL-1.1
|
License: GPL-2.0-only OR LGPL-2.1-or-later OR MPL-1.1
|
||||||
BuildRequires: perl-interpreter, patch, autoconf, automake, libtool
|
BuildRequires: perl-interpreter, patch, autoconf, automake, libtool
|
||||||
# s390 lacks valgrind support
|
%ifarch %{valgrind_arches}
|
||||||
# no working valgrind built for MIPS yet
|
|
||||||
# tests with valgrind fail on arm
|
|
||||||
# tests with valgrind fail on ppc64le
|
|
||||||
%ifnarch s390 %{arm} %{mips} ppc64le
|
|
||||||
BuildRequires: valgrind
|
BuildRequires: valgrind
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
@ -42,7 +38,7 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
make check
|
make check
|
||||||
%ifnarch s390 %{arm} %{mips} ppc64le
|
%ifarch %{valgrind_arches}
|
||||||
VALGRIND=memcheck make check
|
VALGRIND=memcheck make check
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -75,6 +71,9 @@ popd
|
|||||||
%{_bindir}/substrings.pl
|
%{_bindir}/substrings.pl
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Dec 13 2023 David Abdurachmanov <davidlt@rivosinc.com> - 2.8.8-21.0.riscv64
|
||||||
|
- Properly check valgrind arches
|
||||||
|
|
||||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-21
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-21
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user