From f9d4a48425b47f8a6231fbc884a87d5dc47cff35 Mon Sep 17 00:00:00 2001 From: songnannan Date: Sat, 21 Mar 2020 20:03:38 +0800 Subject: [PATCH] bugfix about make check --- hunspell.spec | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/hunspell.spec b/hunspell.spec index 5bdcbd6..4833948 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -1,12 +1,12 @@ Name: hunspell Summary: A spell checker and morphological analyzer library Version: 1.7.0 -Release: 4 +Release: 5 URL: https://github.com/hunspell/hunspell Source: https://github.com/hunspell/hunspell/archive/%{name}-%{version}.tar.gz License: LGPLv2+ or GPLv2+ or MPLv1.1 BuildRequires: gcc-c++ autoconf automake libtool ncurses-devel gettext -BuildRequires: perl-generators words hunspell hunspell-devel +BuildRequires: perl-generators words hunspell hunspell-devel gdb %ifarch %{ix86} x86_64 BuildRequires: valgrind %endif @@ -39,24 +39,13 @@ configureflags="--disable-rpath --with-ui --with-readline" CFLAGS="${RPM_OPT_FLAGS} -fprofile-use"\ CXXFLAGS="${RPM_OPT_FLAGS} -fprofile-use" -head -n $((`cat /usr/share/dict/words | wc -l`/2)) /usr/share/dict/words |\ - sed '/\//d'> words - -%{profilegenerate} %configure $configureflags -%make_build -./src/tools/affixcompress words > /dev/null 2>&1 -./src/tools/hunspell -d words -l /usr/share/dict/words > /dev/null -make check -make distclean - -%{profileuse} %configure $configureflags +%configure $configureflags %make_build cd po && make %{?_smp_mflags} update-gmo && cd .. %check %ifarch %{ix86} x86_64 -VALGRIND=memcheck make check make check %endif @@ -94,6 +83,9 @@ cp -a %{_libdir}/libhunspell-1.6.so* %{buildroot}%{_libdir} %lang(hu) %{_mandir}/hu/man1/hunspell.1.gz %changelog +* Sat Mar 21 2020 songnannan - 1.7.0.5 +- bugfix about make check + * Sat Oct 19 2019 openEuler Buildteam - 1.7.0.4 - Type:bugfix - Id:NA