From a87d00d799e04249015b44696c17e975254461aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20=C5=A0imerda?= Date: Wed, 15 Feb 2012 14:44:20 +0100 Subject: [PATCH] Removed _unitdir macro from el6 branch --- strongswan.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strongswan.spec b/strongswan.spec index db1da3a..5f903c9 100644 --- a/strongswan.spec +++ b/strongswan.spec @@ -58,7 +58,7 @@ chmod 700 %{buildroot}%{_sysconfdir}/%{name} # setup systemd unit or initscript %if 0%{?fedora} >= 15 || 0%{?rhel} >= 7 %else -rm %{buildroot}%{_unitdir}/%{name}.service +rm %{buildroot}/lib/systemd/system/%{name}.service install -m 755 init/sysvinit/%{name} %{buildroot}/%{_initddir}/%{name} %endif