SHA256
1
0
forked from pool/Mesa

- require and check for llvm-devel >= 9 instead of llvm9-devel on

openSUSE

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=918
This commit is contained in:
Stefan Dirsch 2020-01-30 00:00:43 +00:00 committed by Git OBS Bridge
parent ed85efa52f
commit 665cf7fc96
4 changed files with 24 additions and 2 deletions

View File

@ -1,7 +1,8 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 29 22:56:19 UTC 2020 - Stefan Dirsch <sndirsch@suse.com> Wed Jan 29 22:56:19 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- require and check for llvm-devel >= 9 instead of llvm9-devel - require and check for llvm-devel >= 9 instead of llvm9-devel on
openSUSE
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 29 17:15:01 UTC 2020 - Stefan Dirsch <sndirsch@suse.com> Wed Jan 29 17:15:01 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -214,7 +214,11 @@ BuildRequires: pkgconfig(wayland-protocols) >= 1.8
BuildRequires: pkgconfig(wayland-server) >= 1.11 BuildRequires: pkgconfig(wayland-server) >= 1.11
%endif %endif
%if 0%{with_llvm} %if 0%{with_llvm}
%if 0%{?is_opensuse}
BuildRequires: llvm-devel >= 9.0.0 BuildRequires: llvm-devel >= 9.0.0
%else
BuildRequires: llvm9-devel
%endif
%endif %endif
%if 0%{with_opencl} %if 0%{with_opencl}
@ -732,9 +736,15 @@ programs against the XA state tracker.
rm -rf docs/README.{VMS,WIN32,OS2} rm -rf docs/README.{VMS,WIN32,OS2}
%if 0%{with_llvm} %if 0%{with_llvm}
%if 0%{?is_opensuse}
%if %{pkg_vcmp llvm-devel >= 9.0} %if %{pkg_vcmp llvm-devel >= 9.0}
%patch1 -p1 %patch1 -p1
%endif %endif
%else
%if %{pkg_vcmp llvm9-devel >= 9.0}
%patch1 -p1
%endif
%endif
%endif %endif
%patch2 -p1 %patch2 -p1
%patch54 -p1 %patch54 -p1

View File

@ -1,7 +1,8 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 29 22:56:19 UTC 2020 - Stefan Dirsch <sndirsch@suse.com> Wed Jan 29 22:56:19 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
- require and check for llvm-devel >= 9 instead of llvm9-devel - require and check for llvm-devel >= 9 instead of llvm9-devel on
openSUSE
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 29 17:15:01 UTC 2020 - Stefan Dirsch <sndirsch@suse.com> Wed Jan 29 17:15:01 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -213,7 +213,11 @@ BuildRequires: pkgconfig(wayland-protocols) >= 1.8
BuildRequires: pkgconfig(wayland-server) >= 1.11 BuildRequires: pkgconfig(wayland-server) >= 1.11
%endif %endif
%if 0%{with_llvm} %if 0%{with_llvm}
%if 0%{?is_opensuse}
BuildRequires: llvm-devel >= 9.0.0 BuildRequires: llvm-devel >= 9.0.0
%else
BuildRequires: llvm9-devel
%endif
%endif %endif
%if 0%{with_opencl} %if 0%{with_opencl}
@ -731,9 +735,15 @@ programs against the XA state tracker.
rm -rf docs/README.{VMS,WIN32,OS2} rm -rf docs/README.{VMS,WIN32,OS2}
%if 0%{with_llvm} %if 0%{with_llvm}
%if 0%{?is_opensuse}
%if %{pkg_vcmp llvm-devel >= 9.0} %if %{pkg_vcmp llvm-devel >= 9.0}
%patch1 -p1 %patch1 -p1
%endif %endif
%else
%if %{pkg_vcmp llvm9-devel >= 9.0}
%patch1 -p1
%endif
%endif
%endif %endif
%patch2 -p1 %patch2 -p1
%patch54 -p1 %patch54 -p1