diff --git a/Mesa.changes b/Mesa.changes index 28b1240..bb7e0cb 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -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 diff --git a/Mesa.spec b/Mesa.spec index 9a3f85c..105aed3 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -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