public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mesa] rawhide: Make "ver" variable compatible with CentOS 9
@ 2026-11-23 8:22
0 siblings, 0 replies; only message in thread
From: @ 2026-11-23 8:22 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/mesa
Branch : rawhide
Commit : bf36e460ee169bb6b528d84f58785bc335b88267
Author : José Expósito <jexposit@redhat.com>
Date : 2026-11-19T11:39:47+01:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/mesa/c/bf36e460ee169bb6b528d84f58785bc335b88267?branch=rawhide
Log:
Make "ver" variable compatible with CentOS 9
CentOS 9 does not support `gsub`. Use `echo + tr` instead.
---
diff --git a/mesa.spec b/mesa.spec
index ceb7bb0..c56aadf 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -89,7 +89,7 @@ URL: https://mesa3d.org
# The "Version" field for release candidates has the format: A.B.C~rcX
# However, the tarball has the format: A.B.C-rcX.
# The "ver" variable contains the version in the second format.
-%global ver %{gsub %version ~ -}
+%global ver %(echo %{version} | tr '~' '-')
Source0: https://archive.mesa3d.org/mesa-%{ver}.tar.xz
# src/gallium/auxiliary/postprocess/pp_mlaa* have an ... interestingly worded license.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 8:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23 8:22 [rpms/mesa] rawhide: Make "ver" variable compatible with CentOS 9
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox