run tests in check

This commit is contained in:
Caolan McNamara 2009-07-22 14:24:26 +00:00
parent 596c20f79c
commit 004d1cff2d

View File

@ -1,7 +1,7 @@
Name: hunspell Name: hunspell
Summary: A spell checker and morphological analyzer library Summary: A spell checker and morphological analyzer library
Version: 1.2.8 Version: 1.2.8
Release: 9%{?dist} Release: 10%{?dist}
Source0: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz Source0: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz
Source1: http://people.debian.org/~agmartin/misc/ispellaff2myspell Source1: http://people.debian.org/~agmartin/misc/ispellaff2myspell
Source2: http://people.redhat.com/caolanm/hunspell/wordlist2hunspell Source2: http://people.redhat.com/caolanm/hunspell/wordlist2hunspell
@ -57,9 +57,15 @@ for i in AUTHORS.myspell; do
touch -r $i $i.new touch -r $i $i.new
mv -f $i.new $i mv -f $i.new $i
fi fi
tr -d '\r' < $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
done done
make %{?_smp_mflags} make %{?_smp_mflags}
%check
make -C tests check-TESTS
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install
@ -117,6 +123,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/hunspell.3.gz %{_mandir}/man3/hunspell.3.gz
%changelog %changelog
* Wed Jul 22 2009 Caolan McNamara <caolanm@redhat.com> - 1.2.8-10
- run tests in check
* Thu Jul 09 2009 Caolan McNamara <caolanm@redhat.com> - 1.2.8-9 * Thu Jul 09 2009 Caolan McNamara <caolanm@redhat.com> - 1.2.8-9
- Resolves: rhbz#510360 unowned dirs - Resolves: rhbz#510360 unowned dirs
- fix up rpmlint warnings - fix up rpmlint warnings