SHA256
1
0
forked from pool/ShellCheck

Synchronize builds with devel:languages:haskell:lts:7.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=11
This commit is contained in:
Peter Simons 2016-10-06 17:14:12 +00:00 committed by Git OBS Bridge
parent 8f2079d00a
commit 83f2a51ed2

View File

@ -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