enable testsuite using new cabal-tweak-remove-upperbound

epel9
Jens Petersen 6 years ago
parent c3996e340d
commit 8ade92caa1

@ -4,8 +4,7 @@
%global pkg_name zlib %global pkg_name zlib
%global pkgver %{pkg_name}-%{version} %global pkgver %{pkg_name}-%{version}
# old tasty* upperbounds %bcond_without tests
%bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.6.2 Version: 0.6.2
@ -84,6 +83,11 @@ This package provides the Haskell %{pkg_name} profiling library.
# End cabal-rpm setup # End cabal-rpm setup
#remove the copy library #remove the copy library
rm -r cbits 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 %build

Loading…
Cancel
Save