!3 disable valgrind test

From: @panxh_purple
Reviewed-by: @miao_kaibo
Signed-off-by: @miao_kaibo
This commit is contained in:
openeuler-ci-bot 2021-06-11 09:12:34 +00:00 committed by Gitee
commit 6273fa8af7

View File

@ -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 <panxiaohe@huawei.com> - 2.8.8-14
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:disable valgrind test
* Mon Dec 23 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.8.8-13
- Type:NA
- ID:NA