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: fix build failure on rhel8 regarding to old python version 3.6x
Date: Fri, 07 Aug 2026 16:06:15 GMT [thread overview]
Message-ID: <178611877566.1.7563540547373684356.rpms-chromium-7101e72314a1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : 7101e72314a1d96b8fdc025b20b184efe06410a1
Author : Than Ngo <than@redhat.com>
Date : 2024-04-17T20:04:09+02:00
Stats : +5/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/7101e72314a1d96b8fdc025b20b184efe06410a1?branch=epel9-next
Log:
fix build failure on rhel8 regarding to old python version 3.6x
---
diff --git a/chromium.spec b/chromium.spec
index 4f31615..750851a 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -73,8 +73,12 @@
%if 0%{?rhel} == 7
%global chromium_pybin /usr/bin/python3
%else
+%if 0%{?rhel} == 8
+%global chromium_pybin /usr/bin/python3.9
+%else
%global chromium_pybin %{__python3}
%endif
+%endif
# va-api only supported in rhel >= 9 and fedora
%global use_vaapi 1
@@ -1321,7 +1325,7 @@ udev.
# Change shebang in all relevant files in this directory and all subdirectories
# See `man find` for how the `-exec command {} +` syntax works
-find -type f \( -iname "*.py" \) -exec sed -i '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!%{__python3}=' {} +
+find -type f \( -iname "*.py" \) -exec sed -i '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!%{chromium_pybin}=' {} +
# Add correct path for nodejs binary
%if ! %{system_nodejs}
reply other threads:[~2026-08-07 16:06 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=178611877566.1.7563540547373684356.rpms-chromium-7101e72314a1@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