diff --git a/ghc-safe.changes b/ghc-safe.changes
index b5d9372..c1c54f2 100644
--- a/ghc-safe.changes
+++ b/ghc-safe.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Tue Aug 18 10:45:55 UTC 2020 - Peter Simons <psimons@suse.com>
+
+- Replace %setup -q with the more modern %autosetup macro.
+
 -------------------------------------------------------------------
 Tue Jun  9 09:10:54 UTC 2020 - psimons@suse.com
 
diff --git a/ghc-safe.spec b/ghc-safe.spec
index b633378..2c91d7b 100644
--- a/ghc-safe.spec
+++ b/ghc-safe.spec
@@ -70,7 +70,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