From d78ab9d5183f74c2f2a6476acaa905b4680802ff Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sep 27 2016 10:16:01 +0000 Subject: no longer remove license; use cabal_test --- diff --git a/xmonad.spec b/xmonad.spec index 84ad0d0..859d187 100644 --- a/xmonad.spec +++ b/xmonad.spec @@ -172,13 +172,9 @@ rm %{buildroot}%{_datadir}/%{name}-%{version}/man/xmonad.{hs,1,1.html} %ghc_fix_dynamic_rpath %{pkg_name} -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE - %check -%if %{with tests} -%cabal test -%endif +%cabal_test %post -n ghc-%{name}-devel