Accepting request 609837 from devel:languages:haskell
Update ShellCheck to latest version. OBS-URL: https://build.opensuse.org/request/show/609837 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ShellCheck?expand=0&rev=10
This commit is contained in:
commit
4a46dc1074
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:184955264d42c5dca0300fb9688b9a6c9a1c70c345dbcd8e30bb48a049a70d7c
|
oid sha256:d5a22c9be927b25e0a2cac188d7c9bd40fd7dbc420bdaa7dc76988505fb0c73a
|
||||||
size 126593
|
size 171980
|
||||||
|
@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 16 14:36:30 UTC 2018 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update to version v0.4.7-106-g235bf66 from Github to fix the
|
||||||
|
build with GHC 8.4.x.
|
||||||
|
|
||||||
|
* Added:
|
||||||
|
SC2232: Warn about invalid arguments to sudo
|
||||||
|
SC2231: Suggest quoting expansions in for loop globs
|
||||||
|
SC2229: Warn about 'read $var'
|
||||||
|
SC2227: Warn about redirections in the middle of 'find' commands
|
||||||
|
SC2224,SC2225,SC2226: Warn when using mv/cp/ln without a destination
|
||||||
|
SC2223: Quote warning specific to : ${var=value}
|
||||||
|
SC1131: Warn when using elseif or elsif
|
||||||
|
SC1128: Warn about blanks/comments before shebang
|
||||||
|
SC1127: Warn about C-style comments
|
||||||
|
|
||||||
|
* Fixed:
|
||||||
|
Annotations intended for a command's here documents now work
|
||||||
|
Escaped characters inside groups in =~ regexes now parse
|
||||||
|
Associative arrays are now respected in arithmetic contexts
|
||||||
|
SC1087 about $var[@] now correctly triggers on any index
|
||||||
|
Bad expansions in here documents are no longer ignored
|
||||||
|
FD move operations like {fd}>1- now parse correctly
|
||||||
|
|
||||||
|
* Changed:
|
||||||
|
SC1073: 'else if' is now parsed correctly and not like 'elif'
|
||||||
|
SC2163: 'export $name' can now be silenced with 'export ${name?}'
|
||||||
|
SC2183: Now warns when printf arg count is not a multiple of format count
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 12 10:15:44 UTC 2018 - guillaume@opensuse.org
|
Thu Apr 12 10:15:44 UTC 2018 - guillaume@opensuse.org
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ Summary: Shell script analysis tool
|
|||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: Development/Libraries/Haskell
|
Group: Development/Libraries/Haskell
|
||||||
URL: https://hackage.haskell.org/package/%{name}
|
URL: https://hackage.haskell.org/package/%{name}
|
||||||
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/koalaman/shellcheck/archive/v0.4.7-106-g235bf66.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal
|
Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-QuickCheck-devel
|
BuildRequires: ghc-QuickCheck-devel
|
||||||
@ -37,6 +37,7 @@ BuildRequires: ghc-parsec-devel
|
|||||||
BuildRequires: ghc-process-devel
|
BuildRequires: ghc-process-devel
|
||||||
BuildRequires: ghc-regex-tdfa-devel
|
BuildRequires: ghc-regex-tdfa-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRequires: pandoc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The goals of ShellCheck are:
|
The goals of ShellCheck are:
|
||||||
@ -69,14 +70,14 @@ Requires(postun): ghc-compiler = %{ghc_version}
|
|||||||
This package provides the Haskell %{name} library development files.
|
This package provides the Haskell %{name} library development files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n shellcheck-235bf6605fed31c90b17f3f76a30945ef344d015
|
||||||
cp -p %{SOURCE1} %{name}.cabal
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%ghc_lib_install
|
%ghc_lib_install
|
||||||
|
pandoc -s -t man shellcheck.1.md -o shellcheck.1
|
||||||
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -89,13 +90,13 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|||||||
%ghc_pkg_recache
|
%ghc_pkg_recache
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{_bindir}/shellcheck
|
%{_bindir}/shellcheck
|
||||||
%{_mandir}/man1/shellcheck.1*
|
%{_mandir}/man1/shellcheck.1%{?ext_man}
|
||||||
|
|
||||||
%files -n ghc-%{name} -f ghc-%{name}.files
|
%files -n ghc-%{name} -f ghc-%{name}.files
|
||||||
%doc LICENSE
|
%license LICENSE
|
||||||
|
|
||||||
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
Loading…
x
Reference in New Issue
Block a user