From 006e1ce8776c8ab327ad5332d3a2b7bbc5729417 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 25 Aug 2017 21:36:26 -0400 Subject: [PATCH] Update to latest cabal-rpm template. --- ghc-attoparsec-iso8601.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ghc-attoparsec-iso8601.spec b/ghc-attoparsec-iso8601.spec index 474814a..f2eead3 100644 --- a/ghc-attoparsec-iso8601.spec +++ b/ghc-attoparsec-iso8601.spec @@ -1,16 +1,17 @@ -# generated by cabal-rpm-0.11 +# generated by cabal-rpm-0.11.1 # https://fedoraproject.org/wiki/Packaging:Haskell %global pkg_name attoparsec-iso8601 +%global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} Version: 1.0.0.0 -Release: 1.git.412.29fc315%{?dist} +Release: 1%{?dist} Summary: Parsing of ISO 8601 dates, originally from aeson License: BSD Url: https://hackage.haskell.org/package/%{pkg_name} -Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros @@ -39,7 +40,7 @@ files. %prep -%setup -q -n %{pkg_name}-%{version} +%setup -q -n %{pkgver} %build