|
|
|
@ -1,3 +1,6 @@
|
|
|
|
|
# link with shared libs
|
|
|
|
|
%bcond_without dynamic
|
|
|
|
|
|
|
|
|
|
# ghc does not emit debug information
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
@ -28,7 +31,7 @@ expressions. It is similar to the tool lex or flex for C/C++.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cabal_configure --ghc-option=-dynamic
|
|
|
|
|
%cabal_configure %{?with_dynamic:--ghc-option=-dynamic}
|
|
|
|
|
%cabal build
|
|
|
|
|
|
|
|
|
|
cd doc
|
|
|
|
@ -55,6 +58,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Dec 22 2009 Jens Petersen <petersen@redhat.com>
|
|
|
|
|
- add bcond for dynamic linking
|
|
|
|
|
|
|
|
|
|
* Mon Dec 21 2009 Jens Petersen <petersen@redhat.com> - 2.3.1-7
|
|
|
|
|
- build dynamically with ghc-6.12.1
|
|
|
|
|
|
|
|
|
|