From 942a261a859e2b9fcc791b44962b5816cb25bdb95421bb067073f40964a58107 Mon Sep 17 00:00:00 2001
From: Peter Simons <peter.simons@suse.com>
Date: Tue, 11 Aug 2020 09:23:56 +0000
Subject: [PATCH] Accepting request 824796 from
 home:michel_mno:branches:devel:languages:haskell

- Add _constraints default min disk space to 4GB and
  memory constraints that differ per architecture.

OBS-URL: https://build.opensuse.org/request/show/824796
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=64
---
 ShellCheck.changes |  6 ++++++
 _constraints       | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 _constraints

diff --git a/ShellCheck.changes b/ShellCheck.changes
index 6e75fa7..a489778 100644
--- a/ShellCheck.changes
+++ b/ShellCheck.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Tue Aug  4 13:27:52 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>
+
+- Add _constraints default min disk space to 4GB and
+  memory constraints that differ per architecture.
+
 -------------------------------------------------------------------
 Tue Jun 16 11:13:33 UTC 2020 - Peter Simons <psimons@suse.com>
 
diff --git a/_constraints b/_constraints
new file mode 100644
index 0000000..6cd9201
--- /dev/null
+++ b/_constraints
@@ -0,0 +1,38 @@
+<constraints>
+  <hardware>
+    <disk>
+      <size unit="M">4600</size>
+    </disk>
+  </hardware>
+  <overwrite>
+    <conditions>
+      <arch>aarch64</arch>
+    </conditions>
+    <hardware>
+    <memory>
+      <size unit="G">6</size>
+    </memory>
+    </hardware>
+  </overwrite>
+  <overwrite>
+    <conditions>
+      <arch>ppc64</arch>
+      <arch>ppc64le</arch>
+    </conditions>
+    <hardware>
+    <memory>
+      <size unit="G">4</size>
+    </memory>
+    </hardware>
+  </overwrite>
+  <overwrite>
+    <conditions>
+      <arch>s390x</arch>
+    </conditions>
+    <hardware>
+    <memory>
+      <size unit="G">9</size>
+    </memory>
+    </hardware>
+  </overwrite>
+</constraints>