Accepting request 700853 from mozilla:Factory
- recognize Leap 15 via sle_version (required for >= 15.1) OBS-URL: https://build.opensuse.org/request/show/700853 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MozillaFirefox-branding-openSUSE?expand=0&rev=57
This commit is contained in:
commit
d21ad8c2f8
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 5 07:31:47 UTC 2019 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||
|
||||
- recognize Leap 15 via sle_version (required for >= 15.1)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 23 09:15:55 UTC 2019 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||
|
||||
|
@ -45,34 +45,44 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%global progdir %{_libdir}/firefox
|
||||
%global libgssapi libgssapi_krb5.so.2
|
||||
|
||||
%global suseversion undefined
|
||||
%if %suse_version == 1315
|
||||
# Leap 42
|
||||
%if %sle_version == 120100
|
||||
%global suseversion 42.1
|
||||
%else
|
||||
%if %sle_version == 120200
|
||||
%global suseversion 42.2
|
||||
%else
|
||||
%if %sle_version == 120300
|
||||
%global suseversion 42.3
|
||||
# Leap 42
|
||||
%if %sle_version == 120100
|
||||
%global suseversion 42.1
|
||||
%else
|
||||
%if %sle_version == 120200
|
||||
%global suseversion 42.2
|
||||
%else
|
||||
%if %sle_version == 120300
|
||||
%global suseversion 42.3
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%if %suse_version == 1500
|
||||
# Leap 15
|
||||
%if %sle_version == 150000
|
||||
%global suseversion 15.0
|
||||
%else
|
||||
%if %sle_version == 150100
|
||||
%global suseversion 15.1
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%else
|
||||
|
||||
%if %suse_version >= 1550
|
||||
# Tumbleweed
|
||||
%global suseversion Tumbleweed
|
||||
%else
|
||||
%global suseversion %(echo -e "scale=1\\n%{suse_version}/100" | bc 2>/dev/null)
|
||||
%endif
|
||||
# Tumbleweed
|
||||
%global suseversion Tumbleweed
|
||||
%endif
|
||||
|
||||
# Leap or not
|
||||
%if 0%{?sle_version}
|
||||
%global prjname Leap:%{suseversion}
|
||||
%global distname openSUSE Leap
|
||||
%global prjname Leap:%{suseversion}
|
||||
%global distname openSUSE Leap
|
||||
%else
|
||||
%global prjname %{suseversion}
|
||||
%global distname openSUSE
|
||||
%global prjname %{suseversion}
|
||||
%global distname openSUSE
|
||||
%endif
|
||||
|
||||
%global homepage https://www.opensuse.org/searchPage/
|
||||
|
Loading…
Reference in New Issue
Block a user