From 7ecc1bd6bcac2eb06407dfdcddee2b00d69291c33e469e6de60ac8705584543c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 29 Dec 2019 02:01:35 +0000 Subject: [PATCH] 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 --- ShellCheck.changes | 128 ++++++++++++++++++++++++++++++++++++++++++++- ShellCheck.spec | 5 +- 2 files changed, 129 insertions(+), 4 deletions(-) diff --git a/ShellCheck.changes b/ShellCheck.changes index be54e56..bdd9fc7 100644 --- a/ShellCheck.changes +++ b/ShellCheck.changes @@ -1,5 +1,129 @@ ------------------------------------------------------------------- -Wed Aug 28 17:31:09 UTC 2019 - psimons@suse.com +Fri Nov 8 16:15:21 UTC 2019 - Peter Simons -- Add ShellCheck at version 0.7.0. +- Drop obsolete group attributes. +------------------------------------------------------------------- +Tue Jul 30 02:01:42 UTC 2019 - psimons@suse.com + +- Update ShellCheck to version 0.7.0. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Tue Dec 4 03:02:12 UTC 2018 - psimons@suse.com + +- Update ShellCheck to version 0.6.0. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Mon Oct 15 16:52:08 UTC 2018 - psimons@suse.com + +- Update to version v0.5.0-81-ge0e46e9 from Github to fix the build + with GHC 8.6.x. + + * Added + Command line option --severity/-S for filtering by minimum severity + SC2236/SC2237: Suggest -n/-z instead of ! -z/-n + SC2238: Warn when redirecting to a known command name, e.g. ls > rm + + * Changed + Most warnings now have useful end positions + SC1117 about unknown double-quoted escape sequences has been retired + + * Fixed + SC2021 no longer triggers for equivalence classes like '[=e=]' + SC2221/SC2222 no longer mistriggers on fall-through case branches + +------------------------------------------------------------------- +Wed Jul 18 14:26:08 UTC 2018 - psimons@suse.com + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +------------------------------------------------------------------- +Fri Jul 13 14:31:59 UTC 2018 - psimons@suse.com + +- Update ShellCheck to version 0.5.0. + * Added SC2233/SC2234/SC2235: Suggest removing or replacing (..) around tests + +------------------------------------------------------------------- +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 + +- Add _constraints to avoid OOM error with a special case for + aarch64 which needs lots of RAM. + +------------------------------------------------------------------- +Thu Apr 12 08:31:43 UTC 2018 - psimons@suse.com + +- Update ShellCheck to version 0.4.7 revision 1. + A more detailed change log is not available. + +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Mon Mar 27 12:41:06 UTC 2017 - psimons@suse.com + +- Update to version 0.4.6 with cabal2obs. + +------------------------------------------------------------------- +Sun Feb 12 14:19:35 UTC 2017 - psimons@suse.com + +- Update to version 0.4.5 with cabal2obs. + +------------------------------------------------------------------- +Sun Jul 10 17:33:18 UTC 2016 - psimons@suse.com + +- Update to version 0.4.4 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Sat May 21 15:40:14 UTC 2016 - mimi.vx@gmail.com + +- update to 0.4.4 + +------------------------------------------------------------------- +Sun Jan 24 12:56:34 UTC 2016 - mimi.vx@gmail.com + +- update to 0.4.3 + +------------------------------------------------------------------- +Tue Jan 12 09:19:42 UTC 2016 - mimi.vx@gmail.com + +- update to 0.4.2 + +------------------------------------------------------------------- +Sun Sep 6 13:59:34 UTC 2015 - mimi.vx@gmail.com + +- initial commit diff --git a/ShellCheck.spec b/ShellCheck.spec index c3ac0ac..e37e3e3 100644 --- a/ShellCheck.spec +++ b/ShellCheck.spec @@ -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