From 253ca8ac648e2b8b1890856e9f11a98dbd722076 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: May 01 2025 13:36:36 +0000 Subject: Represent the asahi tag in mesa's internal version Fixes the version for non-devel snapshots. --- diff --git a/mesa.spec b/mesa.spec index 7e5624d..8ec8ee3 100644 --- a/mesa.spec +++ b/mesa.spec @@ -115,7 +115,7 @@ Name: mesa Summary: Mesa graphics libraries Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)} -Release: %autorelease -b 2 +Release: %autorelease -b 3 License: MIT AND BSD-3-Clause AND SGI-B-2.0 URL: http://www.mesa3d.org @@ -417,7 +417,7 @@ Mesa EGL/GL libraries and Gallium/OpenCL/Vulkan drivers for FEX-emu roots file s cp %{SOURCE1} docs/ # patch VERSION to contain the asahi tag name -sed -i "s/devel/asahi%{asahi_mesa_ver}/" VERSION +echo %{basever}-asahi%{asahi_mesa_ver} > VERSION %build # ensure standard Rust compiler flags are set