From 3cb85341044bb90a128e89231f0c65822384fb4f2d1a5172e4a56c6a3a62a826 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sat, 28 Dec 2019 14:39:49 +0000 Subject: [PATCH 1/4] osc copypac from project:devel:languages:haskell:ghc-8.8.x package:ShellCheck revision:4, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=54 --- ShellCheck.changes | 128 +-------------------------------------------- ShellCheck.spec | 5 +- 2 files changed, 4 insertions(+), 129 deletions(-) diff --git a/ShellCheck.changes b/ShellCheck.changes index bdd9fc7..be54e56 100644 --- a/ShellCheck.changes +++ b/ShellCheck.changes @@ -1,129 +1,5 @@ ------------------------------------------------------------------- -Fri Nov 8 16:15:21 UTC 2019 - Peter Simons +Wed Aug 28 17:31:09 UTC 2019 - psimons@suse.com -- Drop obsolete group attributes. +- Add ShellCheck at version 0.7.0. -------------------------------------------------------------------- -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 e37e3e3..c3ac0ac 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: %{name}-%{version}.tar.gz +Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Diff-devel @@ -72,6 +72,7 @@ This package provides the Haskell %{name} library development files. %prep %setup -q +rm Setup.hs %build %ghc_lib_build @@ -79,7 +80,6 @@ This package provides the Haskell %{name} library development files. %install %ghc_lib_install %ghc_fix_rpath %{pkg_name}-%{version} -install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 %check %cabal_test @@ -94,7 +94,6 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 %license LICENSE %doc README.md %{_bindir}/shellcheck -%{_mandir}/man1/shellcheck.1%{?ext_man} %files -n ghc-%{name} -f ghc-%{name}.files %license LICENSE From 7ecc1bd6bcac2eb06407dfdcddee2b00d69291c33e469e6de60ac8705584543c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 29 Dec 2019 02:01:35 +0000 Subject: [PATCH 2/4] 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 From 40ea9d6379d9a447856c48b73e72758f377ec21924d90d86d14a72a04ee525fe Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 29 Dec 2019 10:45:53 +0000 Subject: [PATCH 3/4] osc copypac from project:devel:languages:haskell:ghc-8.8.x package:ShellCheck revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=56 --- ShellCheck.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ShellCheck.spec b/ShellCheck.spec index e37e3e3..c3ac0ac 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: %{name}-%{version}.tar.gz +Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Diff-devel @@ -72,6 +72,7 @@ This package provides the Haskell %{name} library development files. %prep %setup -q +rm Setup.hs %build %ghc_lib_build @@ -79,7 +80,6 @@ This package provides the Haskell %{name} library development files. %install %ghc_lib_install %ghc_fix_rpath %{pkg_name}-%{version} -install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 %check %cabal_test @@ -94,7 +94,6 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 %license LICENSE %doc README.md %{_bindir}/shellcheck -%{_mandir}/man1/shellcheck.1%{?ext_man} %files -n ghc-%{name} -f ghc-%{name}.files %license LICENSE From 061344edbe58d49e9032a5024208be8aa94256b4ad909dc132fe2e02515ed5b9 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 1 Jan 2020 15:27:50 +0000 Subject: [PATCH 4/4] osc copypac from project:devel:languages:haskell:ghc-8.8.x package:ShellCheck revision:9, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=57 --- ShellCheck.changes | 6 ++++++ ShellCheck.spec | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ShellCheck.changes b/ShellCheck.changes index bdd9fc7..4631e60 100644 --- a/ShellCheck.changes +++ b/ShellCheck.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 1 10:05:21 UTC 2020 - Peter Simons + +- Drop bogus Setup.hs file to let the build succeed with ghc-8.8.x. +- Fix download URL. + ------------------------------------------------------------------- Fri Nov 8 16:15:21 UTC 2019 - Peter Simons diff --git a/ShellCheck.spec b/ShellCheck.spec index c3ac0ac..9eebb83 100644 --- a/ShellCheck.spec +++ b/ShellCheck.spec @@ -1,7 +1,7 @@ # # spec file for package ShellCheck # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -80,6 +80,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 +95,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