public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Chenxiong Qi <cqi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/fedpkg] 1.48-1: Use proper python versions in Requires dependencies
Date: Mon, 10 Aug 2026 21:45:27 GMT [thread overview]
Message-ID: <178639832701.1.7223698901980237081.rpms-fedpkg-17dfacad8c91@fedoraproject.org> (raw)
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
reply other threads:[~2026-08-10 21:45 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=178639832701.1.7223698901980237081.rpms-fedpkg-17dfacad8c91@fedoraproject.org \
--to=cqi@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