public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Pavel Raiskup <praiskup@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/distgen] epel10: try hack for koji build failure
Date: Mon, 14 Sep 2026 11:57:28 GMT [thread overview]
Message-ID: <178938704880.1.14473665448451202929.rpms-distgen-21694e37c2ea@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/distgen
Branch : epel10
Commit : 21694e37c2ea6e131e173dd6791f5cdf5e77077e
Author : Pavel Raiskup <praiskup@redhat.com>
Date : 2020-01-10T17:18:46+01:00
Stats : +1/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/distgen/c/21694e37c2ea6e131e173dd6791f5cdf5e77077e?branch=epel10
Log:
try hack for koji build failure
error: attempt to use unversioned python, define %__python to /usr/bin/python2 or /usr/bin/python3 explicitly
error: Macro %pybin failed to expand
error: line 1: %global pybin %{?fedora:%{__python3}}%{!?fedora:%{__python}}
---
diff --git a/distgen.spec b/distgen.spec
index 9443111..06f5a73 100644
--- a/distgen.spec
+++ b/distgen.spec
@@ -1,4 +1,4 @@
-%global pybin %{?fedora:%{__python3}}%{!?fedora:%{__python}}
+%global pybin %{?fedora:%{__python3}}%{!?fedora:%{__python2}}
%global pylib %{?fedora:%{python3_sitelib}}%{!?fedora:%{python_sitelib}}
%global pypkg %{?fedora:python3}%{!?fedora:python}
%global meh_pypkg %{?fedora:%{pypkg}-}
reply other threads:[~2026-09-14 11:57 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=178938704880.1.14473665448451202929.rpms-distgen-21694e37c2ea@fedoraproject.org \
--to=praiskup@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