|
|
@ -14,14 +14,14 @@ LANG=C.utf8\
|
|
|
|
# ghc_bin_build: -W: use default ghc (ie ignore ghc_name)
|
|
|
|
# ghc_bin_build: -W: use default ghc (ie ignore ghc_name)
|
|
|
|
%ghc_bin_build(W)\
|
|
|
|
%ghc_bin_build(W)\
|
|
|
|
%ghc_fix_doc_perms\
|
|
|
|
%ghc_fix_doc_perms\
|
|
|
|
%{?!ghc_debuginfo:%undefine _enable_debug_packages}\
|
|
|
|
%{?!ghc_debuginfo:%global debug_package %{nil}}\
|
|
|
|
%cabal_configure\
|
|
|
|
%cabal_configure\
|
|
|
|
%cabal build %{?ghc_smp_mflags} %{?cabal_build_options}
|
|
|
|
%cabal build %{?ghc_smp_mflags} %{?cabal_build_options}
|
|
|
|
|
|
|
|
|
|
|
|
# ghc_lib_build_without_haddock [name] [version]
|
|
|
|
# ghc_lib_build_without_haddock [name] [version]
|
|
|
|
%ghc_lib_build_without_haddock()\
|
|
|
|
%ghc_lib_build_without_haddock()\
|
|
|
|
%ghc_fix_doc_perms\
|
|
|
|
%ghc_fix_doc_perms\
|
|
|
|
%{?!ghc_debuginfo:%undefine _enable_debug_packages}\
|
|
|
|
%{?!ghc_debuginfo:%global debug_package %{nil}}\
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} < 8\
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} < 8\
|
|
|
|
licensedirversion=%{?2:-%2}\
|
|
|
|
licensedirversion=%{?2:-%2}\
|
|
|
|
%endif\
|
|
|
|
%endif\
|
|
|
|