From 7a13004cc5314113b7f708f61e245ce0977e2125 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 18 Feb 2019 11:07:17 +0100 Subject: [PATCH] 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 --- libpq.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libpq.spec b/libpq.spec index 6223fc3..2731824 100644 --- a/libpq.spec +++ b/libpq.spec @@ -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 - 11.2-2 +- fix dnf system-upgrade from f29 to f29+, rhbz#1677849 + * Thu Feb 14 2019 Pavel Raiskup - 11.2-1 - latest upstream release, per release notes: https://www.postgresql.org/docs/11/static/release-11-1.html