allow dynamic linking of Setup with ghc_without_shared set

epel9
Jens Petersen 13 years ago
parent 488948b8d7
commit ab41e2f6c8

@ -2,7 +2,7 @@
# see https://fedoraproject.org/wiki/PackagingDrafts/Haskell for more details
# "cabal"
%cabal [ -x Setup ] || ghc --make %{!?ghc_user_conf:-no-user-package-conf} %{!?ghc_without_shared:%{!?ghc_without_dynamic:-dynamic}} Setup\
%cabal [ -x Setup ] || ghc --make %{!?ghc_user_conf:-no-user-package-conf} %{!?ghc_without_dynamic:-dynamic} Setup\
./Setup
# check ghc version was rebuilt against self

@ -3,7 +3,7 @@
%global macros_file %{_sysconfdir}/rpm/macros.ghc
Name: ghc-rpm-macros
Version: 0.15.3
Version: 0.15.4
Release: 1%{?dist}
Summary: Macros for building packages for GHC
@ -59,6 +59,9 @@ EOF
%changelog
* Thu Jan 19 2012 Jens Petersen <petersen@redhat.com> - 0.15.4-1
- allow dynamic linking of Setup with ghc_without_shared set
* Fri Jan 6 2012 Jens Petersen <petersen@redhat.com> - 0.15.3-1
- new ghc_add_basepkg_file to add a path to base lib package filelist

Loading…
Cancel
Save