From 83f2a51ed2b69b0d6d276a9ca7272f822281b7a64bd3a421e648a4b6cc2806b6 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 6 Oct 2016 17:14:12 +0000 Subject: [PATCH] Synchronize builds with devel:languages:haskell:lts:7. OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=11 --- ShellCheck.spec | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ShellCheck.spec b/ShellCheck.spec index 0adc3a5..c39bc68 100644 --- a/ShellCheck.spec +++ b/ShellCheck.spec @@ -26,7 +26,6 @@ License: GPL-3.0+ Group: Development/Languages/Other Url: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz -# Begin cabal-rpm deps: BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-QuickCheck-devel @@ -39,7 +38,6 @@ BuildRequires: ghc-process-devel BuildRequires: ghc-regex-tdfa-devel BuildRequires: ghc-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build -# End cabal-rpm deps %description The goals of ShellCheck are: @@ -74,23 +72,16 @@ This package provides the Haskell %{name} library development files. %prep %setup -q - %build %ghc_lib_build - %install %ghc_lib_install - %ghc_fix_dynamic_rpath shellcheck - install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 %check -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %post -n ghc-%{name}-devel %ghc_pkg_recache