From da89ed430863143680e052b4ebd85a4c6898c2c95f8e31976cac8083b5e9456d Mon Sep 17 00:00:00 2001
From: Peter Simons <peter.simons@suse.com>
Date: Wed, 19 Aug 2020 01:00:50 +0000
Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x
 package:ghc-Decimal revision:3, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-Decimal?expand=0&rev=3
---
 ghc-Decimal.changes | 5 +++++
 ghc-Decimal.spec    | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ghc-Decimal.changes b/ghc-Decimal.changes
index 411c75a..6ec4844 100644
--- a/ghc-Decimal.changes
+++ b/ghc-Decimal.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Tue Aug 18 10:43:45 UTC 2020 - Peter Simons <psimons@suse.com>
+
+- Replace %setup -q with the more modern %autosetup macro.
+
 -------------------------------------------------------------------
 Tue Jun  9 09:26:36 UTC 2020 - psimons@suse.com
 
diff --git a/ghc-Decimal.spec b/ghc-Decimal.spec
index a282bd8..91489ad 100644
--- a/ghc-Decimal.spec
+++ b/ghc-Decimal.spec
@@ -51,7 +51,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