[or-cvs] r19082: {tor} tag redflag linux rpms correctly. (tor/trunk)

phobos at seul.org phobos at seul.org
Wed Mar 18 20:26:01 UTC 2009


Author: phobos
Date: 2009-03-18 16:26:01 -0400 (Wed, 18 Mar 2009)
New Revision: 19082

Modified:
   tor/trunk/tor.spec.in
Log:
tag redflag linux rpms correctly.


Modified: tor/trunk/tor.spec.in
===================================================================
--- tor/trunk/tor.spec.in	2009-03-18 19:50:43 UTC (rev 19081)
+++ tor/trunk/tor.spec.in	2009-03-18 20:26:01 UTC (rev 19082)
@@ -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.



More information about the tor-commits mailing list