- re-disable rusticl on sle15-sp6 to prevent more deps (rust-bindgen)

- buildrequire 'pkgconfig(LLVMSPIRVLib)' also with disabled rusticl
  (new dep since some time)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1245
This commit is contained in:
Stefan Dirsch 2023-11-20 14:47:28 +00:00 committed by Git OBS Bridge
parent 7191fc3eb2
commit 4e092898e0
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Nov 20 14:44:53 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
- re-disable rusticl on sle15-sp6 to prevent more deps (rust-bindgen)
- buildrequire 'pkgconfig(LLVMSPIRVLib)' also with disabled rusticl
(new dep since some time)
-------------------------------------------------------------------
Mon Nov 20 14:40:06 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -96,7 +96,7 @@
%if "%{flavor}" == "drivers"
%define glamor 0
%if (0%{?suse_version} > 1550 || 0%{?sle_version} >= 150600) && 0%{with_opencl}
%if 0%{?suse_version} > 1550 && 0%{with_opencl}
%define with_rusticl 1
%endif
%else
@ -259,10 +259,10 @@ BuildRequires: clang17-devel
%endif
%endif
BuildRequires: libclc
BuildRequires: pkgconfig(LLVMSPIRVLib)
%if 0%{with_rusticl}
BuildRequires: rust
BuildRequires: rust-bindgen
BuildRequires: pkgconfig(LLVMSPIRVLib)
BuildRequires: pkgconfig(SPIRV-Tools)
%endif
%endif