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

View File

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