public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/cef] rawhide: Fix el10 minor version
@ 2026-09-04 17:42 Than Ngo
  0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-09-04 17:42 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/cef
Branch : rawhide
Commit : 2604300ae9e4b1be90e66828a0d5bad0d786ee74
Author : Than Ngo <than@redhat.com>
Date   : 2026-09-04T17:42:12+00:00
Stats  : +1/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/cef/c/2604300ae9e4b1be90e66828a0d5bad0d786ee74?branch=rawhide

Log:
Fix el10 minor version

---
diff --git a/cef.spec b/cef.spec
index 335d779..469f6f6 100644
--- a/cef.spec
+++ b/cef.spec
@@ -10,7 +10,7 @@
 
 # macro for el10 minor version
 %if 0%{?rhel} == 10
-%define rhel_minor_version %(grep -oP '10\.[0-9.]*' /etc/redhat-release |  cut -d '.' -f2)
+%global rhel_minor_version %(echo %{dist} | sed -n 's/.*el10_\\([0-9]\\+\\).*/\\1/p')
 %endif
 
 %define _lto_cflags %{nil}

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-04 17:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 17:42 [rpms/cef] rawhide: Fix el10 minor version Than Ngo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox