|
|
@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
|
|
|
|
%global pkg_name ShellCheck
|
|
|
|
%global pkg_name ShellCheck
|
|
|
|
|
|
|
|
|
|
|
|
# re-enable after QuickCheck code moved out of main src files
|
|
|
|
# re-enable after QuickCheck code moved out of main src files
|
|
|
@ -11,9 +13,6 @@
|
|
|
|
# disable all tests for now to avoid linking QuickCheck
|
|
|
|
# disable all tests for now to avoid linking QuickCheck
|
|
|
|
%bcond_with tests
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
|
|
# no useful debuginfo for Haskell packages without C sources
|
|
|
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: %{pkg_name}
|
|
|
|
Name: %{pkg_name}
|
|
|
|
Version: 0.3.4
|
|
|
|
Version: 0.3.4
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
@ -21,7 +20,7 @@ Summary: Tool for checking common errors in POSIX shell scripts
|
|
|
|
|
|
|
|
|
|
|
|
License: AGPLv3+
|
|
|
|
License: AGPLv3+
|
|
|
|
URL: http://www.shellcheck.net/about.html
|
|
|
|
URL: http://www.shellcheck.net/about.html
|
|
|
|
Source0: http://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Patch0: ShellCheck-disable-TemplateHaskell-runTests.patch
|
|
|
|
Patch0: ShellCheck-disable-TemplateHaskell-runTests.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
@ -43,13 +42,13 @@ BuildRequires: pandoc
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
The goals of ShellCheck are:
|
|
|
|
The goals of ShellCheck are:
|
|
|
|
|
|
|
|
|
|
|
|
- To point out and clarify typical beginner's syntax issues,
|
|
|
|
* To point out and clarify typical beginner's syntax issues,
|
|
|
|
that causes a shell to give cryptic error messages.
|
|
|
|
that causes a shell to give cryptic error messages.
|
|
|
|
|
|
|
|
|
|
|
|
- To point out and clarify typical intermediate level semantic problems,
|
|
|
|
* To point out and clarify typical intermediate level semantic problems,
|
|
|
|
that causes a shell to behave strangely and counter-intuitively.
|
|
|
|
that causes a shell to behave strangely and counter-intuitively.
|
|
|
|
|
|
|
|
|
|
|
|
- To point out subtle caveats, corner cases and pitfalls, that may cause an
|
|
|
|
* To point out subtle caveats, corner cases and pitfalls, that may cause an
|
|
|
|
advanced user's otherwise working script to fail under future circumstances.
|
|
|
|
advanced user's otherwise working script to fail under future circumstances.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|