aboutsummaryrefslogtreecommitdiff
path: root/tor.spec.in
diff options
context:
space:
mode:
authorphobos <phobos@rootme.org>2009-05-01 23:05:54 -0400
committerphobos <phobos@rootme.org>2009-05-01 23:05:54 -0400
commite188ab9e75db5a9767c98e6cd3914e22b591bbdc (patch)
tree42d68578794d31cef1a58ea5389b1544556de5b5 /tor.spec.in
parent596e852c313c1bb9d422c086f5702b80b5bbb4e1 (diff)
downloadtor-e188ab9e75db5a9767c98e6cd3914e22b591bbdc.tar
tor-e188ab9e75db5a9767c98e6cd3914e22b591bbdc.tar.gz
clean up distro detection and remove dead comment blocks
Diffstat (limited to 'tor.spec.in')
-rw-r--r--tor.spec.in17
1 files changed, 5 insertions, 12 deletions
diff --git a/tor.spec.in b/tor.spec.in
index ec00415f4..6133ce604 100644
--- a/tor.spec.in
+++ b/tor.spec.in
@@ -15,13 +15,6 @@
%define toruser @TORUSER@
%define torgroup @TORGROUP@
-## Target a specific arch and OS
-#
-# default is i386 linux
-
-## Override any system rpm macros
-#
-
## Version song and dance
#
# This should be the Tor version number, as it appears on the tarball,
@@ -54,14 +47,11 @@
%if %{is_fc}
%define ostag %(sed -e 's/^.*release /fc/' -e 's/ .*$//' -e 's/\\./_/g' < /etc/fedora-release)
-%else
+%endif
+
%if %{is_rh}
%define ostag %(sed -e 's/^.*release /rh/' -e 's/ .*$//' -e 's/\\./_/g' < /etc/redhat-release)
%endif
-%endif
-
-# These are probably wrong... just placeholders should we actually
-# end up supporting these distributions
%if %{is_mdk}
%define ostag mdk
@@ -290,6 +280,9 @@ exit 0
%changelog
+* Fri May 01 2009 Andrew Lewman <andrew@torproject.org>
+- clean up distro detection and remove dead comment blocks
+
* Sun Feb 22 2009 Andrew Lewman <andrew@torproject.org>
- update the description, vendor, and packager