aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tor.spec.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/tor.spec.in b/tor.spec.in
index 44f39b0f6..3055e13a5 100644
--- a/tor.spec.in
+++ b/tor.spec.in
@@ -6,7 +6,7 @@
# This should be incremented whenever the spec file changes, but
# can drop back to zero at a new Tor version
-%define specver 2
+%define specver 3
## Things users may want to change
#
@@ -235,6 +235,11 @@ exit 0
%preun
/sbin/chkconfig --del %{name}
+%__rm -f ${_localstatedir}/lib/%{name}/cached-directory
+%__rm -f ${_localstatedir}/lib/%{name}/bw_accounting
+%__rm -f ${_localstatedir}/lib/%{name}/control_auth_cookie
+%__rm -f ${_localstatedir}/lib/%{name}/router.desc
+%__rm -f ${_localstatedir}/lib/%{name}/fingerprint
exit 0
%files