[packages/systemd] - tests require systemd already installed (at least /etc/machine-id)

qboosh qboosh at pld-linux.org
Fri Mar 29 14:25:42 CET 2013


commit 50ada2ab859cc3ebe3c205094f655ef7b12fda3e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Mar 29 14:25:53 2013 +0100

    - tests require systemd already installed (at least /etc/machine-id)

 systemd.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/systemd.spec b/systemd.spec
index 51295a6..4d3418f 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -9,7 +9,7 @@
 %bcond_without	qrencode	# QRencode support
 %bcond_without	selinux		# without SELinux support
 %bcond_without	tcpd		# libwrap (tcp_wrappers) support
-%bcond_without	tests
+%bcond_without	tests		# "make check" (requires systemd already installed)
 
 Summary:	A System and Service Manager
 Summary(pl.UTF-8):	systemd - zarządca systemu i usług dla Linuksa
@@ -92,6 +92,7 @@ BuildRequires:	python-modules
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.628
 BuildRequires:	sed >= 4.0
+%{?with_tests:BuildRequires:	systemd}
 BuildRequires:	usbutils >= 0.82
 BuildRequires:	xz-devel
 BuildRequires:	zlib-devel
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/50ada2ab859cc3ebe3c205094f655ef7b12fda3e



More information about the pld-cvs-commit mailing list