From 62213d9b2b06858abc5bff991036ee433fbc6754 Mon Sep 17 00:00:00 2001 From: Lukas Berk Date: Tue, 28 Jul 2015 20:05:05 -0400 Subject: [PATCH] Fix systemd marco with initrc files --- pcp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcp.spec b/pcp.spec index 16b5c51..94ac27b 100644 --- a/pcp.spec +++ b/pcp.spec @@ -176,7 +176,7 @@ Obsoletes: pcp-pmda-nvidia %global _with_doc --with-docdir=%{_docdir}/%{name} %endif -%if %{disable_systemd} +%if !%{disable_systemd} %global _initddir %{_datadir}/pcp/lib %else %global _initddir %{_sysconfdir}/rc.d/init.d