diff --git a/ShellCheck.spec b/ShellCheck.spec index 6146b14..c7e1492 100644 --- a/ShellCheck.spec +++ b/ShellCheck.spec @@ -1,3 +1,5 @@ +# https://fedoraproject.org/wiki/Packaging:Haskell + %global pkg_name ShellCheck # re-enable after QuickCheck code moved out of main src files @@ -11,9 +13,6 @@ # disable all tests for now to avoid linking QuickCheck %bcond_with tests -# no useful debuginfo for Haskell packages without C sources -%global debug_package %{nil} - Name: %{pkg_name} Version: 0.3.4 Release: 2%{?dist} @@ -21,7 +20,7 @@ Summary: Tool for checking common errors in POSIX shell scripts License: AGPLv3+ URL: http://www.shellcheck.net/about.html -Source0: http://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz +Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz Patch0: ShellCheck-disable-TemplateHaskell-runTests.patch BuildRequires: ghc-Cabal-devel @@ -43,14 +42,14 @@ BuildRequires: pandoc %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 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 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. +* To point out subtle caveats, corner cases and pitfalls, that may cause an + advanced user's otherwise working script to fail under future circumstances. %package -n ghc-%{name}