Compare commits
38 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
c3b2a1294e | ||
|
57de9d1513 | ||
|
c465772c7e | ||
|
19e0160642 | ||
|
6540781335 | ||
|
a9c8f88849 | ||
|
1d623ad8aa | ||
|
9ba37b12dd | ||
|
c32e5a128e | ||
|
3eafcd1c79 | ||
|
487acd96ee | ||
|
f0508af470 | ||
|
cd67c5aada | ||
|
7018f422ab | ||
|
bc73156517 | ||
|
69a47eab4f | ||
|
052cdb9f93 | ||
|
5547fb2374 | ||
|
2eace40663 | ||
|
f46c73f53b | ||
|
738bf8e1f7 | ||
|
10126a925a | ||
|
a560341ba2 | ||
|
4fd669d66e | ||
|
17ec207680 | ||
|
5b21666ff3 | ||
|
4f54070174 | ||
|
52b091235d | ||
|
83b086c3cf | ||
|
9793beea10 | ||
|
2b1a73970e | ||
|
6ebe0cd3f3 | ||
|
f5da8ed5b1 | ||
|
764cd9b945 | ||
|
d64e1011af | ||
|
3e027b8bfe | ||
|
d8384fca0a | ||
|
0031abf5e9 |
16
.gitignore
vendored
16
.gitignore
vendored
@ -1,13 +1,3 @@
|
|||||||
/v0.2.0.tar.gz
|
*/
|
||||||
/v0.3.1.tar.gz
|
*.rpm
|
||||||
/v0.3.3.tar.gz
|
ShellCheck-*.tar.gz
|
||||||
/ShellCheck-0.3.4.tar.gz
|
|
||||||
/ShellCheck-0.3.5.tar.gz
|
|
||||||
/ShellCheck-0.3.7.tar.gz
|
|
||||||
/ShellCheck-0.3.8.tar.gz
|
|
||||||
/ShellCheck-0.4.4.tar.gz
|
|
||||||
/ShellCheck-0.4.5.tar.gz
|
|
||||||
/ShellCheck-0.4.6.tar.gz
|
|
||||||
/ShellCheck-0.4.7.tar.gz
|
|
||||||
/ShellCheck-0.5.0.tar.gz
|
|
||||||
/ShellCheck-0.6.0.tar.gz
|
|
||||||
|
@ -1,35 +0,0 @@
|
|||||||
From 138080bdc7442458f45bd2726d9e8cb4b68cf24f Mon Sep 17 00:00:00 2001
|
|
||||||
From: Vidar Holen <spam@vidarholen.net>
|
|
||||||
Date: Sun, 16 Dec 2018 14:42:19 -0800
|
|
||||||
Subject: [PATCH] Fix infinite loop on annotations for SC2188 (fixes #1413)
|
|
||||||
|
|
||||||
---
|
|
||||||
src/ShellCheck/Analytics.hs | 2 +-
|
|
||||||
src/ShellCheck/Checker.hs | 2 ++
|
|
||||||
2 files changed, 3 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/ShellCheck/Analytics.hs b/src/ShellCheck/Analytics.hs
|
|
||||||
index 7754ee64..a164de13 100644
|
|
||||||
--- a/src/ShellCheck/Analytics.hs
|
|
||||||
+++ b/src/ShellCheck/Analytics.hs
|
|
||||||
@@ -2692,7 +2692,7 @@ checkRedirectedNowhere params token =
|
|
||||||
case drop 1 $ getPath (parentMap params) t of
|
|
||||||
T_DollarExpansion _ [_] : _ -> True
|
|
||||||
T_Backticked _ [_] : _ -> True
|
|
||||||
- T_Annotation _ _ u : _ -> isInExpansion u
|
|
||||||
+ t@T_Annotation {} : _ -> isInExpansion t
|
|
||||||
_ -> False
|
|
||||||
getDanglingRedirect token =
|
|
||||||
case token of
|
|
||||||
diff --git a/src/ShellCheck/Checker.hs b/src/ShellCheck/Checker.hs
|
|
||||||
index 7ac9c913..10074e38 100644
|
|
||||||
--- a/src/ShellCheck/Checker.hs
|
|
||||||
+++ b/src/ShellCheck/Checker.hs
|
|
||||||
@@ -231,5 +231,7 @@ prop_filewideAnnotation8 = null $
|
|
||||||
prop_sourcePartOfOriginalScript = -- #1181: -x disabled posix warning for 'source'
|
|
||||||
2039 `elem` checkWithIncludes [("./saywhat.sh", "echo foo")] "#!/bin/sh\nsource ./saywhat.sh"
|
|
||||||
|
|
||||||
+prop_spinBug1413 = null $ check "fun() {\n# shellcheck disable=SC2188\n> /dev/null\n}\n"
|
|
||||||
+
|
|
||||||
return []
|
|
||||||
runTests = $quickCheckAll
|
|
55
9e60b3ea841bcaf48780bfcfc2e44aa6563a62de.patch
Normal file
55
9e60b3ea841bcaf48780bfcfc2e44aa6563a62de.patch
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
From 9e60b3ea841bcaf48780bfcfc2e44aa6563a62de Mon Sep 17 00:00:00 2001
|
||||||
|
From: Vidar Holen <spam@vidarholen.net>
|
||||||
|
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
|
||||||
|
|
@ -1,117 +0,0 @@
|
|||||||
diff --git i/ShellCheck.cabal w/ShellCheck.cabal
|
|
||||||
index 6e46dfe..8223f3a 100644
|
|
||||||
--- i/ShellCheck.cabal
|
|
||||||
+++ w/ShellCheck.cabal
|
|
||||||
@@ -43,8 +43,7 @@ library
|
|
||||||
json,
|
|
||||||
mtl,
|
|
||||||
parsec,
|
|
||||||
- regex-tdfa,
|
|
||||||
- QuickCheck >= 2.7.4
|
|
||||||
+ regex-tdfa
|
|
||||||
exposed-modules:
|
|
||||||
ShellCheck.Analytics
|
|
||||||
ShellCheck.AST
|
|
||||||
@@ -66,8 +65,7 @@ executable shellcheck
|
|
||||||
mtl,
|
|
||||||
parsec,
|
|
||||||
regex-tdfa,
|
|
||||||
- transformers,
|
|
||||||
- QuickCheck >= 2.7.4
|
|
||||||
+ transformers
|
|
||||||
main-is: shellcheck.hs
|
|
||||||
|
|
||||||
test-suite test-shellcheck
|
|
||||||
diff --git i/ShellCheck/Analytics.hs w/ShellCheck/Analytics.hs
|
|
||||||
index fe2fcf4..80bc7a0 100644
|
|
||||||
--- i/ShellCheck/Analytics.hs
|
|
||||||
+++ w/ShellCheck/Analytics.hs
|
|
||||||
@@ -16,7 +16,7 @@
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
-}
|
|
||||||
{-# LANGUAGE TemplateHaskell, FlexibleContexts #-}
|
|
||||||
-module ShellCheck.Analytics (AnalysisOptions(..), defaultAnalysisOptions, filterByAnnotation, runAnalytics, shellForExecutable, runTests) where
|
|
||||||
+module ShellCheck.Analytics (AnalysisOptions(..), defaultAnalysisOptions, filterByAnnotation, runAnalytics, shellForExecutable) where
|
|
||||||
|
|
||||||
import Control.Arrow (first)
|
|
||||||
import Control.Monad
|
|
||||||
@@ -32,11 +32,9 @@ import Debug.Trace
|
|
||||||
import ShellCheck.AST
|
|
||||||
import ShellCheck.Options
|
|
||||||
import ShellCheck.Data
|
|
||||||
-import ShellCheck.Parser hiding (runTests)
|
|
||||||
+import ShellCheck.Parser
|
|
||||||
import ShellCheck.Regex
|
|
||||||
import qualified Data.Map as Map
|
|
||||||
-import Test.QuickCheck.All (forAllProperties)
|
|
||||||
-import Test.QuickCheck.Test (quickCheckWithResult, stdArgs, maxSuccess)
|
|
||||||
|
|
||||||
data Parameters = Parameters {
|
|
||||||
variableFlow :: [StackData],
|
|
||||||
@@ -3310,7 +3308,3 @@ checkMaskedReturns _ t@(T_SimpleCommand id _ (cmd:rest)) = potentially $ do
|
|
||||||
T_DollarExpansion {} -> True
|
|
||||||
_ -> False
|
|
||||||
checkMaskedReturns _ _ = return ()
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-return []
|
|
||||||
-runTests = $( [| $(forAllProperties) (quickCheckWithResult (stdArgs { maxSuccess = 1 }) ) |])
|
|
||||||
diff --git i/ShellCheck/Parser.hs w/ShellCheck/Parser.hs
|
|
||||||
index fd2cbea..0ece932 100644
|
|
||||||
--- i/ShellCheck/Parser.hs
|
|
||||||
+++ w/ShellCheck/Parser.hs
|
|
||||||
@@ -16,7 +16,7 @@
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
-}
|
|
||||||
{-# LANGUAGE NoMonomorphismRestriction, TemplateHaskell, FlexibleContexts #-}
|
|
||||||
-module ShellCheck.Parser (Note(..), Severity(..), parseShell, ParseResult(..), ParseNote(..), sortNotes, noteToParseNote, runTests, readScript) where
|
|
||||||
+module ShellCheck.Parser (Note(..), Severity(..), parseShell, ParseResult(..), ParseNote(..), sortNotes, noteToParseNote, readScript) where
|
|
||||||
|
|
||||||
import ShellCheck.AST
|
|
||||||
import ShellCheck.Data
|
|
||||||
@@ -34,7 +34,6 @@ import Prelude hiding (readList)
|
|
||||||
import System.IO
|
|
||||||
import Text.Parsec.Error
|
|
||||||
import GHC.Exts (sortWith)
|
|
||||||
-import Test.QuickCheck.All (quickCheckAll)
|
|
||||||
|
|
||||||
backslash = char '\\'
|
|
||||||
linefeed = optional carriageReturn >> char '\n'
|
|
||||||
@@ -2163,7 +2162,3 @@ parseShell options filename contents =
|
|
||||||
|
|
||||||
lt x = trace (show x) x
|
|
||||||
ltt t = trace (show t)
|
|
||||||
-
|
|
||||||
-return []
|
|
||||||
-runTests = $quickCheckAll
|
|
||||||
-
|
|
||||||
diff --git i/ShellCheck/Simple.hs w/ShellCheck/Simple.hs
|
|
||||||
index 71cde43..70f769c 100644
|
|
||||||
--- i/ShellCheck/Simple.hs
|
|
||||||
+++ w/ShellCheck/Simple.hs
|
|
||||||
@@ -16,14 +16,13 @@
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
-}
|
|
||||||
{-# LANGUAGE TemplateHaskell #-}
|
|
||||||
-module ShellCheck.Simple (shellCheck, ShellCheckComment, scLine, scColumn, scSeverity, scCode, scMessage, runTests) where
|
|
||||||
+module ShellCheck.Simple (shellCheck, ShellCheckComment, scLine, scColumn, scSeverity, scCode, scMessage) where
|
|
||||||
|
|
||||||
import Data.List
|
|
||||||
import Data.Maybe
|
|
||||||
-import ShellCheck.Analytics hiding (runTests)
|
|
||||||
+import ShellCheck.Analytics
|
|
||||||
import ShellCheck.Options
|
|
||||||
-import ShellCheck.Parser hiding (runTests)
|
|
||||||
-import Test.QuickCheck.All (quickCheckAll)
|
|
||||||
+import ShellCheck.Parser
|
|
||||||
import Text.Parsec.Pos
|
|
||||||
|
|
||||||
shellCheck :: AnalysisOptions -> String -> [ShellCheckComment]
|
|
||||||
@@ -74,7 +73,3 @@ prop_optionDisablesIssue1 =
|
|
||||||
|
|
||||||
prop_optionDisablesIssue2 =
|
|
||||||
null $ shellCheck (defaultAnalysisOptions { optionExcludes = [2148, 1037] }) "echo \"$10\""
|
|
||||||
-
|
|
||||||
-return []
|
|
||||||
-runTests = $quickCheckAll
|
|
||||||
-
|
|
214
ShellCheck.spec
214
ShellCheck.spec
@ -1,38 +1,63 @@
|
|||||||
# generated by cabal-rpm-0.13
|
# generated by cabal-rpm-2.2.1
|
||||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
|
||||||
|
|
||||||
%global pkg_name ShellCheck
|
%global pkg_name ShellCheck
|
||||||
%global pkgver %{pkg_name}-%{version}
|
%global pkgver %{pkg_name}-%{version}
|
||||||
|
%{?haskell_setup}
|
||||||
|
|
||||||
%bcond_with tests
|
%bcond_without tests
|
||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: 0.6.0
|
Version: 0.10.0
|
||||||
Release: 4%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Shell script analysis tool
|
Summary: Shell script analysis tool
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPL-3.0-or-later
|
||||||
Url: https://www.shellcheck.net/
|
Url: https://www.shellcheck.net/
|
||||||
# Begin cabal-rpm sources:
|
# Begin cabal-rpm sources:
|
||||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||||
# End cabal-rpm sources
|
# End cabal-rpm sources
|
||||||
|
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1707331
|
|
||||||
Patch0: https://github.com/koalaman/shellcheck/commit/138080bd.patch
|
|
||||||
|
|
||||||
# Begin cabal-rpm deps:
|
# Begin cabal-rpm deps:
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
|
BuildRequires: ghc-Diff-devel
|
||||||
BuildRequires: ghc-QuickCheck-devel
|
BuildRequires: ghc-QuickCheck-devel
|
||||||
BuildRequires: ghc-aeson-devel
|
BuildRequires: ghc-aeson-devel
|
||||||
|
BuildRequires: ghc-array-devel
|
||||||
|
BuildRequires: ghc-base-devel
|
||||||
BuildRequires: ghc-bytestring-devel
|
BuildRequires: ghc-bytestring-devel
|
||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
|
BuildRequires: ghc-deepseq-devel
|
||||||
BuildRequires: ghc-directory-devel
|
BuildRequires: ghc-directory-devel
|
||||||
|
BuildRequires: ghc-fgl-devel
|
||||||
|
BuildRequires: ghc-filepath-devel
|
||||||
BuildRequires: ghc-mtl-devel
|
BuildRequires: ghc-mtl-devel
|
||||||
BuildRequires: ghc-parsec-devel
|
BuildRequires: ghc-parsec-devel
|
||||||
BuildRequires: ghc-process-devel
|
BuildRequires: ghc-process-devel
|
||||||
BuildRequires: ghc-regex-tdfa-devel
|
BuildRequires: ghc-regex-tdfa-devel
|
||||||
|
BuildRequires: ghc-transformers-devel
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
BuildRequires: ghc-Diff-prof
|
||||||
|
BuildRequires: ghc-QuickCheck-prof
|
||||||
|
BuildRequires: ghc-aeson-prof
|
||||||
|
BuildRequires: ghc-array-prof
|
||||||
|
BuildRequires: ghc-base-prof
|
||||||
|
BuildRequires: ghc-bytestring-prof
|
||||||
|
BuildRequires: ghc-containers-prof
|
||||||
|
BuildRequires: ghc-deepseq-prof
|
||||||
|
BuildRequires: ghc-directory-prof
|
||||||
|
BuildRequires: ghc-fgl-prof
|
||||||
|
BuildRequires: ghc-filepath-prof
|
||||||
|
BuildRequires: ghc-mtl-prof
|
||||||
|
BuildRequires: ghc-parsec-prof
|
||||||
|
BuildRequires: ghc-process-prof
|
||||||
|
BuildRequires: ghc-regex-tdfa-prof
|
||||||
|
BuildRequires: ghc-transformers-prof
|
||||||
|
%endif
|
||||||
# End cabal-rpm deps
|
# End cabal-rpm deps
|
||||||
|
BuildRequires: pandoc
|
||||||
|
Provides: shellcheck = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The goals of ShellCheck are:
|
The goals of ShellCheck are:
|
||||||
@ -57,11 +82,9 @@ This package provides the Haskell %{name} shared library.
|
|||||||
%package -n ghc-%{name}-devel
|
%package -n ghc-%{name}-devel
|
||||||
Summary: Haskell %{name} library development files
|
Summary: Haskell %{name} library development files
|
||||||
Provides: ghc-%{name}-static = %{version}-%{release}
|
Provides: ghc-%{name}-static = %{version}-%{release}
|
||||||
Provides: ghc-%{name}-doc = %{version}-%{release}
|
Provides: ghc-%{name}-static%{?_isa} = %{version}-%{release}
|
||||||
%if %{defined ghc_version}
|
%if %{defined ghc_version}
|
||||||
Requires: ghc-compiler = %{ghc_version}
|
Requires: ghc-compiler = %{ghc_version}
|
||||||
Requires(post): ghc-compiler = %{ghc_version}
|
|
||||||
Requires(postun): ghc-compiler = %{ghc_version}
|
|
||||||
%endif
|
%endif
|
||||||
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
@ -69,6 +92,28 @@ Requires: ghc-%{name}%{?_isa} = %{version}-%{release}
|
|||||||
This package provides the Haskell %{name} library development files.
|
This package provides the Haskell %{name} library development files.
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with haddock}
|
||||||
|
%package -n ghc-%{name}-doc
|
||||||
|
Summary: Haskell %{name} library documentation
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: ghc-filesystem
|
||||||
|
|
||||||
|
%description -n ghc-%{name}-doc
|
||||||
|
This package provides the Haskell %{name} library documentation.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
%package -n ghc-%{name}-prof
|
||||||
|
Summary: Haskell %{name} profiling library
|
||||||
|
Requires: ghc-%{name}-devel%{?_isa} = %{version}-%{release}
|
||||||
|
Supplements: (ghc-%{name}-devel and ghc-prof)
|
||||||
|
|
||||||
|
%description -n ghc-%{name}-prof
|
||||||
|
This package provides the Haskell %{name} profiling library.
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
# Begin cabal-rpm setup:
|
# Begin cabal-rpm setup:
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
@ -80,6 +125,8 @@ This package provides the Haskell %{name} library development files.
|
|||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
# End cabal-rpm build
|
# End cabal-rpm build
|
||||||
|
|
||||||
|
pandoc -s -f markdown-smart -t man shellcheck.1.md -o shellcheck.1
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# Begin cabal-rpm install
|
# Begin cabal-rpm install
|
||||||
@ -90,21 +137,16 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{with tests}
|
||||||
|
PATH=%{buildroot}%{_bindir}:$PATH
|
||||||
%cabal_test
|
%cabal_test
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -n ghc-%{name}-devel
|
|
||||||
%ghc_pkg_recache
|
|
||||||
|
|
||||||
|
|
||||||
%postun -n ghc-%{name}-devel
|
|
||||||
%ghc_pkg_recache
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
# Begin cabal-rpm files:
|
# Begin cabal-rpm files:
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md
|
%doc CHANGELOG.md README.md
|
||||||
%{_bindir}/shellcheck
|
%{_bindir}/shellcheck
|
||||||
# End cabal-rpm files
|
# End cabal-rpm files
|
||||||
%{_mandir}/man1/shellcheck.1*
|
%{_mandir}/man1/shellcheck.1*
|
||||||
@ -117,17 +159,109 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|||||||
|
|
||||||
|
|
||||||
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
||||||
%doc README.md
|
%doc CHANGELOG.md README.md
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with haddock}
|
||||||
|
%files -n ghc-%{name}-doc -f ghc-%{name}-doc.files
|
||||||
|
%license LICENSE
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%if %{with ghc_prof}
|
||||||
|
%files -n ghc-%{name}-prof -f ghc-%{name}-prof.files
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jul 21 2024 Jens Petersen <petersen@redhat.com> - 0.10.0-3
|
||||||
|
- include CHANGELOG.md
|
||||||
|
|
||||||
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Apr 15 2024 Dridi Boukelmoune <dridi@fedoraproject.org> - 0.10.0-1
|
||||||
|
- Updated to 0.10.0
|
||||||
|
- Reenabled tests by default
|
||||||
|
|
||||||
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 29 2023 Jens Petersen <petersen@redhat.com> - 0.9.0-4
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 21 2023 Jens Petersen <petersen@redhat.com> - 0.9.0-2
|
||||||
|
- SPDX migration
|
||||||
|
- refresh to cabal-rpm-2.1.0
|
||||||
|
|
||||||
|
* Fri Dec 23 2022 Dridi Boukelmoune <dridi@fedoraproject.org> - 0.9.0-1
|
||||||
|
- Update to 0.9.0
|
||||||
|
|
||||||
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 15 2022 Jens Petersen <petersen@redhat.com> - 0.8.0-2
|
||||||
|
- add lowercase Provides (#1964325)
|
||||||
|
|
||||||
|
* Fri Mar 18 2022 Greg Hellings <greg.hellings@gmail.com> - 0.8.0-1
|
||||||
|
- Update to 0.8.0
|
||||||
|
|
||||||
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 08 2022 Miro Hrončok <mhroncok@redhat.com> - 0.7.2-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34
|
||||||
|
|
||||||
|
* Fri Aug 06 2021 Jens Petersen <petersen@redhat.com> - 0.7.2-3
|
||||||
|
- rebuild
|
||||||
|
|
||||||
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 18 2021 Jens Petersen <petersen@redhat.com> - 0.7.2-1
|
||||||
|
- update to 0.7.2
|
||||||
|
|
||||||
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-3
|
||||||
|
- Second attempt - Rebuilt for
|
||||||
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jun 07 2020 Jens Petersen <petersen@redhat.com> - 0.7.1-1
|
||||||
|
- update to 0.7.1
|
||||||
|
|
||||||
|
* Wed Feb 19 2020 Jens Petersen <petersen@redhat.com> - 0.7.0-3
|
||||||
|
- refresh to cabal-rpm-2.0.2
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 29 2019 Jens Petersen <petersen@redhat.com> - 0.7.0-1
|
||||||
|
- update to 0.7.0
|
||||||
|
|
||||||
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat May 18 2019 Dridi Boukelmoune <dridi@fedoraproject.org> - 0.6.0-4
|
||||||
|
- Add upstream patch for BZ#1707331 (infinite loop on annotations for SC2188)
|
||||||
|
|
||||||
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.6.0-3
|
* Sun Feb 17 2019 Jens Petersen <petersen@redhat.com> - 0.6.0-3
|
||||||
- refresh to cabal-rpm-0.13
|
- refresh to cabal-rpm-0.13
|
||||||
|
|
||||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
* Mon Dec 03 2018 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 0.6.0-1
|
* Mon Dec 03 2018 Dridi Boukelmoune <dridi@fedoraproject.org> - 0.6.0-1
|
||||||
- Update to 0.6.0
|
- Update to 0.6.0
|
||||||
|
|
||||||
* Tue Oct 9 2018 Jens Petersen <petersen@redhat.com> - 0.5.0-4
|
* Tue Oct 9 2018 Jens Petersen <petersen@redhat.com> - 0.5.0-4
|
||||||
@ -139,7 +273,7 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|||||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
* Tue Jul 03 2018 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 0.5.0-1
|
* Tue Jul 03 2018 Dridi Boukelmoune <dridi@fedoraproject.org> - 0.5.0-1
|
||||||
- Update to 0.5.0
|
- Update to 0.5.0
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-3
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-3
|
||||||
@ -148,7 +282,7 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|||||||
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.4.7-2
|
* Fri Jan 26 2018 Jens Petersen <petersen@redhat.com> - 0.4.7-2
|
||||||
- rebuild
|
- rebuild
|
||||||
|
|
||||||
* Sun Dec 10 2017 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 0.4.7-1
|
* Sun Dec 10 2017 Dridi Boukelmoune <dridi@fedoraproject.org> - 0.4.7-1
|
||||||
- Update to 0.4.7
|
- Update to 0.4.7
|
||||||
- Install the manual shipped upstream
|
- Install the manual shipped upstream
|
||||||
|
|
||||||
@ -158,7 +292,7 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|||||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-2
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
* Tue Apr 25 2017 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 0.4.6-1
|
* Tue Apr 25 2017 Dridi Boukelmoune <dridi@fedoraproject.org> - 0.4.6-1
|
||||||
- update to 0.4.6
|
- update to 0.4.6
|
||||||
|
|
||||||
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.4.5-3
|
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.4.5-3
|
||||||
@ -184,7 +318,7 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|||||||
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-2
|
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
* Sun Apr 26 2015 Dridi <dridi.boukelmoune@gmail.com> - 0.3.7-1
|
* Sun Apr 26 2015 Dridi <dridi@fedoraproject.org> - 0.3.7-1
|
||||||
- bumped to version 0.3.7
|
- bumped to version 0.3.7
|
||||||
- updated summary with cabal's synopsis
|
- updated summary with cabal's synopsis
|
||||||
- removed profiling symbols causing an FTBFS
|
- removed profiling symbols causing an FTBFS
|
||||||
@ -197,7 +331,7 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|||||||
- disable tests on all archs (#1158522)
|
- disable tests on all archs (#1158522)
|
||||||
- QuickCheck should really only be used for buildtime tests
|
- QuickCheck should really only be used for buildtime tests
|
||||||
|
|
||||||
* Thu Sep 11 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.4-1
|
* Thu Sep 11 2014 Dridi <dridi@fedoraproject.org> - 0.3.4-1
|
||||||
- bumped to version 0.3.4
|
- bumped to version 0.3.4
|
||||||
- switched to hackage for the source tarball
|
- switched to hackage for the source tarball
|
||||||
- tests are now driven by cabal
|
- tests are now driven by cabal
|
||||||
@ -206,14 +340,14 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|||||||
* Fri Sep 5 2014 Jens Petersen <petersen@redhat.com> - 0.3.3-2
|
* Fri Sep 5 2014 Jens Petersen <petersen@redhat.com> - 0.3.3-2
|
||||||
- reenable pandoc on ARM
|
- reenable pandoc on ARM
|
||||||
|
|
||||||
* Thu Sep 04 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.3-1
|
* Thu Sep 04 2014 Dridi <dridi@fedoraproject.org> - 0.3.3-1
|
||||||
- rebuilt after a dependency upgrade
|
- rebuilt after a dependency upgrade
|
||||||
|
|
||||||
* Sat Aug 30 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.3-0
|
* Sat Aug 30 2014 Dridi <dridi@fedoraproject.org> - 0.3.3-0
|
||||||
- bumped to version 0.3.3
|
- bumped to version 0.3.3
|
||||||
- removed upstreamed patch
|
- removed upstreamed patch
|
||||||
|
|
||||||
* Thu Aug 28 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-9
|
* Thu Aug 28 2014 Dridi <dridi@fedoraproject.org> - 0.3.1-9
|
||||||
- rebuilt after a dependency upgrade
|
- rebuilt after a dependency upgrade
|
||||||
|
|
||||||
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-8
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-8
|
||||||
@ -226,35 +360,35 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|||||||
- fix shellcheck rpath instead of using ld.so.conf.d
|
- fix shellcheck rpath instead of using ld.so.conf.d
|
||||||
- simplify doc files
|
- simplify doc files
|
||||||
|
|
||||||
* Sun Mar 16 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-5
|
* Sun Mar 16 2014 Dridi <dridi@fedoraproject.org> - 0.3.1-5
|
||||||
- added missing ld config
|
- added missing ld config
|
||||||
|
|
||||||
* Sat Mar 01 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-4
|
* Sat Mar 01 2014 Dridi <dridi@fedoraproject.org> - 0.3.1-4
|
||||||
- executable dynamically linked to the library (bug #1069048)
|
- executable dynamically linked to the library (bug #1069048)
|
||||||
|
|
||||||
* Sun Feb 09 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-3
|
* Sun Feb 09 2014 Dridi <dridi@fedoraproject.org> - 0.3.1-3
|
||||||
- removed Setup.hs, now available upstream
|
- removed Setup.hs, now available upstream
|
||||||
- stop building the man page on ARM, no pandoc (bug #992430)
|
- stop building the man page on ARM, no pandoc (bug #992430)
|
||||||
- simpler workaroudn for bug #1052117
|
- simpler workaroudn for bug #1052117
|
||||||
|
|
||||||
* Wed Feb 05 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-2
|
* Wed Feb 05 2014 Dridi <dridi@fedoraproject.org> - 0.3.1-2
|
||||||
- build and install the man page
|
- build and install the man page
|
||||||
|
|
||||||
* Tue Feb 04 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-1
|
* Tue Feb 04 2014 Dridi <dridi@fedoraproject.org> - 0.3.1-1
|
||||||
- bumped to version 0.3.1
|
- bumped to version 0.3.1
|
||||||
- added a workaround for the Fedora haskell toolchain (bug #1052117)
|
- added a workaround for the Fedora haskell toolchain (bug #1052117)
|
||||||
|
|
||||||
* Tue Dec 03 2013 Dridi <dridi.boukelmoune@gmail.com> - 0.2.0-3
|
* Tue Dec 03 2013 Dridi <dridi@fedoraproject.org> - 0.2.0-3
|
||||||
- rebuilt
|
- rebuilt
|
||||||
|
|
||||||
* Tue Dec 03 2013 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 0.2.0-3
|
* Tue Dec 03 2013 Dridi Boukelmoune <dridi@fedoraproject.org> - 0.2.0-3
|
||||||
- s/shell/POSIX shell/ in summary
|
- s/shell/POSIX shell/ in summary
|
||||||
- LICENSE and README co-owned by sub-packages
|
- LICENSE and README co-owned by sub-packages
|
||||||
|
|
||||||
* Sat Nov 30 2013 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 0.2.0-2
|
* Sat Nov 30 2013 Dridi Boukelmoune <dridi@fedoraproject.org> - 0.2.0-2
|
||||||
- added a patch for "for arg do" loops (d4bc0f6)
|
- added a patch for "for arg do" loops (d4bc0f6)
|
||||||
|
|
||||||
* Sat Nov 23 2013 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 0.2.0-1
|
* Sat Nov 23 2013 Dridi Boukelmoune <dridi@fedoraproject.org> - 0.2.0-1
|
||||||
- spec file generated by cabal-rpm-0.8.6
|
- spec file generated by cabal-rpm-0.8.6
|
||||||
- added the description from the README
|
- added the description from the README
|
||||||
- fixed broken bits from the generated spec
|
- fixed broken bits from the generated spec
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (ShellCheck-0.6.0.tar.gz) = 51c2cc9cfd2f8a145095873f9b19d4fdd67a21eedab4ac2dbe5f43789fd0937a44bdc8480b2d0cceb5bc3802a8243dd3b701a07f1f6b5460291272ee453c7c5f
|
SHA512 (ShellCheck-0.10.0.tar.gz) = 30d574ad718e599a8b6b5346a96cb5af9ec7442f69e2d7b525b27a5b875bb70bc387e8bc010b848c360856f8130a40dbd9bba47a1dec3315cd9b22b1650442c9
|
||||||
|
Loading…
Reference in New Issue
Block a user