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: fix for epel-8
Date: Mon, 14 Sep 2026 11:57:27 GMT [thread overview]
Message-ID: <178938704783.1.2502303272748756545.rpms-distgen-9c7c2e6c9222@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/distgen
Branch : epel10
Commit : 9c7c2e6c92223db64b67fc2985a16f46979c4720
Author : Pavel Raiskup <praiskup@redhat.com>
Date : 2020-01-10T17:10:49+01:00
Stats : +11/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/distgen/c/9c7c2e6c92223db64b67fc2985a16f46979c4720?branch=epel10
Log:
fix for epel-8
Version: 1.4-1
---
diff --git a/distgen.spec b/distgen.spec
index d024715..9443111 100644
--- a/distgen.spec
+++ b/distgen.spec
@@ -1,6 +1,15 @@
%global pybin %{?fedora:%{__python3}}%{!?fedora:%{__python}}
%global pylib %{?fedora:%{python3_sitelib}}%{!?fedora:%{python_sitelib}}
%global pypkg %{?fedora:python3}%{!?fedora:python}
+%global meh_pypkg %{?fedora:%{pypkg}-}
+
+%if 0%{?rhel} == 8
+%global pybin %__python3
+%global pylib %python3_sitelib
+%global pypkg python3
+%global meh_pypkg python3-
+%endif
+
Name: distgen
Summary: Templating system/generator for distributions
@@ -19,9 +28,9 @@ BuildRequires: %{pypkg}-devel
BuildRequires: %{pypkg}-distro
BuildRequires: %{pypkg}-jinja2
BuildRequires: %pypkg-mock
-BuildRequires: %{?fedora:%{pypkg}-}pytest
+BuildRequires: %{meh_pypkg}pytest
BuildRequires: %{pypkg}-pytest-catchlog
-BuildRequires: %{?fedora:%{pypkg}-}PyYAML
+BuildRequires: %{meh_pypkg}PyYAML
BuildRequires: %{pypkg}-setuptools
BuildRequires: %{pypkg}-six
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=178938704783.1.2502303272748756545.rpms-distgen-9c7c2e6c9222@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