Use unitdir macro when creating directory for systemd units
This commit is contained in:
parent
b12af13fa2
commit
cafeeebf5e
@ -82,7 +82,7 @@ install -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/mrtg.conf
|
||||
%endif
|
||||
|
||||
# install systemd files
|
||||
mkdir -p $RPM_BUILD_ROOT/lib/systemd/system
|
||||
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
|
||||
install -p -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_unitdir}/mrtg.service
|
||||
install -p -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{_unitdir}/mrtg.timer
|
||||
|
||||
@ -138,6 +138,7 @@ fi
|
||||
%changelog
|
||||
* Thu Mar 01 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.4-1
|
||||
- Update to mrtg-2.17.4
|
||||
- Use unitdir macro when creating directory for systemd units
|
||||
|
||||
* Mon Jan 09 2012 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.17.3-2
|
||||
- Fix 'undefined subroutine &SNMP_Session::inet_ntop called at
|
||||
|
Loading…
Reference in New Issue
Block a user