executable dynamically linked to the library
This commit is contained in:
parent
b2e7f60974
commit
1bdcf5f819
45
105.diff
Normal file
45
105.diff
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
diff --git a/ShellCheck.cabal b/ShellCheck.cabal
|
||||||
|
index ba622df..b4465a6 100644
|
||||||
|
--- a/ShellCheck.cabal
|
||||||
|
+++ b/ShellCheck.cabal
|
||||||
|
@@ -9,7 +9,7 @@ Author: Vidar Holen
|
||||||
|
Maintainer: vidar@vidarholen.net
|
||||||
|
Homepage: http://www.shellcheck.net/
|
||||||
|
Build-Type: Simple
|
||||||
|
-Cabal-Version: >= 1.6
|
||||||
|
+Cabal-Version: >= 1.8
|
||||||
|
Bug-reports: https://github.com/koalaman/shellcheck/issues
|
||||||
|
Description:
|
||||||
|
The goals of ShellCheck are:
|
||||||
|
@@ -28,8 +28,29 @@ source-repository head
|
||||||
|
location: git://github.com/koalaman/shellcheck.git
|
||||||
|
|
||||||
|
library
|
||||||
|
- build-depends: base >= 4, base < 5, parsec, containers, regex-compat, mtl, directory, json
|
||||||
|
- exposed-modules: ShellCheck.AST, ShellCheck.Data, ShellCheck.Parser, ShellCheck.Analytics, ShellCheck.Simple
|
||||||
|
+ build-depends:
|
||||||
|
+ base >= 4 && < 5,
|
||||||
|
+ containers,
|
||||||
|
+ directory,
|
||||||
|
+ json,
|
||||||
|
+ mtl,
|
||||||
|
+ parsec,
|
||||||
|
+ regex-compat
|
||||||
|
+ exposed-modules:
|
||||||
|
+ ShellCheck.Analytics
|
||||||
|
+ ShellCheck.AST
|
||||||
|
+ ShellCheck.Data
|
||||||
|
+ ShellCheck.Parser
|
||||||
|
+ ShellCheck.Simple
|
||||||
|
|
||||||
|
executable shellcheck
|
||||||
|
+ build-depends:
|
||||||
|
+ ShellCheck,
|
||||||
|
+ base >= 4 && < 5,
|
||||||
|
+ containers,
|
||||||
|
+ directory,
|
||||||
|
+ json,
|
||||||
|
+ mtl,
|
||||||
|
+ parsec,
|
||||||
|
+ regex-compat
|
||||||
|
main-is: shellcheck.hs
|
@ -2,12 +2,13 @@
|
|||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: 0.3.1
|
Version: 0.3.1
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: Tool for checking common errors in POSIX shell scripts
|
Summary: Tool for checking common errors in POSIX shell scripts
|
||||||
|
|
||||||
License: AGPLv3+
|
License: AGPLv3+
|
||||||
URL: http://www.shellcheck.net/about.html
|
URL: http://www.shellcheck.net/about.html
|
||||||
Source0: https://github.com/koalaman/shellcheck/archive/v%{version}.tar.gz
|
Source0: https://github.com/koalaman/shellcheck/archive/v%{version}.tar.gz
|
||||||
|
Patch0: https://github.com/koalaman/shellcheck/pull/105.diff
|
||||||
|
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros
|
BuildRequires: ghc-rpm-macros
|
||||||
@ -61,7 +62,7 @@ This package provides the Haskell %{name} library development files.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n shellcheck-%{version}
|
%autosetup -n shellcheck-%{version} -p 1
|
||||||
|
|
||||||
# workaround until the tarball root directory becomes %%{name}-%%{version}
|
# workaround until the tarball root directory becomes %%{name}-%%{version}
|
||||||
ln -s shellcheck-%{version} ../%{name}-%{version}
|
ln -s shellcheck-%{version} ../%{name}-%{version}
|
||||||
@ -119,6 +120,9 @@ make .tests
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 01 2014 Dridi <dridi.boukelmoune@gmail.com> - 0.3.1-4
|
||||||
|
- 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.boukelmoune@gmail.com> - 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)
|
||||||
|
Loading…
Reference in New Issue
Block a user