diff --git a/ghc-cryptohash-sha256.changes b/ghc-cryptohash-sha256.changes
index 2087e58..080ed91 100644
--- a/ghc-cryptohash-sha256.changes
+++ b/ghc-cryptohash-sha256.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Tue Aug 18 10:44:31 UTC 2020 - Peter Simons <psimons@suse.com>
+
+- Replace %setup -q with the more modern %autosetup macro.
+
 -------------------------------------------------------------------
 Tue Jun 16 11:13:57 UTC 2020 - Peter Simons <psimons@suse.com>
 
diff --git a/ghc-cryptohash-sha256.spec b/ghc-cryptohash-sha256.spec
index 0480be2..55db478 100644
--- a/ghc-cryptohash-sha256.spec
+++ b/ghc-cryptohash-sha256.spec
@@ -96,7 +96,7 @@ This package provides the Haskell %{pkg_name} library development
 files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build