remove fedora <= 27 check

Rebuilding the package on centos-stream 10, I discovered the circular dependency between vulkan-loader and mesa drivers. The previous check only checked if fedora was below or equal 27, but not if rhel is used turning this to always true and leading to a requires to the drivers (which need llvm to compile, and thus every upgrade of mesa fails due to this circular dependency). As F27 is long history, remove the check completely and stay with the recommends only.
This commit is contained in:
Marie Loise Nolden 2025-02-15 18:48:33 +00:00
commit 03a28c19af

View file

@ -9,7 +9,7 @@ Source0: %url/archive/vulkan-sdk-%{version}.tar.gz#/Vulkan-Loader-sdk-%{v
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake3
BuildRequires: cmake
BuildRequires: ninja-build
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: vulkan-headers = %{version}
@ -26,13 +26,7 @@ Obsoletes: vulkan < %{version}-%{release}
Provides: vulkan-filesystem = %{version}-%{release}
Obsoletes: vulkan-filesystem < %{version}-%{release}
%if 0%{?fedora} <= 27
%ifarch x86_64 i686
Requires: mesa-vulkan-drivers%{?_isa}
%endif
%else
Recommends: mesa-vulkan-drivers%{?_isa}
%endif
%description
This project provides the Khronos official Vulkan ICD desktop