]> git.pld-linux.org Git - packages/openssl.git/commitdiff
keep -j1 for tests
authorJan Palus <atler@pld-linux.org>
Tue, 15 Mar 2022 22:10:09 +0000 (23:10 +0100)
committerJan Palus <atler@pld-linux.org>
Tue, 15 Mar 2022 22:10:09 +0000 (23:10 +0100)
openssl.spec

index 28e0c1eb2c462395c782abb2a1466428d8fb93cc..a61588e4dde1a5714d7b8c1db93ec9683bec6e52 100644 (file)
@@ -287,11 +287,18 @@ PERL="%{__perl}" \
 v=$(awk -F= '/^VERSION=/{print $2}' Makefile)
 test "$v" = %{version}
 
-%{__make} all %{?with_tests:tests} \
+%{__make} all \
        CC="%{__cc}" \
        OPTFLAGS="%{rpmcflags} %{rpmcppflags}" \
        INSTALLTOP=%{_prefix}
 
+%if %{with tests}
+%{__make} -j1 tests \
+       CC="%{__cc}" \
+       OPTFLAGS="%{rpmcflags} %{rpmcppflags}" \
+       INSTALLTOP=%{_prefix}
+%endif
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/%{name},%{_libdir}/%{name}} \
This page took 0.049214 seconds and 4 git commands to generate.