From 1c4bc1a66b3d23f74921ac4df136747ba4c3abb176e7909ae56cdac49da2691d Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 4 Sep 2020 15:10:27 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-emojis revision:9, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-emojis?expand=0&rev=15 --- ghc-emojis.changes | 16 ++++++++++++++++ ghc-emojis.spec | 6 ++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/ghc-emojis.changes b/ghc-emojis.changes index 0553aab..0f836a9 100644 --- a/ghc-emojis.changes +++ b/ghc-emojis.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +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 7f2b2b5..763bb1d 100644 --- a/ghc-emojis.spec +++ b/ghc-emojis.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-emojis # -# 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 @@ -55,9 +55,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