commit cee87a45a83d43a1b18cef61f1553d6aa3a1d99d
Author: Jan Palus <[email protected]>
Date:   Tue Mar 15 23:10:09 2022 +0100

    keep -j1 for tests

 openssl.spec | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/openssl.spec b/openssl.spec
index 28e0c1e..a61588e 100644
--- a/openssl.spec
+++ b/openssl.spec
@@ -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}} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openssl.git/commitdiff/cee87a45a83d43a1b18cef61f1553d6aa3a1d99d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to