diff --git a/haskell-platform.spec b/haskell-platform.spec index 6525b5e..f25aff7 100644 --- a/haskell-platform.spec +++ b/haskell-platform.spec @@ -146,6 +146,7 @@ hand-written or generated by another program). # devel subpackage +%define ghc_without_shared 1 %ghc_devel_package haskell-platform %{version} %{?ghc_packages_list:Requires: %(echo %{ghc_packages_list} | sed -e "s/\([^ ]*\)-\([^ ]*\)/ghc-\1-devel = \2-%{release},/g")} Requires: ghc-libraries = %{ghc_compiler_version} @@ -282,8 +283,11 @@ cd .. %{_sysconfdir}/profile.d/cabal-install.sh +# protect for koji +%if %{defined ghc_devel_files} %files -n ghc-haskell-platform-devel -f ghc-haskell-platform-devel.files %doc packages/haskell-platform-%{version}/LICENSE +%endif %files -n happy