4
0
forked from pool/ShellCheck

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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=70
This commit is contained in:
2020-09-04 15:09:50 +00:00
committed by Git OBS Bridge
parent f487d1d3e5
commit aa2877f116
5 changed files with 62 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package ShellCheck
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%global pkg_name ShellCheck
%bcond_with tests
Name: %{pkg_name}
Version: 0.7.0
Version: 0.7.1
Release: 0
Summary: Shell script analysis tool
License: GPL-3.0-or-later
@@ -41,6 +41,7 @@ BuildRequires: ghc-parsec-devel
BuildRequires: ghc-process-devel
BuildRequires: ghc-regex-tdfa-devel
BuildRequires: ghc-rpm-macros
BuildRequires: pandoc
%description
The goals of ShellCheck are:
@@ -71,7 +72,7 @@ Requires(postun): ghc-compiler = %{ghc_version}
This package provides the Haskell %{name} library development files.
%prep
%setup -q
%autosetup
%build
%ghc_lib_build
@@ -79,6 +80,7 @@ This package provides the Haskell %{name} library development files.
%install
%ghc_lib_install
%ghc_fix_rpath %{pkg_name}-%{version}
pandoc -s -f markdown-smart -t man shellcheck.1.md -o shellcheck.1
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
%check