SHA256
1
0
forked from pool/ShellCheck

Accepting request 461516 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/461516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ShellCheck?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2017-03-14 09:03:51 +00:00 committed by Git OBS Bridge
commit 51dc3f104b
4 changed files with 12 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6cc50790d25b6f330037c3612c21460aa75839cc32c65e10ea6b35f9f4488768
size 105979

3
ShellCheck-0.4.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:53039ac314b99af691a99aec111572ee51b0579280c7fa5795ac48d0c4e02fa7
size 109721

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Feb 12 14:19:35 UTC 2017 - psimons@suse.com
- Update to version 0.4.5 with cabal2obs.
-------------------------------------------------------------------
Sun Jul 10 17:33:18 UTC 2016 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ShellCheck
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,14 +19,13 @@
%global pkg_name ShellCheck
%bcond_with tests
Name: %{pkg_name}
Version: 0.4.4
Version: 0.4.5
Release: 0
Summary: Shell script analysis tool
License: GPL-3.0+
Group: Development/Languages/Other
Url: https://hackage.haskell.org/package/%{name}
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
# Begin cabal-rpm deps:
BuildRequires: chrpath
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-QuickCheck-devel
@ -39,7 +38,6 @@ BuildRequires: ghc-process-devel
BuildRequires: ghc-regex-tdfa-devel
BuildRequires: ghc-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# End cabal-rpm deps
%description
The goals of ShellCheck are:
@ -74,23 +72,16 @@ This package provides the Haskell %{name} library development files.
%prep
%setup -q
%build
%ghc_lib_build
%install
%ghc_lib_install
%ghc_fix_dynamic_rpath shellcheck
%ghc_fix_rpath %{pkg_name}-%{version}
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
%check
%if %{with tests}
%{cabal} test
%endif
%cabal_test
%post -n ghc-%{name}-devel
%ghc_pkg_recache