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