Fix systemd marco with initrc files
This commit is contained in:
parent
8afbfbdbd3
commit
62213d9b2b
2
pcp.spec
2
pcp.spec
@ -176,7 +176,7 @@ Obsoletes: pcp-pmda-nvidia
|
|||||||
%global _with_doc --with-docdir=%{_docdir}/%{name}
|
%global _with_doc --with-docdir=%{_docdir}/%{name}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{disable_systemd}
|
%if !%{disable_systemd}
|
||||||
%global _initddir %{_datadir}/pcp/lib
|
%global _initddir %{_datadir}/pcp/lib
|
||||||
%else
|
%else
|
||||||
%global _initddir %{_sysconfdir}/rc.d/init.d
|
%global _initddir %{_sysconfdir}/rc.d/init.d
|
||||||
|
Loading…
Reference in New Issue
Block a user