From 46c1e88f038371159beb9014c0005d824d9ec05b Mon Sep 17 00:00:00 2001 From: panxiaohe Date: Fri, 11 Jun 2021 14:51:23 +0800 Subject: [PATCH] disable valgrind test --- hyphen.spec | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/hyphen.spec b/hyphen.spec index e49ecf1..1414279 100644 --- a/hyphen.spec +++ b/hyphen.spec @@ -1,6 +1,6 @@ Name: hyphen Version: 2.8.8 -Release: 13 +Release: 14 Summary: A library of text hyphenation Group: System Environment/Libraries License: GPLv2 or LGPLv2+ or MPLv1.1 @@ -8,9 +8,12 @@ URL: http://hunspell.github.io Source0: http://downloads.sourceforge.net/hunspell/%{name}-%{version}.tar.gz BuildRequires: perl-interpreter, patch, autoconf, automake, libtool + +%if %{with valgrind} %ifarch x86_64 %{x86} BuildRequires: valgrind %endif +%endif %description Hyphen is a library for high quality text hyphenation and justification. @@ -43,9 +46,11 @@ cd .. %check make check +%if %{with valgrind} %ifarch x86_64 %{x86} VALGRIND=memcheck make check %endif +%endif %ldconfig_scriptlets @@ -64,6 +69,12 @@ VALGRIND=memcheck make check %{_datadir}/%{name}/hyph_en*.dic %changelog +* Fri Jun 11 2021 panxiaohe - 2.8.8-14 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:disable valgrind test + * Mon Dec 23 2019 openEuler Buildteam - 2.8.8-13 - Type:NA - ID:NA