enable testsuite using new cabal-tweak-remove-upperbound

This commit is contained in:
Jens Petersen 2019-08-13 17:53:10 +02:00
parent c3996e340d
commit 8ade92caa1
1 changed files with 6 additions and 2 deletions

View File

@ -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