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
|
||||
Summary: A text hyphenation library
|
||||
Version: 2.8.8
|
||||
Release: 21%{?dist}
|
||||
Release: 21.0.riscv64%{?dist}
|
||||
Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz
|
||||
URL: http://hunspell.sf.net
|
||||
License: GPL-2.0-only OR LGPL-2.1-or-later OR MPL-1.1
|
||||
BuildRequires: perl-interpreter, patch, autoconf, automake, libtool
|
||||
# s390 lacks valgrind support
|
||||
# no working valgrind built for MIPS yet
|
||||
# tests with valgrind fail on arm
|
||||
# tests with valgrind fail on ppc64le
|
||||
%ifnarch s390 %{arm} %{mips} ppc64le
|
||||
%ifarch %{valgrind_arches}
|
||||
BuildRequires: valgrind
|
||||
%endif
|
||||
BuildRequires: make
|
||||
@ -42,7 +38,7 @@ make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make check
|
||||
%ifnarch s390 %{arm} %{mips} ppc64le
|
||||
%ifarch %{valgrind_arches}
|
||||
VALGRIND=memcheck make check
|
||||
%endif
|
||||
|
||||
@ -75,6 +71,9 @@ popd
|
||||
%{_bindir}/substrings.pl
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user