diff --git a/ghc-zlib.spec b/ghc-zlib.spec index 004d63e..98c4523 100644 --- a/ghc-zlib.spec +++ b/ghc-zlib.spec @@ -4,8 +4,7 @@ %global pkg_name zlib %global pkgver %{pkg_name}-%{version} -# old tasty* upperbounds -%bcond_with tests +%bcond_without tests Name: ghc-%{pkg_name} Version: 0.6.2 @@ -84,6 +83,11 @@ This package provides the Haskell %{pkg_name} profiling library. # End cabal-rpm setup #remove the copy library rm -r cbits +%if %{with tests} +cabal-tweak-remove-upperbound tasty +cabal-tweak-remove-upperbound tasty-hunit +cabal-tweak-remove-upperbound tasty-quickcheck +%endif %build