From 373c46affc4fac59e2aecc2b0e11fb76c37475ce Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 27 Sep 2016 18:33:45 +0900 Subject: [PATCH] no longer remove license and use cabal_test --- ShellCheck.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ShellCheck.spec b/ShellCheck.spec index ce87e5e..aae693c 100644 --- a/ShellCheck.spec +++ b/ShellCheck.spec @@ -78,13 +78,9 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 %ghc_fix_dynamic_rpath shellcheck -rm %{buildroot}%{ghc_pkgdocdir}/LICENSE - %check -%if %{with tests} -%cabal test -%endif +%cabal_test %post -n ghc-%{name}-devel