fix dnf system-upgrade from f29 to f29+

We need to obsolete anything < 11.  Obsoleting version < 10.5 was
incorrect, because we keep updating 10.5 to 10.6, etc.

Version: 11.2-2
Resolves: rhbz#1677849
This commit is contained in:
Pavel Raiskup 2019-02-18 11:07:17 +01:00
parent 89f3f77be1
commit 7a13004cc5

View File

@ -1,10 +1,9 @@
%global obsoletes_version 10.5-4
%global majorversion 11
Summary: PostgreSQL client library
Name: libpq
Version: %majorversion.2
Release: 1%{?dist}
Release: 2%{?dist}
License: PostgreSQL
Url: http://www.postgresql.org/
@ -27,7 +26,7 @@ BuildRequires: openldap-devel
BuildRequires: gettext
BuildRequires: multilib-rpm-config
Obsoletes: postgresql-libs < %obsoletes_version
Obsoletes: postgresql-libs < %majorversion
Provides: postgresql-libs = %version-%release
@ -46,7 +45,7 @@ Requires: %name%{?_isa} = %version-%release
# most of the depending packages and the rest (those which want to build server
# modules) need to be fixed to require postgresql-server-devel package.
Provides: postgresql-devel = %version-%release
Obsoletes: postgresql-devel < %obsoletes_version
Obsoletes: postgresql-devel < %majorversion
%description devel
The libpq package provides the essential shared library for any PostgreSQL
@ -128,6 +127,9 @@ find_lang_bins %name-devel.lst pg_config
%changelog
* Mon Feb 18 2019 Pavel Raiskup <praiskup@redhat.com> - 11.2-2
- fix dnf system-upgrade from f29 to f29+, rhbz#1677849
* Thu Feb 14 2019 Pavel Raiskup <praiskup@redhat.com> - 11.2-1
- latest upstream release, per release notes:
https://www.postgresql.org/docs/11/static/release-11-1.html