From 8dac32c60ebcf5b8d19070ca5a90d2a5fa2e428a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 16 May 2014 23:15:00 +0900 Subject: [PATCH] add (redundant) generated BR for tests --- ghc-HUnit.spec | 6 ++++++ 1 file changed, 6 insertions(+) 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