Accepting request 826578 from server:database:postgresql

- We also transfer PostgreSQL 9.4.26 to the new package layout in
  SLE12-SP2 and newer. Reflect this in the conflict with
  postgresql94.

- Also conflict with PostgreSQL versions before 9.
- Conflicting with older versions is not limited to SLE.

- Bump version to 12.0.1, so that the binary packages also have
  a cut-point to conflict with.

- Bump package version to 12, but leave default at 10 for
  SLE-15 and SLE-15-SP1.

OBS-URL: https://build.opensuse.org/request/show/826578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/postgresql?expand=0&rev=58
This commit is contained in:
2020-08-15 19:13:20 +00:00
committed by Git OBS Bridge
2 changed files with 35 additions and 6 deletions

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Thu Aug 13 08:22:16 UTC 2020 - Reinhard Max <max@suse.com>
- We also transfer PostgreSQL 9.4.26 to the new package layout in
SLE12-SP2 and newer. Reflect this in the conflict with
postgresql94.
-------------------------------------------------------------------
Fri Jun 26 13:49:21 UTC 2020 - Reinhard Max <max@suse.com>
- Also conflict with PostgreSQL versions before 9.
- Conflicting with older versions is not limited to SLE.
-------------------------------------------------------------------
Tue Jun 16 12:17:33 UTC 2020 - Reinhard Max <max@suse.com>
- Bump version to 12.0.1, so that the binary packages also have
a cut-point to conflict with.
-------------------------------------------------------------------
Wed Jun 3 08:17:46 UTC 2020 - Reinhard Max <max@suse.com>
@@ -6,6 +25,12 @@ Wed Jun 3 08:17:46 UTC 2020 - Reinhard Max <max@suse.com>
May 2020 update, because we changed the package layout at that
point and need a clean cutover.
-------------------------------------------------------------------
Tue Mar 24 10:45:25 UTC 2020 - Reinhard Max <max@suse.com>
- Bump package version to 12, but leave default at 10 for
SLE-15 and SLE-15-SP1.
-------------------------------------------------------------------
Tue Dec 17 10:27:02 UTC 2019 - Reinhard Max <max@suse.com>

View File

@@ -16,7 +16,7 @@
#
%define pgmajor 12
%define defaultpackage postgresql%version
%define defaultpackage postgresql%pgmajor
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
@@ -40,7 +40,7 @@ Name: postgresql
Summary: Basic Clients and Utilities for PostgreSQL
License: PostgreSQL
Group: Productivity/Databases/Tools
Version: %pgmajor
Version: %pgmajor.0.1
Release: 0
Url: https://www.postgresql.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -48,15 +48,19 @@ Provides: postgresql-noarch = %version-%release
Requires: postgresql-implementation
Requires: update-alternatives
Recommends: %defaultpackage
%if 0%{?sle_version}
# At this point we changed the package layout on SLE and conflict with
# older releases to get a clean cut.
# In June 2020 we changed the package layout for PostgreSQL and
# conflict with older releases to get a clean cut-over.
Conflicts: postgresql < 9
Conflicts: postgresql90
Conflicts: postgresql91
Conflicts: postgresql92
Conflicts: postgresql93
Conflicts: postgresql94 < 9.4.26
Conflicts: postgresql95 < 9.5.22
Conflicts: postgresql96 < 9.6.18
Conflicts: postgresql10 < 10.13
Conflicts: postgresql11 < 11.8
Conflicts: postgresql12 < 12.3
%endif
BuildArch: noarch
Source0: postgresql-init
Source1: postgresql-sysconfig