summaryrefslogtreecommitdiff
path: root/tor.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'tor.spec.in')
-rw-r--r--tor.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tor.spec.in b/tor.spec.in
index 6e917f75a6..ec00415f48 100644
--- a/tor.spec.in
+++ b/tor.spec.in
@@ -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