figure out version numbers for ostag in suse and redflag

svn:r19083
This commit is contained in:
Andrew Lewman 2009-03-18 22:42:33 +00:00
parent 8aaf8d489b
commit 4962e466b2

View File

@ -68,11 +68,11 @@
%endif %endif
%if %{is_suse} %if %{is_suse}
%define ostag suse %define ostag suse%(grep openSUSE /etc/SuSE-release | awk '{print $2}' | sed -e 's/\\./_/')
%endif %endif
%if %{is_rfl} %if %{is_rfl}
%define ostag redflag %define ostag redflag%(sed -e 's/^.*Desktop /redflag/' -e 's/ .*$//' -e 's/\\./_/g' < /etc/redflag-release)
%endif %endif
# Using the build date ensures that every build really does get # Using the build date ensures that every build really does get