no longer remove license; use cabal_test

This commit is contained in:
Jens Petersen 2016-09-27 19:15:57 +09:00
parent 007c3ebec3
commit 1183b56930
1 changed files with 1 additions and 7 deletions

View File

@ -72,8 +72,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
%prep
%setup -q -n %{pkg_name}-%{version}
@ -86,13 +84,9 @@ rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
%install
%ghc_lib_install
rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
%check
%if %{with tests}
%cabal test
%endif
%cabal_test
%post devel