Enable va-driver only in Fedora

Upstream, va-drivers are symlinks to libgallium [1].

The mesa-va-driver package is not distributed in CentOS/RHEL because it
is not in the allow-list. However, now that its functionality is part of
libgallium, it is required to disable it explicitly.

Make "with_va" a Fedora only option.

[1] b51ea6a445

Resolves: https://issues.redhat.com/browse/RHEL-144489
This commit is contained in:
José Expósito 2026-01-28 07:35:19 +01:00
parent 1c79843463
commit 1111e2b3c1

View File

@ -4,11 +4,11 @@
%global with_vmware 1
%global with_vulkan_hw 1
%global with_vdpau 1
%global with_va 1
%if !0%{?rhel}
%global with_r300 1
%global with_r600 1
%global with_opencl 1
%global with_va 1
%endif
%if !0%{?rhel} || 0%{?rhel} >= 9
%global with_nvk %{with_vulkan_hw}
@ -82,7 +82,7 @@ Name: mesa
Summary: Mesa graphics libraries
%global ver 25.2.7
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
Release: 2%{?dist}
Release: 3%{?dist}
License: MIT AND BSD-3-Clause AND SGI-B-2.0
URL: http://www.mesa3d.org
@ -882,6 +882,10 @@ popd
%endif
%changelog
* Wed Jan 28 2026 José Expósito <jexposit@redhat.com> - 25.2.7-3
- Enable va-driver only in Fedora
Resolves: https://issues.redhat.com/browse/RHEL-144489
* Tue Jan 6 2026 Jocelyn Falempe <jfalempe@redhat.com - 25.2.7-2
- Resolves: https://issues.redhat.com/browse/RHEL-105157