refresh to cabal-rpm-0.13
This commit is contained in:
parent
f81411162f
commit
fd21afbf53
|
@ -1,4 +1,4 @@
|
|||
# generated by cabal-rpm-0.12.6
|
||||
# generated by cabal-rpm-0.13
|
||||
# https://fedoraproject.org/wiki/Packaging:Haskell
|
||||
|
||||
%global pkg_name ShellCheck
|
||||
|
@ -8,20 +8,21 @@
|
|||
|
||||
Name: %{pkg_name}
|
||||
Version: 0.6.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Shell script analysis tool
|
||||
|
||||
License: GPLv3+
|
||||
Url: https://www.shellcheck.net/
|
||||
Source: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
# End cabal-rpm sources
|
||||
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1707331
|
||||
Patch0: https://github.com/koalaman/shellcheck/commit/138080bd.patch
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-aeson-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
|
@ -69,15 +70,21 @@ This package provides the Haskell %{name} library development files.
|
|||
|
||||
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%autosetup -p1
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
%build
|
||||
# Begin cabal-rpm build:
|
||||
%ghc_lib_build
|
||||
# End cabal-rpm build
|
||||
|
||||
|
||||
%install
|
||||
# Begin cabal-rpm install
|
||||
%ghc_lib_install
|
||||
# End cabal-rpm install
|
||||
|
||||
install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
||||
|
||||
|
@ -95,14 +102,18 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|||
|
||||
|
||||
%files
|
||||
# Begin cabal-rpm files:
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%{_bindir}/shellcheck
|
||||
# End cabal-rpm files
|
||||
%{_mandir}/man1/shellcheck.1*
|
||||
|
||||
|
||||
%files -n ghc-%{name} -f ghc-%{name}.files
|
||||
# Begin cabal-rpm files:
|
||||
%license LICENSE
|
||||
# End cabal-rpm files
|
||||
|
||||
|
||||
%files -n ghc-%{name}-devel -f ghc-%{name}-devel.files
|
||||
|
@ -110,6 +121,9 @@ install -Dpm 0644 shellcheck.1 %{buildroot}%{_mandir}/man1/shellcheck.1
|
|||
|
||||
|
||||
%changelog
|
||||
* Sat Jul 27 2019 Jens Petersen <petersen@redhat.com> - 0.6.0-3
|
||||
- refresh to cabal-rpm-0.13
|
||||
|
||||
* Sat May 18 2019 Dridi Boukelmoune <dridi.boukelmoune@gmail.com> - 0.6.0-2
|
||||
- Add upstream patch for BZ#1707331 (infinite loop on annotations for SC2188)
|
||||
|
||||
|
|
Loading…
Reference in New Issue