public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/distgen] epel10.3: fix for epel-8
@ 2026-09-14 12:38 Pavel Raiskup
0 siblings, 0 replies; only message in thread
From: Pavel Raiskup @ 2026-09-14 12:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/distgen
Branch : epel10.3
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.3
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-14 12:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-14 12:38 [rpms/distgen] epel10.3: fix for epel-8 Pavel Raiskup
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox