use -package Cabal to build Setup

epel9
Jens Petersen 5 years ago
parent 2e646e6ade
commit 3e574ed460

@ -10,8 +10,8 @@
#%%global without_hscolour 1
Name: ghc-rpm-macros
Version: 2.0.6
Release: 2%{?dist}
Version: 2.0.7
Release: 1%{?dist}
Summary: RPM macros for building Haskell packages for GHC
License: GPLv3+
@ -211,6 +211,9 @@ EOF
%changelog
* Mon Apr 27 2020 Jens Petersen <petersen@redhat.com> - 2.0.7-1
- use -package Cabal to build Setup
* Tue Mar 3 2020 Jens Petersen <petersen@redhat.com> - 2.0.6-2
- obsolete ghc-cabal-helper, ghc-cabal-plan, ghc-derive
- unobsolete ghc-hgettext

@ -2,7 +2,7 @@
# see https://fedoraproject.org/wiki/Packaging:Haskell for more details
# "cabal"
%cabal [ -x Setup ] || ghc --make -no-user-package-db %{!?ghc_static_setup:-dynamic} Setup\
%cabal [ -x Setup ] || ghc --make -package Cabal -no-user-package-db %{!?ghc_static_setup:-dynamic} Setup\
LANG=C.utf8\
./Setup

Loading…
Cancel
Save