diff --git a/open-lldp.changes b/open-lldp.changes index 77e2eb9..e2d2b21 100644 --- a/open-lldp.changes +++ b/open-lldp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 21 15:12:45 UTC 2014 - jsegitz@novell.com + +- added necessary macros for systemd files + ------------------------------------------------------------------- Wed May 14 09:09:11 CEST 2014 - hare@suse.de diff --git a/open-lldp.spec b/open-lldp.spec index a2256cb..b51c000 100644 --- a/open-lldp.spec +++ b/open-lldp.spec @@ -96,11 +96,15 @@ ln -s service %{buildroot}%{_sbindir}/rclldpad %{fillup_and_insserv -n -i lldpad} %service_add_post lldpad.service +%pre +%service_add_pre lldpad.service + %preun %service_del_preun lldpad.service %postun %{insserv_cleanup lldpad} +%service_del_postun lldpad.service %post -n %libname -p /sbin/ldconfig