diff --git a/_constraints b/_constraints
index ba02297..4496146 100644
--- a/_constraints
+++ b/_constraints
@@ -1,7 +1,7 @@
- 4
+ 5
diff --git a/ghc-hledger-lib.changes b/ghc-hledger-lib.changes
index 0fdb80a..fa6f09e 100644
--- a/ghc-hledger-lib.changes
+++ b/ghc-hledger-lib.changes
@@ -1,3 +1,14 @@
+-------------------------------------------------------------------
+Tue Sep 7 08:28:49 UTC 2021 - Guillaume GARDET
+
+- Increase RAM required in _constraints to match the current
+ requirements and avoid OOM errors seen on aarch64
+
+-------------------------------------------------------------------
+Tue Sep 7 03:45:51 UTC 2021 - Ondřej Súkup
+
+- relax dependency on base-compat-batteries
+
-------------------------------------------------------------------
Sun Aug 8 22:05:02 UTC 2021 - psimons@suse.com
diff --git a/ghc-hledger-lib.spec b/ghc-hledger-lib.spec
index 1a525cb..96eca12 100644
--- a/ghc-hledger-lib.spec
+++ b/ghc-hledger-lib.spec
@@ -93,6 +93,7 @@ This package provides the Haskell %{pkg_name} library development files.
%prep
%autosetup -n %{pkg_name}-%{version}
+cabal-tweak-dep-ver 'base-compat-batteries' '<0.12' '<0.13'
%build
%ghc_lib_build