- boo#1190740: Add constraints file with 8GB memory for s390x as

a workaround for a memory issue with LLVM

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=57
This commit is contained in:
Reinhard Max 2021-10-21 15:49:58 +00:00 committed by Git OBS Bridge
parent 7421b994f5
commit 160833f625
3 changed files with 31 additions and 6 deletions

19
_constraints Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<constraints>
<hardware>
<memory>
<size unit="G">4</size>
</memory>
</hardware>
<overwrite>
<conditions>
<arch>s390x</arch>
</conditions>
<hardware>
<memory>
<size unit="G">8</size>
</memory>
</hardware>
</overwrite>
</constraints>

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Oct 21 13:24:26 UTC 2021 - Sarah Kriesch <sarah.kriesch@opensuse.org>
- boo#1190740: Add constraints file with 8GB memory for s390x as
a workaround for a memory issue with LLVM
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 27 14:15:20 UTC 2021 - Reinhard Max <max@suse.com> Mon Sep 27 14:15:20 UTC 2021 - Reinhard Max <max@suse.com>

View File

@ -1,5 +1,5 @@
# #
# spec file for package postgresql12 # spec file
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
@ -154,7 +154,7 @@ Provides: postgresql = %version-%release
Provides: postgresql-implementation = %version-%release Provides: postgresql-implementation = %version-%release
Requires: %libpq >= %version Requires: %libpq >= %version
Requires(post): postgresql-noarch >= %pgmajor Requires(post): postgresql-noarch >= %pgmajor
Requires(postun): postgresql-noarch >= %pgmajor Requires(postun):postgresql-noarch >= %pgmajor
# At this point we changed the package layout on SLE and conflict with # At this point we changed the package layout on SLE and conflict with
# older releases to get a clean cut. # older releases to get a clean cut.
Conflicts: postgresql-noarch < 12.0.1 Conflicts: postgresql-noarch < 12.0.1
@ -243,7 +243,7 @@ Provides: %pgname-server-devel = %version-%release
Provides: postgresql-server-devel = %version-%release Provides: postgresql-server-devel = %version-%release
Provides: postgresql-server-devel-implementation = %version-%release Provides: postgresql-server-devel-implementation = %version-%release
Requires(post): postgresql-server-noarch >= %pgmajor Requires(post): postgresql-server-noarch >= %pgmajor
Requires(postun): postgresql-server-noarch >= %pgmajor Requires(postun):postgresql-server-noarch >= %pgmajor
Requires: %pgname-devel = %version Requires: %pgname-devel = %version
Requires: %pgname-server = %version-%release Requires: %pgname-server = %version-%release
# Installation of postgresql??-devel is exclusive # Installation of postgresql??-devel is exclusive
@ -302,10 +302,10 @@ Recommends: %{name}-llvmjit
Provides: postgresql-server-implementation = %version-%release Provides: postgresql-server-implementation = %version-%release
Requires: %libpq >= %version Requires: %libpq >= %version
Requires(pre): postgresql-server-noarch >= %pgmajor Requires(pre): postgresql-server-noarch >= %pgmajor
Requires(preun): postgresql-server-noarch >= %pgmajor Requires(preun):postgresql-server-noarch >= %pgmajor
Requires(postun): postgresql-server-noarch >= %pgmajor Requires(postun):postgresql-server-noarch >= %pgmajor
Requires(post): postgresql-noarch >= %pgmajor Requires(post): postgresql-noarch >= %pgmajor
Requires(postun): postgresql-noarch >= %pgmajor Requires(postun):postgresql-noarch >= %pgmajor
%description server %description server
PostgreSQL is an advanced object-relational database management system PostgreSQL is an advanced object-relational database management system