From f9e1e5b00ffbe408feed8b712848a941fdafcbb7 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 19 Jan 2021 19:20:49 -0500 Subject: [PATCH] Disable classic drivers in RHEL --- mesa.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/mesa.spec b/mesa.spec index 95153fa..c0fdac9 100644 --- a/mesa.spec +++ b/mesa.spec @@ -45,14 +45,16 @@ %bcond_with valgrind %endif +%if !0%{?rhel} %global dri_drivers %{?base_dri}%{?platform_dri} +%endif %global vulkan_drivers swrast%{?base_vulkan}%{?platform_vulkan} Name: mesa Summary: Mesa graphics libraries %global ver 20.3.3 Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} -Release: 3%{?dist} +Release: 4%{?dist} License: MIT URL: http://www.mesa3d.org @@ -477,17 +479,21 @@ popd %{_libdir}/dri/virtio_gpu_dri.so %if 0%{?with_hardware} +%if !0%{?rhel} %{_libdir}/dri/radeon_dri.so %{_libdir}/dri/r200_dri.so %{_libdir}/dri/nouveau_vieux_dri.so +%endif %{_libdir}/dri/r300_dri.so %if 0%{?with_radeonsi} %{_libdir}/dri/r600_dri.so %{_libdir}/dri/radeonsi_dri.so %endif %ifarch %{ix86} x86_64 +%if !0%{?rhel} %{_libdir}/dri/i915_dri.so %{_libdir}/dri/i965_dri.so +%endif %{_libdir}/dri/iris_dri.so %endif %ifarch %{arm} aarch64 @@ -596,6 +602,9 @@ popd %endif %changelog +* Tue Jan 19 2021 Adam Jackson - 20.3.3-4 +- Disable classic drivers in RHEL + * Fri Jan 15 2021 Dave Airlie - 20.3.3-3 - Fix lavapipe missing ext that breaks gstreamer/pidgin