Properly check valgrind arches
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
f6cbd0b36e
commit
434d2841d6
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: 18%{?dist}
|
Release: 18.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: GPLv2 or LGPLv2+ or MPLv1.1
|
License: GPLv2 or LGPLv2+ or MPLv1.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 Oct 19 2022 David Abdurachmanov <davidlt@rivosinc.com> - 2.8.8-18.0.riscv64
|
||||||
|
- Properly check valgrind arches
|
||||||
|
|
||||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-18
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.8.8-18
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user