diff --git a/ghc-errors.changes b/ghc-errors.changes
index 3ad130a..7711bce 100644
--- a/ghc-errors.changes
+++ b/ghc-errors.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Tue Aug 18 10:44:47 UTC 2020 - Peter Simons <psimons@suse.com>
+
+- Replace %setup -q with the more modern %autosetup macro.
+
 -------------------------------------------------------------------
 Tue Jun 16 11:14:06 UTC 2020 - Peter Simons <psimons@suse.com>
 
diff --git a/ghc-errors.spec b/ghc-errors.spec
index 0b9805c..aab586b 100644
--- a/ghc-errors.spec
+++ b/ghc-errors.spec
@@ -50,7 +50,7 @@ Requires(postun): ghc-compiler = %{ghc_version}
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build