SHA256
1
0
forked from pool/Mesa

- specfile: Remove requires to vulkan libs from baselibs.conf on

platforms where vulkan build is disabled; ugly ... (bsc#1042900)

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=620
This commit is contained in:
Stefan Dirsch 2017-06-07 13:55:26 +00:00 committed by Git OBS Bridge
parent 2b06d7facf
commit fe95464afc
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 7 13:53:26 UTC 2017 - sndirsch@suse.com
- specfile: Remove requires to vulkan libs from baselibs.conf on
platforms where vulkan build is disabled; ugly ... (bsc#1042900)
-------------------------------------------------------------------
Tue Jun 6 10:50:56 UTC 2017 - mimi.vx@gmail.com

View File

@ -666,6 +666,13 @@ grep -v libglvnd $RPM_SOURCE_DIR/baselibs.conf > $RPM_SOURCE_DIR/temp && \
mv $RPM_SOURCE_DIR/temp $RPM_SOURCE_DIR/baselibs.conf
%endif
# Remove requires to vulkan libs from baselibs.conf on platforms
# where vulkan build is disabled; ugly ...
%if 0%{?with_vulkan} == 0
grep -v -i vulkan $RPM_SOURCE_DIR/baselibs.conf > $RPM_SOURCE_DIR/temp && \
mv $RPM_SOURCE_DIR/temp $RPM_SOURCE_DIR/baselibs.conf
%endif
%build
%if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse})
egl_platforms=x11,drm,wayland