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
|
# setup systemd unit or initscript
|
||||||
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
|
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
|
||||||
%else
|
%else
|
||||||
rm %{buildroot}%{_unitdir}/%{name}.service
|
rm %{buildroot}/lib/systemd/system/%{name}.service
|
||||||
install -m 755 init/sysvinit/%{name} %{buildroot}/%{_initddir}/%{name}
|
install -m 755 init/sysvinit/%{name} %{buildroot}/%{_initddir}/%{name}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user