public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedpkg] 1.48-1: Use proper python versions in Requires dependencies
@ 2026-08-10 21:45 Chenxiong Qi
0 siblings, 0 replies; only message in thread
From: Chenxiong Qi @ 2026-08-10 21:45 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/fedpkg
Branch : 1.48-1
Commit : 17dfacad8c9113cd19de5a2134047e0ae5ea2a98
Author : Chenxiong Qi <cqi@redhat.com>
Date : 2017-09-20T23:47:55+08:00
Stats : +13/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/fedpkg/c/17dfacad8c9113cd19de5a2134047e0ae5ea2a98?branch=1.48-1
Log:
Use proper python versions in Requires dependencies
Fix https://pagure.io/fedpkg/issue/133
Signed-off-by: Chenxiong Qi <cqi@redhat.com>
---
diff --git a/fedpkg.spec b/fedpkg.spec
index c553a3c..8a07e25 100644
--- a/fedpkg.spec
+++ b/fedpkg.spec
@@ -21,26 +21,34 @@ Patch1: 0002-Fix-container-build-target.patch
BuildArch: noarch
BuildRequires: pkgconfig
-BuildRequires: python-devel
+BuildRequires: python2-devel
+%if 0%{?rhel} && 0%{?rhel} < 7
BuildRequires: python-setuptools
+%else
+BuildRequires: python2-setuptools
+%endif
# We br these things for man page generation due to imports
BuildRequires: pyrpkg >= 1.50
BuildRequires: fedora-cert
BuildRequires: bash-completion
# This until fedora-cert gets fixed
-BuildRequires: python-fedora
+BuildRequires: python2-fedora
# For testing
BuildRequires: git
+BuildRequires: python2-mock
+%if 0%{?rhel} && 0%{?rhel} < 7
BuildRequires: python-nose
-BuildRequires: python-mock
+%else
+BuildRequires: python2-nose
+%endif
Requires: bodhi-client
Requires: fedora-cert
Requires: fedora-packager
Requires: koji
Requires: pyrpkg >= 1.50
-Requires: python-fedora
-Requires: python-pycurl
+Requires: python2-fedora
+Requires: python2-pycurl
Requires: redhat-rpm-config
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-10 21:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10 21:45 [rpms/fedpkg] 1.48-1: Use proper python versions in Requires dependencies Chenxiong Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox