public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Add condition for epel9-next
@ 2026-08-08  8:36 Than Ngo
  0 siblings, 0 replies; only message in thread
From: Than Ngo @ 2026-08-08  8:36 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/chromium
Branch : epel9-next
Commit : 7d2bff4aa42c192bb3a034fb585a0cf6da8ef7d2
Author : Than Ngo <than@redhat.com>
Date   : 2026-08-08T10:36:25+02:00
Stats  : +9/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/chromium/c/7d2bff4aa42c192bb3a034fb585a0cf6da8ef7d2?branch=epel9-next

Log:
Add condition for epel9-next

---
diff --git a/chromium.spec b/chromium.spec
index e7056e9..1a54cb5 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1,6 +1,11 @@
 # macro for el10 minor version
 %if 0%{?rhel} == 10
-%global rhel_minor_version %(echo %{dist} | sed -n 's/.*el10_\\([0-9]\\+\\).*/\\1/p')
+%global rhel10_minor_version %(echo %{dist} | sed -n 's/.*el10_\\([0-9]\\+\\).*/\\1/p')
+%endif
+
+# macro for epel9-next
+%if 0%{?rhel} == 9
+%global rhel9_minor_version %(echo %{dist} | cut -d'.' -f3)
 %endif
 
 # Fix installation issue caused by the hard link in locales
@@ -1120,7 +1125,7 @@ Qt6 UI for chromium.
 %patch -P141 -p1 -b .dma_buf_export_sync_file-conflict
 %endif
 
-%if (0%{?rhel} && 0%{?rhel} < 10) || (0%{?rhel} == 10 && 0%{?rhel_minor_version} < 2)
+%if (0%{?rhel} && 0%{?rhel} < 10) || (0%{?rhel} == 10 && 0%{?rhel10_minor_version} < 2)
 %patch -P142 -p1 -b .rust-1.88-build-error
 %patch -P143 -p1 -b .rust-1.88-enable-unstable_features
 %patch -P144 -p1 -b .rust-1.88-undefined-symbol
@@ -1135,7 +1140,7 @@ Qt6 UI for chromium.
 %patch -P300 -p1 -b .swiftshader-missing-include
 
 # llvm version < 21 on f42/el9/epel10.1
-%if (0%{?fedora} && 0%{?fedora} < 43) || (0%{?rhel} && 0%{?rhel} < 10) || (0%{?rhel} == 10 && 0%{?rhel_minor_version} < 2)
+%if (0%{?fedora} && 0%{?fedora} < 43) || (0%{?rhel} && 0%{?rhel} < 10) || (0%{?rhel} == 10 && 0%{?rhel10_minor_version} < 2)
 %patch -P302 -p1 -b .static_assert
 %patch -P303 -p1 -b .ftfs-llvm-octal-notation
 %patch -P304 -p1 -b .llvm-crash
@@ -1187,7 +1192,7 @@ Qt6 UI for chromium.
 
 %patch -P358 -p1 -b .rust-clang_lib
 
-%if  0%{?fedora} > 41 || (0%{?rhel} == 10 && 0%{?rhel_minor_version} > 2)
+%if 0%{?fedora} || (0%{?rhel} == 10 && 0%{?rhel10_minor_version} > 2) || (0%{?rhel} == 9 && "%{rhel9_minor_version}" == "next") 
 %patch -P359 -p1 -b .ftbfs-with-rustc-1.95
 %endif
 

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

only message in thread, other threads:[~2026-08-08  8:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-08  8:36 [rpms/chromium] epel9-next: Add condition for epel9-next Than Ngo

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