public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] epel9-next: Add condition for epel9-next
Date: Sat, 08 Aug 2026 08:36:56 GMT	[thread overview]
Message-ID: <178617821699.1.3150347315115627285.rpms-chromium-7d2bff4aa42c@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-08-08  8:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178617821699.1.3150347315115627285.rpms-chromium-7d2bff4aa42c@fedoraproject.org \
    --to=than@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox