public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpkg] 1.70-1: Remove deps on obsoleted packages
@ 2026-08-10 21:43
0 siblings, 0 replies; only message in thread
From: @ 2026-08-10 21:43 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rpkg
Branch : 1.70-1
Commit : f5aa1689f8815ec5f1104e945d97dbd6b29251ec
Author : Lubomír Sedlář <lsedlar@redhat.com>
Date : 2016-09-05T09:07:51+02:00
Stats : +11/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpkg/c/f5aa1689f8815ec5f1104e945d97dbd6b29251ec?branch=1.70-1
Log:
Remove deps on obsoleted packages
python-argparse and python-hashlib are moved into python stdlib in
supported Fedoras and EPEL 7. We only need to depend on them on EPEL 6.
---
diff --git a/rpkg.spec b/rpkg.spec
index 17975e3..e954a2d 100644
--- a/rpkg.spec
+++ b/rpkg.spec
@@ -12,7 +12,6 @@ URL: https://pagure.io/rpkg
Source0: https://pagure.io/releases/rpkg/rpkg-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires: python-argparse
Requires: pyrpkg >= %{version}-%{release}
Requires: python-osbs
@@ -23,28 +22,35 @@ BuildArch: noarch
BuildRequires: python-devel, python-setuptools
# We br these things for man page generation due to imports
BuildRequires: GitPython, koji, python-pycurl
-BuildRequires: python-hashlib
-BuildRequires: python-argparse
BuildRequires: python-kitchen
BuildRequires: python-nose
BuildRequires: python-mock
BuildRequires: python-osbs
+%if 0%{?rhel} && 0%{?rhel} < 7
+BuildRequires: python-argparse
+BuildRequires: python-hashlib
+%endif
+
%description
A tool for managing RPM package sources in a git repository.
%package -n pyrpkg
Summary: Python library for interacting with rpm+git
Group: Applications/Databases
-Requires: GitPython >= 0.2.0, python-argparse
+Requires: GitPython >= 0.2.0
Requires: python-pycurl, koji
Requires: rpm-build, rpm-python
Requires: rpmlint, mock, curl, openssh-clients, redhat-rpm-config
Requires: python-kitchen
-Requires: python-hashlib
Requires: python-osbs
Requires: python-six >= 1.9.0
+%if 0%{?rhel} && 0%{?rhel} < 7
+Requires: python-argparse
+Requires: python-hashlib
+%endif
+
BuildRequires: python-six >= 1.9.0
%description -n pyrpkg
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-10 21:43 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:43 [rpms/rpkg] 1.70-1: Remove deps on obsoleted packages
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox