From 89c03fae82978573259a993afda06b2d5ec2f80c Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 13 Dec 2023 15:33:02 +0200 Subject: [PATCH] Properly check valgrind arches Signed-off-by: David Abdurachmanov --- hyphen.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/hyphen.spec b/hyphen.spec index 69928a3..b23ca67 100644 --- a/hyphen.spec +++ b/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 - 2.8.8-21.0.riscv64 +- Properly check valgrind arches + * Thu Jul 20 2023 Fedora Release Engineering - 2.8.8-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild