Removed _unitdir macro from el6 branch
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user