diff --git a/hledger-1.21.tar.gz b/hledger-1.21.tar.gz
deleted file mode 100644
index 7622445..0000000
--- a/hledger-1.21.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5a57b05b3b934c781a6bb443611236e92b0ba03c0c0b67a515c933b2eb74cc1d
-size 850008
diff --git a/hledger-1.22.2.tar.gz b/hledger-1.22.2.tar.gz
new file mode 100644
index 0000000..9652b57
--- /dev/null
+++ b/hledger-1.22.2.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6f2c1cb7a596158a2a6a0acd73da044525a2f3e37909413d52fee8d79d293bbc
+size 875148
diff --git a/hledger.changes b/hledger.changes
index 7b7bbb4..88b2e5e 100644
--- a/hledger.changes
+++ b/hledger.changes
@@ -1,3 +1,36 @@
+-------------------------------------------------------------------
+Sun Aug  8 22:05:08 UTC 2021 - psimons@suse.com
+
+- Update hledger to version 1.22.2.
+  Upstream's change log file format is strange (too much unmodified
+  text at at the top). The automatic updater cannot extract the
+  relevant additions. You can find the file at:
+  http://hackage.haskell.org/package/hledger-1.22.2/src/CHANGES.md
+
+-------------------------------------------------------------------
+Wed Aug  4 08:17:38 UTC 2021 - psimons@suse.com
+
+- Update hledger to version 1.22.1.
+  Upstream's change log file format is strange (too much unmodified
+  text at at the top). The automatic updater cannot extract the
+  relevant additions. You can find the file at:
+  http://hackage.haskell.org/package/hledger-1.22.1/src/CHANGES.md
+
+-------------------------------------------------------------------
+Mon Jul 19 07:06:12 UTC 2021 - psimons@suse.com
+
+- Update hledger to version 1.22 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------
+Sat Jul 10 13:42:07 UTC 2021 - psimons@suse.com
+
+- Update hledger to version 1.22.
+  Upstream has edited the change log file since the last release in
+  a non-trivial way, i.e. they did more than just add a new entry
+  at the top. You can review the file at:
+  http://hackage.haskell.org/package/hledger-1.22/src/CHANGES.md
+
 -------------------------------------------------------------------
 Thu Mar 11 09:24:29 UTC 2021 - psimons@suse.com
 
diff --git a/hledger.spec b/hledger.spec
index ca9416f..971c9a1 100644
--- a/hledger.spec
+++ b/hledger.spec
@@ -19,7 +19,7 @@
 %global pkg_name hledger
 %bcond_with tests
 Name:           %{pkg_name}
-Version:        1.21
+Version:        1.22.2
 Release:        0
 Summary:        Command-line interface for the hledger accounting system
 License:        GPL-3.0-or-later
@@ -39,6 +39,7 @@ BuildRequires:  ghc-data-default-devel
 BuildRequires:  ghc-directory-devel
 BuildRequires:  ghc-extra-devel
 BuildRequires:  ghc-filepath-devel
+BuildRequires:  ghc-githash-devel
 BuildRequires:  ghc-hashable-devel
 BuildRequires:  ghc-haskeline-devel
 BuildRequires:  ghc-hledger-lib-devel