From 9d7b57ef287f7f6b9a299d3bfbf1703ee00c9fb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hrn=C4=8Diar?= Date: Tue, 8 Feb 2022 12:26:55 +0100 Subject: [PATCH] Rebuild to add the automatically generated Obsoletes tag with the python39- prefix for smoother upgrade from RHEL8 Related: rhbz#1990421 --- python-psycopg2.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/python-psycopg2.spec b/python-psycopg2.spec index 22a7051..07e3cc5 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -50,7 +50,7 @@ features offered by PostgreSQL. Summary: %{sum} Name: python-%{srcname} Version: 2.8.6 -Release: 5%{?dist} +Release: 6%{?dist} # The exceptions allow linking to OpenSSL and PostgreSQL's libpq License: LGPLv3+ with exceptions Url: http://initd.org/psycopg/ @@ -144,6 +144,9 @@ Summary: Documentation for psycopg python PostgreSQL database adapter %{?with_python2:Provides: python2-%{srcname}-doc = %{version}-%{release}} %{?with_python3:Provides: python3-%{srcname}-doc = %{version}-%{release}} +# For a smoother upgrade from RHEL 8 +%{?with_python3:Obsoletes: python39-psycopg2-doc < %{version}-%{release}} + %description doc Documentation and example files for the psycopg python PostgreSQL database adapter. @@ -298,6 +301,12 @@ done %changelog +* Tue Feb 08 2022 Tomáš Hrnčiar - 2.8.6-6 +- Add automatically generated Obsoletes tag with the python39- prefix + for smoother upgrade from RHEL8 +- Add manual Obsoletes for python39-psycopg2-doc +- Related: rhbz#1990421 + * Tue Aug 10 2021 Mohan Boddu - 2.8.6-5 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688