no longer remove license; use cabal_test
This commit is contained in:
parent
007c3ebec3
commit
1183b56930
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue