From fd408ed2a5d1da9aa2f8a74799645f798fe8bbb0 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Sep 15 2012 11:48:13 +0000 Subject: to run tests use --with check --- diff --git a/openssh.spec b/openssh.spec index 3218a40..82f140f 100644 --- a/openssh.spec +++ b/openssh.spec @@ -596,6 +596,12 @@ popd fipshmac -d $RPM_BUILD_ROOT%{_libdir}/fipscheck $RPM_BUILD_ROOT%{_bindir}/ssh $RPM_BUILD_ROOT%{_sbindir}/sshd \ %{nil} +%check +#to run tests use "--with check" +%if %{?_with_check:1}%{!?_with_check:0} +make tests +%endif + %install rm -rf $RPM_BUILD_ROOT mkdir -p -m755 $RPM_BUILD_ROOT%{_sysconfdir}/ssh