diff --git a/ghc-emojis.changes b/ghc-emojis.changes index 0f836a9..0553aab 100644 --- a/ghc-emojis.changes +++ b/ghc-emojis.changes @@ -1,19 +1,3 @@ -------------------------------------------------------------------- -Tue Aug 18 10:44:45 UTC 2020 - Peter Simons - -- Replace %setup -q with the more modern %autosetup macro. - -------------------------------------------------------------------- -Tue Jun 16 11:14:05 UTC 2020 - Peter Simons - -- Re-generate file with latest version of spec-cleaner. - -------------------------------------------------------------------- -Thu May 7 07:48:19 UTC 2020 - Peter Simons - -- Drop obsolete %setup hack to work around a missing Setup.hs file. - New ghc-rpm-macros do this automatically. - ------------------------------------------------------------------- Sat Dec 21 19:56:52 UTC 2019 - psimons@suse.com diff --git a/ghc-emojis.spec b/ghc-emojis.spec index 763bb1d..7f2b2b5 100644 --- a/ghc-emojis.spec +++ b/ghc-emojis.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-emojis # -# 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 @@ -55,7 +55,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