specfile: run make check (%check section) sooner, right after build
This commit is contained in:
parent
a1a8616fbe
commit
4d9a59f4ed
@ -122,6 +122,10 @@ git commit --all --amend --no-edit > /dev/null
|
|||||||
make %{?_smp_mflags} all
|
make %{?_smp_mflags} all
|
||||||
|
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_mandir}/man1 %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_mandir}/man1 %{buildroot}%{_bindir}
|
||||||
install -p -m 755 tcsh %{buildroot}%{_bindir}/tcsh
|
install -p -m 755 tcsh %{buildroot}%{_bindir}/tcsh
|
||||||
@ -154,10 +158,6 @@ uk ukrainian
|
|||||||
_EOF
|
_EOF
|
||||||
|
|
||||||
|
|
||||||
%check
|
|
||||||
make check
|
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# Add login shell entries to /etc/shells only when installing the package
|
# Add login shell entries to /etc/shells only when installing the package
|
||||||
# for the first time (see 'man 5 SHELLS' for more info):
|
# for the first time (see 'man 5 SHELLS' for more info):
|
||||||
|
Loading…
Reference in New Issue
Block a user