diff --git a/ghc-attoparsec.spec b/ghc-attoparsec.spec index fa6b38b..8d2ceac 100644 --- a/ghc-attoparsec.spec +++ b/ghc-attoparsec.spec @@ -1,4 +1,3 @@ -# cabal2spec-0.25.2 # https://fedoraproject.org/wiki/Packaging:Haskell # https://fedoraproject.org/wiki/PackagingDrafts/Haskell @@ -6,26 +5,27 @@ %global common_summary Fast combinator parsing for bytestrings -%global common_description A fast parser combinator library, aimed particularly at \ -dealing efficiently with network protocols and complicated \ -text/binary file formats. +%global common_description A fast parser combinator library aimed particularly at dealing efficiently\ +with network protocols and complicated text/binary file formats. Name: ghc-%{pkg_name} Version: 0.10.2.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: %{common_summary} -Group: System Environment/Libraries License: BSD -# BEGIN cabal2spec URL: http://hackage.haskell.org/package/%{pkg_name} Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz -ExclusiveArch: %{ghc_arches} + BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour} -# END cabal2spec +BuildRequires: ghc-rpm-macros +# Begin cabal-rpm deps: +BuildRequires: ghc-array-devel +BuildRequires: ghc-bytestring-devel BuildRequires: ghc-containers-devel +BuildRequires: ghc-deepseq-devel BuildRequires: ghc-text-devel +# End cabal-rpm deps %description %{common_description} @@ -52,9 +52,13 @@ BuildRequires: ghc-text-devel %ghc_files LICENSE +%doc examples README.markdown %changelog +* Sat Nov 17 2012 Jens Petersen - 0.10.2.0-4 +- update with cabal-rpm + * Thu Jul 19 2012 Fedora Release Engineering - 0.10.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild