From 03a28c19afbe60bbf4cbeb7d00ac044f8ea17529 Mon Sep 17 00:00:00 2001 From: Marie Loise Nolden Date: Sat, 15 Feb 2025 18:48:33 +0000 Subject: [PATCH] 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. --- vulkan-loader.spec | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/vulkan-loader.spec b/vulkan-loader.spec index 811dfdc..b32bb21 100644 --- a/vulkan-loader.spec +++ b/vulkan-loader.spec @@ -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