[tor/f18] Cleanup systemd macros
Jamie Nguyen
jamielinux at fedoraproject.org
Mon Mar 4 23:13:45 UTC 2013
commit 8835dc977eab2391aa259b3b509465e9840bf914
Author: Jamie Nguyen <j at jamielinux.com>
Date: Mon Mar 4 22:20:26 2013 +0000
Cleanup systemd macros
tor.spec | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/tor.spec b/tor.spec
index 2060aad..d58d863 100644
--- a/tor.spec
+++ b/tor.spec
@@ -170,13 +170,13 @@ mv _doc/torify.html _doc-torify
%__fe_groupdel %{username} &>/dev/null || :
%post systemd
-%systemd_post tor.service
+%systemd_post %{name}.service
%preun systemd
-%systemd_preun tor.service
+%systemd_preun %{name}.service
%postun systemd
-%systemd_postun tor.service
+%systemd_postun %{name}.service
%postun upstart
/usr/bin/killall -u %{username} -s INT tor 2>/dev/null || :
@@ -229,6 +229,7 @@ test "$1" != "0" || /sbin/initctl -q stop tor || :
%changelog
* Mon Mar 04 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.2.3.25-1802
- add missing %%{?dist}
+- cleanup systemd macros
* Thu Feb 07 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.2.3.25-1801
- torify subpackage should depend on torsocks not tsocks (#908569)
More information about the scm-commits
mailing list