[packages/procps] enable systemd

glen glen at pld-linux.org
Wed Jun 3 20:51:04 CEST 2015


commit 5a3a7f4cb451b38a448776c35bcc991cafc5b5b6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Jun 3 21:50:56 2015 +0300

    enable systemd

 procps.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/procps.spec b/procps.spec
index 6eafa9e..aaa8c36 100644
--- a/procps.spec
+++ b/procps.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without	systemd		# systemd support
+
 Summary:	Utilities for monitoring your system and processes on your system
 Summary(de.UTF-8):	Utilities zum Ueberwachen Ihres Systems und der Prozesse
 Summary(es.UTF-8):	Utilitarios de monitoración de procesos
@@ -29,6 +33,7 @@ BuildRequires:	ncurses-devel >= 5.1
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.402
 BuildRequires:	sed >= 4.0
+%{?with_systemd:BuildRequires:	systemd-devel >= 1:206}
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 Requires(post):	/sbin/ldconfig
@@ -139,6 +144,7 @@ Statyczna wersja biblioteki libproc.
 %{__automake}
 %configure \
 	--disable-silent-rules \
+	%{?with_systemd:--enable-systemd} \
 	--disable-pidof \
 	--enable-oomem \
 	--enable-sigwinch \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/procps.git/commitdiff/5a3a7f4cb451b38a448776c35bcc991cafc5b5b6



More information about the pld-cvs-commit mailing list