Rebuild to add the automatically generated Obsoletes tag with the python39- prefix for smoother upgrade from RHEL8

This commit is contained in:
Tomáš Hrnčiar 2022-02-08 12:26:55 +01:00 committed by Stepan Oksanichenko
parent da15d49225
commit c677371178
2 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1 @@
6230aedfe58e8d5d132b01ac065f47284b21d78c psycopg2-2.8.6.tar.gz

View File

@ -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 <thrnciar@redhat.com> - 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 <mboddu@redhat.com> - 2.8.6-5
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688