diff --git a/ghc-iso8601-time.changes b/ghc-iso8601-time.changes index 895ca5b..89ba768 100644 --- a/ghc-iso8601-time.changes +++ b/ghc-iso8601-time.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 4 10:40:13 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + ------------------------------------------------------------------- Fri Nov 8 16:14:05 UTC 2019 - Peter Simons diff --git a/ghc-iso8601-time.spec b/ghc-iso8601-time.spec index 56d02d0..53c4773 100644 --- a/ghc-iso8601-time.spec +++ b/ghc-iso8601-time.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-iso8601-time # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -48,9 +48,7 @@ Requires(postun): ghc-compiler = %{ghc_version} This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} -echo > Setup.hs 'import Distribution.Simple' -echo >>Setup.hs 'main = defaultMain' +%autosetup -n %{pkg_name}-%{version} %build %ghc_lib_build