Accepting request 811567 from home:rmax:branches:server:database:postgresql
- Disable LLVM on SLE (bsc#1172274). - Conflict with versions of the binary packages prior to the May 2020 update, because we changed the package layout at that point and need a clean cutover. OBS-URL: https://build.opensuse.org/request/show/811567 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql?expand=0&rev=121
This commit is contained in:
parent
b7322d4c9b
commit
4e0ca66ec2
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 3 08:17:46 UTC 2020 - Reinhard Max <max@suse.com>
|
||||||
|
|
||||||
|
- Disable LLVM on SLE (bsc#1172274).
|
||||||
|
- Conflict with versions of the binary packages prior to the
|
||||||
|
May 2020 update, because we changed the package layout at that
|
||||||
|
point and need a clean cutover.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 17 10:27:02 UTC 2019 - Reinhard Max <max@suse.com>
|
Tue Dec 17 10:27:02 UTC 2019 - Reinhard Max <max@suse.com>
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%define pgmajor 12
|
||||||
%define defaultpackage postgresql%version
|
%define defaultpackage postgresql%version
|
||||||
|
|
||||||
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
@ -28,11 +29,18 @@
|
|||||||
%bcond_with systemd
|
%bcond_with systemd
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?is_opensuse} && 0%{?suse_version} >= 1500 && %pgmajor >= 11 && %pgmajor < 90
|
||||||
|
%bcond_without llvm
|
||||||
|
%else
|
||||||
|
# LLVM is currently unsupported on SLE, so don't use it
|
||||||
|
%bcond_with llvm
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: postgresql
|
Name: postgresql
|
||||||
Summary: Basic Clients and Utilities for PostgreSQL
|
Summary: Basic Clients and Utilities for PostgreSQL
|
||||||
License: PostgreSQL
|
License: PostgreSQL
|
||||||
Group: Productivity/Databases/Tools
|
Group: Productivity/Databases/Tools
|
||||||
Version: 12
|
Version: %pgmajor
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: https://www.postgresql.org/
|
Url: https://www.postgresql.org/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -40,6 +48,15 @@ Provides: postgresql-noarch = %version-%release
|
|||||||
Requires: postgresql-implementation
|
Requires: postgresql-implementation
|
||||||
Requires: update-alternatives
|
Requires: update-alternatives
|
||||||
Recommends: %defaultpackage
|
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.
|
||||||
|
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
|
BuildArch: noarch
|
||||||
Source0: postgresql-init
|
Source0: postgresql-init
|
||||||
Source1: postgresql-sysconfig
|
Source1: postgresql-sysconfig
|
||||||
@ -426,9 +443,11 @@ fi
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README
|
%doc README
|
||||||
|
|
||||||
|
%if %{with llvm}
|
||||||
%files llvmjit
|
%files llvmjit
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README
|
%doc README
|
||||||
|
%endif
|
||||||
|
|
||||||
%files plperl
|
%files plperl
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
Reference in New Issue
Block a user