diff --git a/ghc-xml-conduit.spec b/ghc-xml-conduit.spec index 4a7308f..006aeb7 100644 --- a/ghc-xml-conduit.spec +++ b/ghc-xml-conduit.spec @@ -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