From 228068a0a61efda1bf89d690ce45da96b0fe39a4794bcc31efd4b9b9b9626f4f Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 19 Aug 2020 01:01:54 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-network-bsd revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-network-bsd?expand=0&rev=6 --- ghc-network-bsd.changes | 5 +++++ ghc-network-bsd.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ghc-network-bsd.changes b/ghc-network-bsd.changes index 786b967..71f0518 100644 --- a/ghc-network-bsd.changes +++ b/ghc-network-bsd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Aug 18 10:45:33 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + ------------------------------------------------------------------- Tue Aug 18 09:12:22 UTC 2020 - Peter Simons diff --git a/ghc-network-bsd.spec b/ghc-network-bsd.spec index 516b66f..91234d8 100644 --- a/ghc-network-bsd.spec +++ b/ghc-network-bsd.spec @@ -78,8 +78,9 @@ 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} cp -p %{SOURCE1} %{pkg_name}.cabal +sed -i -e 's/< 3.1.2/< 4/' network-bsd.cabal %build %ghc_lib_build