[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r19083: {tor} figure out version numbers for ostag in suse and redflag (tor/trunk)
Author: phobos
Date: 2009-03-18 18:42:33 -0400 (Wed, 18 Mar 2009)
New Revision: 19083
Modified:
tor/trunk/tor.spec.in
Log:
figure out version numbers for ostag in suse and redflag
Modified: tor/trunk/tor.spec.in
===================================================================
--- tor/trunk/tor.spec.in 2009-03-18 20:26:01 UTC (rev 19082)
+++ tor/trunk/tor.spec.in 2009-03-18 22:42:33 UTC (rev 19083)
@@ -68,11 +68,11 @@
%endif
%if %{is_suse}
-%define ostag suse
+%define ostag suse%(grep openSUSE /etc/SuSE-release | awk '{print $2}' | sed -e 's/\\./_/')
%endif
%if %{is_rfl}
-%define ostag redflag
+%define ostag redflag%(sed -e 's/^.*Desktop /redflag/' -e 's/ .*$//' -e 's/\\./_/g' < /etc/redflag-release)
%endif
# Using the build date ensures that every build really does get