[projects/template-specs] - no single-line bcond for make test call, so it's easier to enhance
qboosh
qboosh at pld-linux.org
Sat Jun 13 21:03:33 CEST 2026
commit 2c748d1e775c7c069cb8ae852f611945596068f3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jun 13 21:03:56 2026 +0200
- no single-line bcond for make test call, so it's easier to enhance
perl.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/perl.spec b/perl.spec
index 20b64f9..7ec6111 100644
--- a/perl.spec
+++ b/perl.spec
@@ -76,7 +76,9 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# CC="%{__cxx}" \
# OPTIMIZE="%{rpmcflags}"
-%{?with_tests:%{__make} test}
+%if %{with tests}
+%{__make} test
+%endif
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/2c748d1e775c7c069cb8ae852f611945596068f3
More information about the pld-cvs-commit
mailing list