From 522bf33b7f50626fd974463524e7af20049e5a58037f108ba4f8640179e973e0 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 6 May 2021 14:25:10 +0000 Subject: [PATCH] - /usr/include/vulkan/vulkan_intel.h dropped with Mesa 21.1.0, but let's keep the package containing an empty directory OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1035 --- Mesa-drivers.changes | 6 ++++++ Mesa-drivers.spec | 6 +++++- Mesa.changes | 6 ++++++ Mesa.spec | 6 +++++- 4 files changed, 22 insertions(+), 2 deletions(-) diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index b5ba9c3..041575d 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 6 14:24:29 UTC 2021 - Stefan Dirsch + +- /usr/include/vulkan/vulkan_intel.h dropped with Mesa 21.1.0, but + let's keep the package containing an empty directory + ------------------------------------------------------------------- Thu May 6 11:45:47 UTC 2021 - Stefan Dirsch diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index 5edaa52..ac49546 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -861,6 +861,10 @@ rm -rf %{buildroot}/%{_includedir}/KHR # workaround needed since Mesa 19.0.2 rm -f %{buildroot}/%{_libdir}/vdpau/libvdpau_gallium.so +# /usr/include/vulkan/vulkan_intel.h dropped with Mesa 21.1.0, but +# let's keep the package containing an empty directory +mkdir -p -m 755 %{buildroot}/%{_includedir}/vulkan + %else rm -f %{buildroot}/%{_libdir}/dri/*_dri.so @@ -1132,7 +1136,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %files -n Mesa-libVulkan-devel %dir %{_includedir}/vulkan -%{_includedir}/vulkan/* +#%{_includedir}/vulkan/* %files -n Mesa-vulkan-device-select %{_libdir}/libVkLayer_MESA_device_select.so diff --git a/Mesa.changes b/Mesa.changes index b5ba9c3..041575d 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu May 6 14:24:29 UTC 2021 - Stefan Dirsch + +- /usr/include/vulkan/vulkan_intel.h dropped with Mesa 21.1.0, but + let's keep the package containing an empty directory + ------------------------------------------------------------------- Thu May 6 11:45:47 UTC 2021 - Stefan Dirsch diff --git a/Mesa.spec b/Mesa.spec index df635e3..fb2782d 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -860,6 +860,10 @@ rm -rf %{buildroot}/%{_includedir}/KHR # workaround needed since Mesa 19.0.2 rm -f %{buildroot}/%{_libdir}/vdpau/libvdpau_gallium.so +# /usr/include/vulkan/vulkan_intel.h dropped with Mesa 21.1.0, but +# let's keep the package containing an empty directory +mkdir -p -m 755 %{buildroot}/%{_includedir}/vulkan + %else rm -f %{buildroot}/%{_libdir}/dri/*_dri.so @@ -1131,7 +1135,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %files -n Mesa-libVulkan-devel %dir %{_includedir}/vulkan -%{_includedir}/vulkan/* +#%{_includedir}/vulkan/* %files -n Mesa-vulkan-device-select %{_libdir}/libVkLayer_MESA_device_select.so