Mageia Bugzilla – Attachment 10045 Details for
Bug 22177
shellcheck, handy program when integrated with code editor to check common mistakes in shell scripts. ShellCheck is written in Haskell.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Proposal spec file
shellcheck.spec (text/plain), 1.06 KB, created by
Kristoffer Grundström
on 2018-03-15 17:43:27 CET
(
hide
)
Description:
Proposal spec file
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2018-03-15 17:43:27 CET
Size:
1.06 KB
patch
obsolete
>Name: shellcheck >Version: 0.4.6 >Release: %mkrel 1 >License: GPLv3 >URL: https://github.com/koalaman/shellcheck >Group: Development/Tools >BuildRequires: rpm >BuildRequires: syntastic-cabal >Source: %name-%version.tar >Summary: Shell script analysis tool > >%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. > >%prep >%setup -q > >%build >mkdir shellcheck-%version >cabal update >cabal fetch shellcheck-%version >tar -cf shellcheck-%version.tar shellcheck-%version >exit 1 >rm -rf $HOME/.cabal >ln -s -r -f . $HOME/.cabal >[ -n "$NPROCS" ] || NPROCS=%__nprocs; cabal install -j$NPROCS shellcheck-%version > >%install >mkdir -p %buildroot%_bindir >cp bin/shellcheck %buildroot%_bindir > >%files >%_bindir/shellcheck
Name: shellcheck Version: 0.4.6 Release: %mkrel 1 License: GPLv3 URL: https://github.com/koalaman/shellcheck Group: Development/Tools BuildRequires: rpm BuildRequires: syntastic-cabal Source: %name-%version.tar Summary: Shell script analysis tool %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. %prep %setup -q %build mkdir shellcheck-%version cabal update cabal fetch shellcheck-%version tar -cf shellcheck-%version.tar shellcheck-%version exit 1 rm -rf $HOME/.cabal ln -s -r -f . $HOME/.cabal [ -n "$NPROCS" ] || NPROCS=%__nprocs; cabal install -j$NPROCS shellcheck-%version %install mkdir -p %buildroot%_bindir cp bin/shellcheck %buildroot%_bindir %files %_bindir/shellcheck
View Attachment As Raw
Actions:
View
Attachments on
bug 22177
: 10045