From 4c13af0b307bcd122763e76d1b677b8c17b7f763 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Oct 01 2024 17:41:58 +0000 Subject: [PATCH 1/3] Adjust Provides: for fex-emu-overlay-%{_arch} Use fex-emu-overlay(%{_arch})($PKG) --- diff --git a/mesa.spec b/mesa.spec index 01ca43f..226e03c 100644 --- a/mesa.spec +++ b/mesa.spec @@ -434,7 +434,7 @@ The drivers with support for the Vulkan API. Summary: Mesa driver overlay for FEX-emu BuildArch: noarch BuildRequires: erofs-utils -Provides: fex-emu-overlay-%{_arch}(mesa) = %{version}-%{release} +Provides: fex-emu-overlay(%{_arch})(mesa) = %{version}-%{release} Provides: bundled(mesa) = %{version}-%{release} %description fex-emu-overlay-%{_arch} From 7f3eeeefc9065a3e43cd3760fd6d29074daf93b3 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Oct 01 2024 17:48:51 +0000 Subject: [PATCH 2/3] Turn asahi_minimal into `%bcond` --- diff --git a/mesa.spec b/mesa.spec index 226e03c..b940aa0 100644 --- a/mesa.spec +++ b/mesa.spec @@ -1,7 +1,7 @@ %dnl optionally do a minimal asahi specific build -%dnl global with_asahi_minimal 1 +%bcond asahi_minimal 0 -%if 0%{?with_asahi_minimal} +%if %{with asahi_minimal} %global with_hardware 1 %global with_vulkan_hw 1 %global with_asahi 1 From 736d6eb176eeefffe118982b44d12b91264f08b4 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Oct 01 2024 18:10:15 +0000 Subject: [PATCH 3/3] mesa-fex-emu-overlay* depends on "fex-emu" for the overlay directory --- diff --git a/mesa.spec b/mesa.spec index b940aa0..4ac70c7 100644 --- a/mesa.spec +++ b/mesa.spec @@ -434,6 +434,7 @@ The drivers with support for the Vulkan API. Summary: Mesa driver overlay for FEX-emu BuildArch: noarch BuildRequires: erofs-utils +Requires: fex-emu Provides: fex-emu-overlay(%{_arch})(mesa) = %{version}-%{release} Provides: bundled(mesa) = %{version}-%{release}