diff --git a/ghc-blaze-html.spec b/ghc-blaze-html.spec
index 7e44f88..00a7741 100644
--- a/ghc-blaze-html.spec
+++ b/ghc-blaze-html.spec
@@ -59,13 +59,9 @@ This package provides the Haskell %{pkg_name} library development files.
%install
%ghc_lib_install
-rm %{buildroot}%{ghc_pkgdocdir}/LICENSE
-
%check
-%if %{with tests}
-%cabal test
-%endif
+%cabal_test
%post devel