4
0
forked from pool/ShellCheck

osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ShellCheck revision:11, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=55
This commit is contained in:
2019-12-29 02:01:35 +00:00
committed by Git OBS Bridge
parent 3cb8534104
commit 7ecc1bd6bc
2 changed files with 129 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ Release: 0
Summary: Shell script analysis tool
License: GPL-3.0-or-later
URL: https://hackage.haskell.org/package/%{name}
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
Source0: %{name}-%{version}.tar.gz
BuildRequires: chrpath
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-Diff-devel
@@ -72,7 +72,6 @@ This package provides the Haskell %{name} library development files.
%prep
%setup -q
rm Setup.hs
%build
%ghc_lib_build
@@ -80,6 +79,7 @@ rm Setup.hs
%install
%ghc_lib_install
%ghc_fix_rpath %{pkg_name}-%{version}
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
%check
%cabal_test
@@ -94,6 +94,7 @@ rm Setup.hs
%license LICENSE
%doc README.md
%{_bindir}/shellcheck
%{_mandir}/man1/shellcheck.1%{?ext_man}
%files -n ghc-%{name} -f ghc-%{name}.files
%license LICENSE