From cb7443e7bda91555391fcff1e88299b628f88847f117199fcfb83f4bf128e9cc Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 21 Dec 2017 19:35:16 +0000 Subject: [PATCH 1/7] osc copypac from project:devel:languages:haskell:lts:10 package:ShellCheck revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=24 --- ShellCheck-0.4.6.tar.gz | 3 --- ShellCheck-0.4.7.tar.gz | 3 +++ ShellCheck.changes | 6 ++++++ ShellCheck.spec | 6 +----- 4 files changed, 10 insertions(+), 8 deletions(-) delete mode 100644 ShellCheck-0.4.6.tar.gz create mode 100644 ShellCheck-0.4.7.tar.gz diff --git a/ShellCheck-0.4.6.tar.gz b/ShellCheck-0.4.6.tar.gz deleted file mode 100644 index 846a948..0000000 --- a/ShellCheck-0.4.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:11eb9b2794363fbccc6fbd18601db49680e2c439440a9b103eebfda1aa86b1bc -size 116618 diff --git a/ShellCheck-0.4.7.tar.gz b/ShellCheck-0.4.7.tar.gz new file mode 100644 index 0000000..09ebb5a --- /dev/null +++ b/ShellCheck-0.4.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:184955264d42c5dca0300fb9688b9a6c9a1c70c345dbcd8e30bb48a049a70d7c +size 126593 diff --git a/ShellCheck.changes b/ShellCheck.changes index 0ab656a..aa8ca71 100644 --- a/ShellCheck.changes +++ b/ShellCheck.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 21 19:13:35 UTC 2017 - psimons@suse.com + +- Update to version 0.4.7. + A more detailed change log is not available. + ------------------------------------------------------------------- Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com diff --git a/ShellCheck.spec b/ShellCheck.spec index 56a1146..d05ba55 100644 --- a/ShellCheck.spec +++ b/ShellCheck.spec @@ -19,14 +19,13 @@ %global pkg_name ShellCheck %bcond_with tests Name: %{pkg_name} -Version: 0.4.6 +Version: 0.4.7 Release: 0 Summary: Shell script analysis tool License: GPL-3.0+ Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz -BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-containers-devel @@ -76,8 +75,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 @@ -92,7 +89,6 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 %doc LICENSE %doc README.md %{_bindir}/shellcheck -%{_mandir}/man1/shellcheck.1* %files -n ghc-%{name} -f ghc-%{name}.files %doc LICENSE From 25d89aacf5ac0c95a5805efcb7108d7b6d412c0d93180565149aad02ba9a05d5 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 4 Feb 2018 09:34:17 +0000 Subject: [PATCH 2/7] osc copypac from project:devel:languages:haskell:lts:10 package:ShellCheck revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=25 --- ShellCheck.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ShellCheck.spec b/ShellCheck.spec index d05ba55..e3f9e43 100644 --- a/ShellCheck.spec +++ b/ShellCheck.spec @@ -75,6 +75,7 @@ This package provides the Haskell %{name} library development files. %install %ghc_lib_install +install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1 %check %cabal_test @@ -89,6 +90,7 @@ This package provides the Haskell %{name} library development files. %doc LICENSE %doc README.md %{_bindir}/shellcheck +%{_mandir}/man1/shellcheck.1* %files -n ghc-%{name} -f ghc-%{name}.files %doc LICENSE From b7ca193bc08f646ba890678e374b6a679601d24c71c9db92b4bd904f58e25369 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Tue, 13 Mar 2018 02:19:25 +0000 Subject: [PATCH 3/7] osc copypac from project:devel:languages:haskell:lts:10 package:ShellCheck revision:7, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=26 --- ShellCheck.cabal | 102 +++++++++++++++++++++++++++++++++++++++++++++++ ShellCheck.spec | 2 + 2 files changed, 104 insertions(+) create mode 100644 ShellCheck.cabal diff --git a/ShellCheck.cabal b/ShellCheck.cabal new file mode 100644 index 0000000..9df300a --- /dev/null +++ b/ShellCheck.cabal @@ -0,0 +1,102 @@ +Name: ShellCheck +Version: 0.4.7 +x-revision: 1 +Synopsis: Shell script analysis tool +License: GPL-3 +License-file: LICENSE +Category: Static Analysis +Author: Vidar Holen +Maintainer: vidar@vidarholen.net +Homepage: https://www.shellcheck.net/ +Build-Type: Custom +Cabal-Version: >= 1.8 +Bug-reports: https://github.com/koalaman/shellcheck/issues +Description: + The goals of ShellCheck are: + . + * To point out and clarify typical beginner's syntax issues, + that causes a shell to give cryptic error messages. + . + * To point out and clarify typical intermediate level semantic problems, + that causes a shell to behave strangely and counter-intuitively. + . + * To point out subtle caveats, corner cases and pitfalls, that may cause an + advanced user's otherwise working script to fail under future circumstances. + +Extra-Source-Files: + -- documentation + README.md + shellcheck.1.md + -- built with a cabal sdist hook + shellcheck.1 + -- tests + test/shellcheck.hs + +custom-setup + setup-depends: + base >= 4 && <5, + process >= 1.0 && <1.7, + Cabal >= 1.10 && <2.3 + +source-repository head + type: git + location: git://github.com/koalaman/shellcheck.git + +library + build-depends: + base >= 4 && < 5, + containers >= 0.5, + directory, + json, + mtl >= 2.2.1, + parsec, + regex-tdfa, + QuickCheck >= 2.7.4, + -- When cabal supports it, move this to setup-depends: + process + exposed-modules: + ShellCheck.AST + ShellCheck.ASTLib + ShellCheck.Analytics + ShellCheck.Analyzer + ShellCheck.AnalyzerLib + ShellCheck.Checker + ShellCheck.Checks.Commands + ShellCheck.Checks.ShellSupport + ShellCheck.Data + ShellCheck.Formatter.Format + ShellCheck.Formatter.CheckStyle + ShellCheck.Formatter.GCC + ShellCheck.Formatter.JSON + ShellCheck.Formatter.TTY + ShellCheck.Interface + ShellCheck.Parser + ShellCheck.Regex + other-modules: + Paths_ShellCheck + +executable shellcheck + build-depends: + base >= 4 && < 5, + containers, + directory, + json >= 0.3.6, + mtl >= 2.2.1, + parsec >= 3.0, + regex-tdfa, + QuickCheck >= 2.7.4 + main-is: shellcheck.hs + +test-suite test-shellcheck + type: exitcode-stdio-1.0 + build-depends: + base >= 4 && < 5, + containers, + directory, + json, + mtl >= 2.2.1, + parsec, + regex-tdfa, + QuickCheck >= 2.7.4 + main-is: test/shellcheck.hs + diff --git a/ShellCheck.spec b/ShellCheck.spec index e3f9e43..9b2278d 100644 --- a/ShellCheck.spec +++ b/ShellCheck.spec @@ -26,6 +26,7 @@ License: GPL-3.0+ Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{name} Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-containers-devel @@ -69,6 +70,7 @@ This package provides the Haskell %{name} library development files. %prep %setup -q +cp -p %{SOURCE1} %{name}.cabal %build %ghc_lib_build From 5472064a0c3d6af2ea490427307c0263f9aea91f1fe6feb0f1800d574fd2db83 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 23 Mar 2018 13:38:57 +0000 Subject: [PATCH 4/7] Accepting request 590351 from home:Guillaume_G:branches:openSUSE:Factory:ARM - Add _constraints file to avoid OOM errors OBS-URL: https://build.opensuse.org/request/show/590351 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=27 --- ShellCheck.changes | 5 +++++ ShellCheck.spec | 6 +++--- _constraints | 11 +++++++++++ 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 _constraints diff --git a/ShellCheck.changes b/ShellCheck.changes index aa8ca71..5505c5d 100644 --- a/ShellCheck.changes +++ b/ShellCheck.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Mar 22 14:30:12 UTC 2018 - guillaume.gardet@opensuse.org + +- Add _constraints file to avoid OOM errors + ------------------------------------------------------------------- Thu Dec 21 19:13:35 UTC 2017 - psimons@suse.com diff --git a/ShellCheck.spec b/ShellCheck.spec index 9b2278d..6f6e36e 100644 --- a/ShellCheck.spec +++ b/ShellCheck.spec @@ -1,7 +1,7 @@ # # spec file for package ShellCheck # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -22,9 +22,9 @@ Name: %{pkg_name} Version: 0.4.7 Release: 0 Summary: Shell script analysis tool -License: GPL-3.0+ +License: GPL-3.0-or-later 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 Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal BuildRequires: ghc-Cabal-devel diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..e4871a5 --- /dev/null +++ b/_constraints @@ -0,0 +1,11 @@ + + + + + 11000 + + + 2500 + + + From 9f1e7b122b2aadcfd177ef4d981c69f3faf293687ac76ccdaf74d989305fcfdf Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 2 Apr 2018 14:49:11 +0000 Subject: [PATCH 5/7] osc copypac from project:devel:languages:haskell:lts:11 package:ShellCheck revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=28 --- ShellCheck.changes | 49 ++-------------------------------------------- ShellCheck.spec | 2 +- _constraints | 11 ----------- 3 files changed, 3 insertions(+), 59 deletions(-) delete mode 100644 _constraints diff --git a/ShellCheck.changes b/ShellCheck.changes index 5505c5d..4006499 100644 --- a/ShellCheck.changes +++ b/ShellCheck.changes @@ -1,51 +1,6 @@ ------------------------------------------------------------------- -Thu Mar 22 14:30:12 UTC 2018 - guillaume.gardet@opensuse.org +Wed Mar 14 16:57:22 UTC 2018 - psimons@suse.com -- Add _constraints file to avoid OOM errors - -------------------------------------------------------------------- -Thu Dec 21 19:13:35 UTC 2017 - psimons@suse.com - -- Update to version 0.4.7. +- 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 6f6e36e..c758b8f 100644 --- a/ShellCheck.spec +++ b/ShellCheck.spec @@ -24,7 +24,7 @@ Release: 0 Summary: Shell script analysis tool License: GPL-3.0-or-later 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 Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal BuildRequires: ghc-Cabal-devel diff --git a/_constraints b/_constraints deleted file mode 100644 index e4871a5..0000000 --- a/_constraints +++ /dev/null @@ -1,11 +0,0 @@ - - - - - 11000 - - - 2500 - - - From 974a1eca0eb30982c64dc3351489b63d3e502bef8218bf1dc928eb0a79275041 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 13 Apr 2018 13:25:15 +0000 Subject: [PATCH 6/7] osc copypac from project:devel:languages:haskell:lts:11 package:ShellCheck revision:8, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=29 --- ShellCheck.changes | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/ShellCheck.changes b/ShellCheck.changes index 4006499..a1708de 100644 --- a/ShellCheck.changes +++ b/ShellCheck.changes @@ -1,6 +1,46 @@ ------------------------------------------------------------------- -Wed Mar 14 16:57:22 UTC 2018 - psimons@suse.com +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 + From 4d9cbed61fcb4dcc4f84ea2cbabaecb769510ce5b7e97b3b8904d42f389e0ed1 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 16 Apr 2018 16:20:27 +0000 Subject: [PATCH 7/7] Accepting request 597096 from home:Guillaume_G:branches:devel:languages:haskell - Add _constraints to avoid OOM error on aarch64 which needs lots of RAM. OBS-URL: https://build.opensuse.org/request/show/597096 OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=30 --- ShellCheck.changes | 6 ++++++ _constraints | 18 ++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 _constraints diff --git a/ShellCheck.changes b/ShellCheck.changes index a1708de..509bde5 100644 --- a/ShellCheck.changes +++ b/ShellCheck.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..862400c --- /dev/null +++ b/_constraints @@ -0,0 +1,18 @@ + + + + + 2500 + + + + + aarch64 + + + + 11 + + + +