to run tests use --with check
This commit is contained in:
parent
e58e548a57
commit
fd408ed2a5
@ -596,6 +596,12 @@ popd
|
|||||||
fipshmac -d $RPM_BUILD_ROOT%{_libdir}/fipscheck $RPM_BUILD_ROOT%{_bindir}/ssh $RPM_BUILD_ROOT%{_sbindir}/sshd \
|
fipshmac -d $RPM_BUILD_ROOT%{_libdir}/fipscheck $RPM_BUILD_ROOT%{_bindir}/ssh $RPM_BUILD_ROOT%{_sbindir}/sshd \
|
||||||
%{nil}
|
%{nil}
|
||||||
|
|
||||||
|
%check
|
||||||
|
#to run tests use "--with check"
|
||||||
|
%if %{?_with_check:1}%{!?_with_check:0}
|
||||||
|
make tests
|
||||||
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
mkdir -p -m755 $RPM_BUILD_ROOT%{_sysconfdir}/ssh
|
mkdir -p -m755 $RPM_BUILD_ROOT%{_sysconfdir}/ssh
|
||||||
|
Loading…
Reference in New Issue
Block a user