diff --git a/MozillaFirefox-branding-openSUSE.changes b/MozillaFirefox-branding-openSUSE.changes index c5ae544..a587d07 100644 --- a/MozillaFirefox-branding-openSUSE.changes +++ b/MozillaFirefox-branding-openSUSE.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 18 00:55:52 UTC 2015 - wr@rosenauer.org + +- identify Tumbleweed correctly + ------------------------------------------------------------------- Mon Oct 19 09:54:57 UTC 2015 - wr@rosenauer.org diff --git a/MozillaFirefox-branding-openSUSE.spec b/MozillaFirefox-branding-openSUSE.spec index 31fd5a9..45edaab 100644 --- a/MozillaFirefox-branding-openSUSE.spec +++ b/MozillaFirefox-branding-openSUSE.spec @@ -50,9 +50,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %define suseversion 42.1 %define distname openSUSE Leap %else -# openSUSE <= 13.2 & Tumbleweed? -%define suseversion %(echo -e "scale=1\\n%{suse_version}/100" | bc 2>/dev/null) %define distname openSUSE +%if %suse_version >= 1330 +# Tumbleweed +%define suseversion Tumbleweed +%else +%define suseversion %(echo -e "scale=1\\n%{suse_version}/100" | bc 2>/dev/null) +%endif %endif %define homepage https://www.opensuse.org/searchPage/ %define susefox 0