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