obsolete anything < %majorversion + 1
Resolves: rhbz#1707462 Version: 11.3-2
This commit is contained in:
parent
477e4bf001
commit
1674298550
10
libpq.spec
10
libpq.spec
@ -1,9 +1,10 @@
|
||||
%global majorversion 11
|
||||
%global obsoletes_version %( echo $(( %majorversion + 1 )) )
|
||||
|
||||
Summary: PostgreSQL client library
|
||||
Name: libpq
|
||||
Version: %majorversion.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
|
||||
License: PostgreSQL
|
||||
Url: http://www.postgresql.org/
|
||||
@ -26,7 +27,7 @@ BuildRequires: openldap-devel
|
||||
BuildRequires: gettext
|
||||
BuildRequires: multilib-rpm-config
|
||||
|
||||
Obsoletes: postgresql-libs < %majorversion
|
||||
Obsoletes: postgresql-libs < %obsoletes_version
|
||||
Provides: postgresql-libs = %version-%release
|
||||
|
||||
|
||||
@ -45,7 +46,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 < %majorversion
|
||||
Obsoletes: postgresql-devel < %obsoletes_version
|
||||
|
||||
%description devel
|
||||
The libpq package provides the essential shared library for any PostgreSQL
|
||||
@ -127,6 +128,9 @@ find_lang_bins %name-devel.lst pg_config
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri May 10 2019 Pavel Raiskup <praiskup@redhat.com> - 11.3-2
|
||||
- obsolete anything < %%majorversion+1
|
||||
|
||||
* Thu May 09 2019 Patrik Novotný <panovotn@redhat.com> - 11.3-1
|
||||
- New upstream version 11.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user