diff --git a/HsYAML-aeson.cabal b/HsYAML-aeson.cabal
index eeedc86..661edda 100644
--- a/HsYAML-aeson.cabal
+++ b/HsYAML-aeson.cabal
@@ -1,7 +1,7 @@
 cabal-version:       2.2
 name:                HsYAML-aeson
 version:             0.2.0.1
-x-revision: 4
+x-revision: 5
 license:             GPL-2.0-or-later
 license-file:        LICENSE.GPLv2
 author:              Herbert Valerio Riedel
@@ -51,7 +51,7 @@ library
   build-depends:
     , HsYAML      ^>= 0.2.0
     , aeson       ^>= 1.4.0.0 || ^>= 1.5.0.0 || ^>= 2.0.0.0 || ^>= 2.1.0.0
-    , base         >= 4.5 && < 4.17
+    , base         >= 4.5 && < 4.18
     , bytestring  ^>= 0.9.2.1 || ^>= 0.10.0.2 || ^>= 0.11.0.0
     , containers   >=0.4.2 && <0.7
     , mtl         ^>= 2.2.1 || ^>= 2.3
diff --git a/ghc-HsYAML-aeson.changes b/ghc-HsYAML-aeson.changes
index 33faa57..bbfb62e 100644
--- a/ghc-HsYAML-aeson.changes
+++ b/ghc-HsYAML-aeson.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Tue Aug  9 22:16:38 UTC 2022 - Peter Simons <psimons@suse.com>
+
+- Update HsYAML-aeson to version 0.2.0.1 revision 5.
+  Upstream has revised the Cabal build instructions on Hackage.
+
 -------------------------------------------------------------------
 Mon Jun 20 11:03:24 UTC 2022 - Peter Simons <psimons@suse.com>
 
diff --git a/ghc-HsYAML-aeson.spec b/ghc-HsYAML-aeson.spec
index c601b87..ecc36c8 100644
--- a/ghc-HsYAML-aeson.spec
+++ b/ghc-HsYAML-aeson.spec
@@ -24,7 +24,7 @@ Summary:        JSON to YAML Adapter
 License:        GPL-2.0-or-later
 URL:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:        https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/4.cabal#/%{pkg_name}.cabal
+Source1:        https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/5.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-HsYAML-devel
 BuildRequires:  ghc-aeson-devel