specfile: run make check (%check section) sooner, right after build

This commit is contained in:
David Kaspar [Dee'Kej] 2016-09-02 13:42:34 +02:00
parent a1a8616fbe
commit 4d9a59f4ed
1 changed files with 4 additions and 4 deletions

View File

@ -122,6 +122,10 @@ git commit --all --amend --no-edit > /dev/null
make %{?_smp_mflags} all
%check
make check
%install
mkdir -p %{buildroot}%{_mandir}/man1 %{buildroot}%{_bindir}
install -p -m 755 tcsh %{buildroot}%{_bindir}/tcsh
@ -154,10 +158,6 @@ uk ukrainian
_EOF
%check
make check
%post
# Add login shell entries to /etc/shells only when installing the package
# for the first time (see 'man 5 SHELLS' for more info):