Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ShellCheck for openSUSE:Factory checked in at 2021-04-26 16:39:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ShellCheck (Old) and /work/SRC/openSUSE:Factory/.ShellCheck.new.12324 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ShellCheck" Mon Apr 26 16:39:33 2021 rev:22 rq:888405 version:0.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ShellCheck/ShellCheck.changes 2020-12-22 11:32:41.453095251 +0100 +++ /work/SRC/openSUSE:Factory/.ShellCheck.new.12324/ShellCheck.changes 2021-04-26 16:40:31.142163727 +0200 @@ -1,0 +2,11 @@ +Fri Apr 23 11:05:19 UTC 2021 - Ond??ej S??kup <[email protected]> + +- add haddock.patch to fix build with haddock + +------------------------------------------------------------------- +Thu Apr 22 10:06:05 UTC 2021 - [email protected] + +- Update ShellCheck to version 0.7.2. + Upstream does not provide a change log file. + +------------------------------------------------------------------- Old: ---- ShellCheck-0.7.1.tar.gz New: ---- ShellCheck-0.7.2.tar.gz haddock.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ShellCheck.spec ++++++ --- /var/tmp/diff_new_pack.u3V44Y/_old 2021-04-26 16:40:31.606164489 +0200 +++ /var/tmp/diff_new_pack.u3V44Y/_new 2021-04-26 16:40:31.606164489 +0200 @@ -1,7 +1,7 @@ # # spec file for package ShellCheck # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,12 +19,13 @@ %global pkg_name ShellCheck %bcond_with tests Name: %{pkg_name} -Version: 0.7.1 +Version: 0.7.2 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 +Patch0: haddock.patch BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Diff-devel @@ -73,7 +74,7 @@ This package provides the Haskell %{name} library development files. %prep -%autosetup +%autosetup -p1 %build %ghc_lib_build ++++++ ShellCheck-0.7.1.tar.gz -> ShellCheck-0.7.2.tar.gz ++++++ ++++ 3704 lines of diff (skipped) ++++++ haddock.patch ++++++ >From 9e60b3ea841bcaf48780bfcfc2e44aa6563a62de Mon Sep 17 00:00:00 2001 From: Vidar Holen <[email protected]> Date: Thu, 22 Apr 2021 22:17:51 -0700 Subject: [PATCH] Fix haddock failures (fixes #2216) --- src/ShellCheck/Analytics.hs | 12 ++++++------ test/buildtest | 2 ++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/ShellCheck/Analytics.hs b/src/ShellCheck/Analytics.hs index b53aee1e..b943cbcf 100644 --- a/src/ShellCheck/Analytics.hs +++ b/src/ShellCheck/Analytics.hs @@ -4155,11 +4155,11 @@ checkEqualsInCommand params originalToken = _ | "===" `isPrefixOf` s -> borderMsg (getId originalToken) _ -> prefixMsg (getId cmd) - -- $var==42 + -- '$var==42' _ | "==" `isInfixOf` s -> badComparisonMsg (getId cmd) - -- ${foo[x]}=42 and $foo=42 + -- '${foo[x]}=42' and '$foo=42' [T_DollarBraced id braced l] | "=" `isPrefixOf` s -> do let variableStr = concat $ oversimplify l let variableReference = getBracedReference variableStr @@ -4172,22 +4172,22 @@ checkEqualsInCommand params originalToken = && "]" `isSuffixOf` variableModifier case () of - -- $foo=bar should already have caused a parse-time SC1066 + -- '$foo=bar' should already have caused a parse-time SC1066 -- _ | not braced && isPlain -> -- return () _ | variableStr == "" -> -- Don't try to fix ${}=foo genericMsg (getId cmd) - -- $#=42 or ${#var}=42 + -- '$#=42' or '${#var}=42' _ | "#" `isPrefixOf` variableStr -> genericMsg (getId cmd) - -- ${0}=42 + -- '${0}=42' _ | variableStr == "0" -> assign0Msg id $ fixWith [replaceToken id params "BASH_ARGV0"] - -- $2=2 + -- '$2=2' _ | isPositional -> positionalMsg id
