[packages/Mesa] add %rust_req

atler atler at pld-linux.org
Sun Oct 12 12:46:20 CEST 2025


commit 85583261263e6d93a8fa91b253870744be105425
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Oct 12 12:45:29 2025 +0200

    add %rust_req

 Mesa.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/Mesa.spec b/Mesa.spec
index 508da02..b4e4104 100644
--- a/Mesa.spec
+++ b/Mesa.spec
@@ -166,7 +166,7 @@ BuildRequires:	python3-PyYAML
 %ifarch %{arm} aarch64
 BuildRequires:	python3-pycparser >= 2.20
 %endif
-BuildRequires:	rpmbuild(macros) >= 2.042
+BuildRequires:	rpmbuild(macros) >= 2.050
 %if %{with gallium_rusticl} || %{with nvk}
 BuildRequires:	rust >= 1.76.0
 %endif
@@ -489,6 +489,7 @@ Summary:	Rusticl implementation of OpenCL (Compuing Language) API ICD
 Summary(pl.UTF-8):	Implementacja Rusticl API OpenCL (języka obliczeń) ICD
 License:	MIT
 Group:		Libraries
+%{?rust_req}
 Requires:	filesystem >= 4.0-29
 Requires:	libdrm%{?_isa} >= %{libdrm_ver}
 Requires:	llvm-libclc
@@ -1114,6 +1115,7 @@ Summary:	nvk - experimental Mesa Vulkan driver for NVIDIA GPUs
 Summary(pl.UTF-8):	nvk - eksperymentalny sterownik Vulkan dla GPU firmy NVIDIA
 License:	MIT
 Group:		Libraries
+%{?rust_req}
 Requires:	libdrm%{?_isa} >= %{libdrm_ver}
 Requires:	libxcb%{?_isa} >= 1.17
 Requires:	xorg-lib-libxshmfence%{?_isa} >= 1.1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/Mesa.git/commitdiff/85583261263e6d93a8fa91b253870744be105425



More information about the pld-cvs-commit mailing list