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:
parent
89f3f77be1
commit
7a13004cc5
10
libpq.spec
10
libpq.spec
@ -1,10 +1,9 @@
|
|||||||
%global obsoletes_version 10.5-4
|
|
||||||
%global majorversion 11
|
%global majorversion 11
|
||||||
|
|
||||||
Summary: PostgreSQL client library
|
Summary: PostgreSQL client library
|
||||||
Name: libpq
|
Name: libpq
|
||||||
Version: %majorversion.2
|
Version: %majorversion.2
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
|
|
||||||
License: PostgreSQL
|
License: PostgreSQL
|
||||||
Url: http://www.postgresql.org/
|
Url: http://www.postgresql.org/
|
||||||
@ -27,7 +26,7 @@ BuildRequires: openldap-devel
|
|||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: multilib-rpm-config
|
BuildRequires: multilib-rpm-config
|
||||||
|
|
||||||
Obsoletes: postgresql-libs < %obsoletes_version
|
Obsoletes: postgresql-libs < %majorversion
|
||||||
Provides: postgresql-libs = %version-%release
|
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
|
# 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.
|
# modules) need to be fixed to require postgresql-server-devel package.
|
||||||
Provides: postgresql-devel = %version-%release
|
Provides: postgresql-devel = %version-%release
|
||||||
Obsoletes: postgresql-devel < %obsoletes_version
|
Obsoletes: postgresql-devel < %majorversion
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The libpq package provides the essential shared library for any PostgreSQL
|
The libpq package provides the essential shared library for any PostgreSQL
|
||||||
@ -128,6 +127,9 @@ find_lang_bins %name-devel.lst pg_config
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Feb 14 2019 Pavel Raiskup <praiskup@redhat.com> - 11.2-1
|
||||||
- latest upstream release, per release notes:
|
- latest upstream release, per release notes:
|
||||||
https://www.postgresql.org/docs/11/static/release-11-1.html
|
https://www.postgresql.org/docs/11/static/release-11-1.html
|
||||||
|
Loading…
Reference in New Issue
Block a user