public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-docker] epel10.2: Update obsoletes to be RHEL-compatible
@ 2026-10-13 18:25 Carl George
  0 siblings, 0 replies; only message in thread
From: Carl George @ 2026-10-13 18:25 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-docker
Branch : epel10.2
Commit : 9c5577feb36d784a9718292a4aace66a71eb1160
Author : Carl George <carl@george.computer>
Date   : 2017-09-11T08:11:42-05:00
Stats  : +11/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-docker/c/9c5577feb36d784a9718292a4aace66a71eb1160?branch=epel10.2

Log:
Update obsoletes to be RHEL-compatible

---
diff --git a/python-docker.spec b/python-docker.spec
index a9520db..338bf51 100644
--- a/python-docker.spec
+++ b/python-docker.spec
@@ -10,8 +10,6 @@
 %endif
 
 %global srcname docker
-%global py2_docker_py_1 python2-docker-py
-%global py3_docker_py_1 python3-docker-py
 
 Name:           python-%{srcname}
 Version:        2.5.1
@@ -68,7 +66,11 @@ Requires:       python%{?fedora:2}-docker-pycreds >= 0.2.1
 Requires:       python%{?fedora:2}-backports-ssl_match_hostname >= 3.5
 Requires:       python-ipaddress >= 1.0.16
 
-Obsoletes: %{py2_docker_py_1} < 1:2.0
+%if 0%{?fedora} >= 26
+Obsoletes:      python-docker-py < 1:2
+%else
+Obsoletes:      python-docker-py < 2
+%endif
 
 %description -n python2-%{srcname}
 It lets you do anything the docker command does, but from within Python apps –
@@ -97,7 +99,11 @@ Requires:       python3-six >= 1.4.0
 Requires:       python3-websocket-client >= 0.32.0
 Requires:       python3-docker-pycreds >= 0.2.1
 
-Obsoletes: %{py3_docker_py_1} < 1:2.0
+%if 0%{?fedora} >= 26
+Obsoletes:      python3-docker-py < 1:2
+%else
+Obsoletes:      python3-docker-py < 2
+%endif
 
 %description -n python3-%{srcname}
 It lets you do anything the docker command does, but from within Python apps –
@@ -158,6 +164,7 @@ PYTHONPATH="${PWD}" py.test-%{python3_version} tests/unit/ || :
 - Rewrite patch2 to conditionally apply extra dependencies
 - Update dependencies to be RHEL-compatible
 - Don't provide python-docker-py
+- Update obsoletes to be RHEL-compatible
 
 * Wed Aug 23 2017 Tomas Tomecek <ttomecek@redhat.com> - 2.5.1-1
 - new upstream release: 2.5.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-13 18:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-13 18:25 [rpms/python-docker] epel10.2: Update obsoletes to be RHEL-compatible Carl George

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox