public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/PyGreSQL] rawhide: [cleanup] Remove stale F30-era Obsoletes/Provides and %python_provide
@ 2026-07-01 14:38 Michal Schorm
0 siblings, 0 replies; only message in thread
From: Michal Schorm @ 2026-07-01 14:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/PyGreSQL
Branch : rawhide
Commit : 46bafb1e07b88b32b4d6daeb2e31e98c949f834c
Author : Michal Schorm <mschorm@redhat.com>
Date : 2026-07-01T12:30:17+02:00
Stats : +0/-5 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/PyGreSQL/c/46bafb1e07b88b32b4d6daeb2e31e98c949f834c?branch=rawhide
Log:
[cleanup] Remove stale F30-era Obsoletes/Provides and %python_provide
Drop three transitional shims added in Jan 2018 (commit 1bb767e) when
the subpackage was renamed from python3-PyGreSQL (mixed-case) to
python3-pygresql (lowercase) as part of the Python 2→3 migration:
https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
The comment "# Remove before F30" was added by the author at the time.
Fedora 30 reached EOL in May 2020 -- these have been dead weight for
six years. Any system upgrading from F29 or earlier would go through
multiple intermediate releases that already carried these shims.
The %python_provide macro was part of the same transition tooling and
has been a no-op since the Python 2 subpackage was removed in F31
(commit d106866, Mass_Python_2_Package_Removal):
https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
Co-Authored-By: Claude AI <noreply@anthropic.com>
---
diff --git a/PyGreSQL.spec b/PyGreSQL.spec
index cf69f57..0b12580 100644
--- a/PyGreSQL.spec
+++ b/PyGreSQL.spec
@@ -36,11 +36,6 @@ Python code for accessing a PostgreSQL database.
%package -n python3-pygresql
Summary: %summary
-%{?python_provide:%python_provide python3-pygresql}
-# Remove before F30
-Provides: python3-PyGreSQL = %{uversion}-%{release}
-Provides: python3-PyGreSQL%{?_isa} = %{uversion}-%{release}
-Obsoletes: python3-PyGreSQL < %{uversion}-%{release}
%description -n python3-pygresql %_description
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-01 14:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-01 14:38 [rpms/PyGreSQL] rawhide: [cleanup] Remove stale F30-era Obsoletes/Provides and %python_provide Michal Schorm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox