Accepting request 349451 from mozilla:Factory

- identify Tumbleweed correctly
(and now also not too ugly)

OBS-URL: https://build.opensuse.org/request/show/349451
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MozillaFirefox-branding-openSUSE?expand=0&rev=50
This commit is contained in:
Dominique Leuenberger 2015-12-27 00:58:00 +00:00 committed by Git OBS Bridge
commit 303b05e9a4
2 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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