From 10a7ba129f164cf935c9fd669c83afed537f2e57 Mon Sep 17 00:00:00 2001 From: Igor Zhbanov Date: Fri, 29 Jul 2016 13:51:21 -0400 Subject: [PATCH] systemtap.spec: add systemd as BuildRequires & Requires if %{with_systemd} It should have both "Requires: systemd" and "BuildRequires: systemd". BuildRequires because it uses %{_unitdir} and %{_tmpfilesdir}, and Requires because of systemctl in %post. --- systemtap.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/systemtap.spec b/systemtap.spec index 84bf0417a..3d0a6eeeb 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -110,6 +110,9 @@ BuildRequires: sqlite-devel %if %{with_monitor} BuildRequires: json-c-devel ncurses-devel %endif +%if %{with_systemd} +BuildRequires: systemd +%endif # Needed for libstd++ < 4.0, without %if %{with_boost} BuildRequires: boost-devel @@ -190,6 +193,9 @@ BuildRequires: nss-devel avahi-devel %if %{with_openssl} Requires: openssl %endif +%if %{with_systemd} +Requires: systemd +%endif %description server This is the remote script compilation server component of systemtap. -- 2.43.5