diff --git a/ghc-HUnit.spec b/ghc-HUnit.spec index a95bb27..ca057c5 100644 --- a/ghc-HUnit.spec +++ b/ghc-HUnit.spec @@ -4,6 +4,9 @@ %bcond_without tests +# no useful debuginfo for Haskell packages without C sources +%global debug_package %{nil} + Name: ghc-%{pkg_name} # part of haskell-platform Version: 1.2.5.2 @@ -18,6 +21,9 @@ BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-deepseq-devel +%if %{with tests} +BuildRequires: ghc-filepath-devel +%endif # End cabal-rpm deps %description