[packages/openssl] keep -j1 for tests
atler
atler at pld-linux.org
Tue Mar 15 23:10:38 CET 2022
commit cee87a45a83d43a1b18cef61f1553d6aa3a1d99d
Author: Jan Palus <atler at pld-linux.org>
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
More information about the pld-cvs-commit
mailing list