|
|
|
@ -1,18 +1,19 @@
|
|
|
|
|
# generated by cabal-rpm-0.9.12
|
|
|
|
|
# generated by cabal-rpm-0.11.1
|
|
|
|
|
# https://fedoraproject.org/wiki/Packaging:Haskell
|
|
|
|
|
|
|
|
|
|
%global pkg_name ShellCheck
|
|
|
|
|
%global pkgver %{pkg_name}-%{version}
|
|
|
|
|
|
|
|
|
|
%bcond_with tests
|
|
|
|
|
|
|
|
|
|
Name: %{pkg_name}
|
|
|
|
|
Version: 0.4.5
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Shell script analysis tool
|
|
|
|
|
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
Url: https://github.com/koalaman/shellcheck
|
|
|
|
|
Source0: https://hackage.haskell.org/package/%{name}-%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
@ -73,11 +74,10 @@ pandoc -s -t man shellcheck.1.md -o shellcheck.1
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%ghc_lib_install
|
|
|
|
|
%ghc_fix_rpath %{pkgver}
|
|
|
|
|
|
|
|
|
|
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|
|
|
|
|
|
|
|
|
%ghc_fix_dynamic_rpath shellcheck
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%cabal_test
|
|
|
|
@ -107,6 +107,9 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Feb 24 2017 Jens Petersen <petersen@redhat.com> - 0.4.5-3
|
|
|
|
|
- refresh to cabal-rpm-0.11.1
|
|
|
|
|
|
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|