From 337a3b5cef39cae0f60488abde9815fcb961ff0e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Fri, 24 Feb 2017 00:16:58 +0900 Subject: [PATCH] refresh packaging --- ShellCheck.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ShellCheck.spec b/ShellCheck.spec index f6831e0..a0f82c6 100644 --- a/ShellCheck.spec +++ b/ShellCheck.spec @@ -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 - 0.4.5-3 +- refresh to cabal-rpm-0.11.1 + * Fri Feb 10 2017 Fedora Release Engineering - 0.4.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild