refresh packaging

epel9
Jens Petersen 8 years ago
parent 22c9e1a24c
commit 337a3b5cef

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

Loading…
Cancel
Save