From 8ade92caa125b7e0e649616c22d0c4d3c4d413ea Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 13 Aug 2019 17:53:10 +0200 Subject: [PATCH] enable testsuite using new cabal-tweak-remove-upperbound --- ghc-zlib.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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