public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/rpkg] 1.70-1: Apply previous patch only for Python 2
Date: Mon, 10 Aug 2026 21:44:24 GMT [thread overview]
Message-ID: <178639826438.1.13246824130452909849.rpms-rpkg-e6bc1a59f5e1@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpkg
Branch : 1.70-1
Commit : e6bc1a59f5e12d3ade80ab7ad6b36a7372850b30
Author : Ondřej Nosek <onosek@redhat.com>
Date : 2022-02-08T02:24:44+00:00
Stats : +16/-13 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpkg/c/e6bc1a59f5e12d3ade80ab7ad6b36a7372850b30?branch=1.70-1
Log:
Apply previous patch only for Python 2
Signed-off-by: Ondřej Nosek <onosek@redhat.com>
---
diff --git a/rpkg.spec b/rpkg.spec
index a460ec2..a40601b 100644
--- a/rpkg.spec
+++ b/rpkg.spec
@@ -8,19 +8,6 @@ URL: https://pagure.io/rpkg
BuildArch: noarch
Source0: https://pagure.io/releases/rpkg/%{name}-%{version}.tar.gz
-# Fix for bug 1579367
-# Due to https://pagure.io/koji/issue/912, python[23]-koji package does not
-# have egginfo.
-# rpm-py-installer is required as a proxy to install RPM python binding
-# library, so rpm is the actual requirement that must be present in the
-# requires.txt. But, rpkg has to work in all active Fedora and EPEL releases,
-# and there is only old rpm-python package in EL6 and 7, so just simply to
-# remove rpm-py-installer for now.
-Patch0: remove-koji-and-rpm-py-installer-from-requires.patch
-Patch1: 0001-Do-not-use-pytest-related-dependencies-temporarily.patch
-Patch2: 0002-Remove-pytest-coverage-execution.patch
-Patch3: 0003-Remove-Environment-Markers-syntax.patch
-
# RHEL7 is currently the only release that is built for Python 2.
%if 0%{?fedora} || 0%{?rhel} > 7
# Disable python2 build by default
@@ -35,6 +22,22 @@ Patch3: 0003-Remove-Environment-Markers-syntax.patch
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%endif
+
+# Fix for bug 1579367
+# Due to https://pagure.io/koji/issue/912, python[23]-koji package does not
+# have egginfo.
+# rpm-py-installer is required as a proxy to install RPM python binding
+# library, so rpm is the actual requirement that must be present in the
+# requires.txt. But, rpkg has to work in all active Fedora and EPEL releases,
+# and there is only old rpm-python package in EL6 and 7, so just simply to
+# remove rpm-py-installer for now.
+Patch0: remove-koji-and-rpm-py-installer-from-requires.patch
+Patch1: 0001-Do-not-use-pytest-related-dependencies-temporarily.patch
+Patch2: 0002-Remove-pytest-coverage-execution.patch
+%if 0%{?with_python2}
+Patch3: 0003-Remove-Environment-Markers-syntax.patch
+%endif
+
%description
Python library for interacting with rpm+git
reply other threads:[~2026-08-10 21:44 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=178639826438.1.13246824130452909849.rpms-rpkg-e6bc1a59f5e1@fedoraproject.org \
--to=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