enable testsuite using new cabal-tweak-remove-upperbound
This commit is contained in:
parent
c3996e340d
commit
8ade92caa1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user