4
0
forked from pool/ShellCheck

osc copypac from project:devel:languages:haskell:lts:11 package:ShellCheck revision:10, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ShellCheck?expand=0&rev=39
This commit is contained in:
2018-06-14 07:05:12 +00:00
committed by Git OBS Bridge
parent fbae405dca
commit e490fd8fc3
5 changed files with 109 additions and 38 deletions

View File

@@ -19,20 +19,19 @@
%global pkg_name ShellCheck
%bcond_with tests
Name: %{pkg_name}
Version: 0.5.0
Version: 0.4.7
Release: 0
Summary: Shell script analysis tool
License: GPL-3.0-or-later
Group: Development/Libraries/Haskell
URL: https://hackage.haskell.org/package/%{name}
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
BuildRequires: chrpath
Source1: https://hackage.haskell.org/package/%{name}-%{version}/revision/1.cabal#/%{name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-directory-devel
BuildRequires: ghc-json-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-process-devel
@@ -71,13 +70,13 @@ This package provides the Haskell %{name} library development files.
%prep
%setup -q
cp -p %{SOURCE1} %{name}.cabal
%build
%ghc_lib_build
%install
%ghc_lib_install
%ghc_fix_rpath %{pkg_name}-%{version}
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
%check