diff options
author | Andrew Lewman <andrew@torproject.org> | 2009-03-18 20:26:01 +0000 |
---|---|---|
committer | Andrew Lewman <andrew@torproject.org> | 2009-03-18 20:26:01 +0000 |
commit | 8aaf8d489b5943f20172f54196616cb9e993a88c (patch) | |
tree | 8078627849b932bce50a91c69910cb54312c5e6e | |
parent | b5135f1190f74559a32b3cbdb94e6234df0c144e (diff) | |
download | tor-8aaf8d489b5943f20172f54196616cb9e993a88c.tar tor-8aaf8d489b5943f20172f54196616cb9e993a88c.tar.gz |
tag redflag linux rpms correctly.
svn:r19082
-rw-r--r-- | tor.spec.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tor.spec.in b/tor.spec.in index 155fe93e1..6e917f75a 100644 --- a/tor.spec.in +++ b/tor.spec.in @@ -50,6 +50,7 @@ %define is_fc %(test -e /etc/fedora-release && echo 1 || echo 0) %define is_mdk %(test -e /etc/mandrake-release && echo 1 || echo 0) %define is_suse %(test -e /etc/SuSE-release && echo 1 || echo 0) +%define is_rfl %(test -e /etc/redflag-release && echo 1 || echo 0) %if %{is_fc} %define ostag %(sed -e 's/^.*release /fc/' -e 's/ .*$//' -e 's/\\./_/g' < /etc/fedora-release) @@ -70,6 +71,10 @@ %define ostag suse %endif +%if %{is_rfl} +%define ostag redflag +%endif + # Using the build date ensures that every build really does get # a different release number. We use this trick for CVS versions. # For release versions, we don't want or need it. |