[packages/systemd] - run tests

arekm arekm at pld-linux.org
Tue Mar 26 21:30:59 CET 2013


commit 2a54abb38c75fb9bccd9df91d79f232153600bc5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Mar 26 21:30:56 2013 +0100

    - run tests

 systemd.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/systemd.spec b/systemd.spec
index 760fc8c..9c27d6c 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -9,6 +9,7 @@
 %bcond_without	qrencode	# QRencode support
 %bcond_without	selinux		# without SELinux support
 %bcond_without	tcpd		# libwrap (tcp_wrappers) support
+%bcond_without	tests
 
 Summary:	A System and Service Manager
 Summary(pl.UTF-8):	systemd - zarządca systemu i usług dla Linuksa
@@ -610,6 +611,8 @@ cp -p %{SOURCE2} src/systemd_booted.c
 %{__make} -j1
 ./libtool --mode=link --tag=CC %{__cc} %{rpmcppflags} %{rpmcflags} -o systemd_booted %{rpmldflags} src/systemd_booted.c -L. -lsystemd-daemon
 
+%{?with_tests:%{__make} check}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/var/lib/%{name}/coredump \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/2a54abb38c75fb9bccd9df91d79f232153600bc5



More information about the pld-cvs-commit mailing list