From 3a447978ce2a708b1cf8db06ab7713e03189bb08 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sat, 4 May 2013 21:38:00 +0900 Subject: [PATCH] update to 0.10.4.0 and cabal-rpm-0.8.0 --- .gitignore | 1 + ghc-attoparsec.spec | 44 +++++++++++++++++++++++++++++--------------- sources | 2 +- 3 files changed, 31 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 4f7c1a1..fe18593 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /attoparsec-0.10.1.0.tar.gz /attoparsec-0.10.1.1.tar.gz /attoparsec-0.10.2.0.tar.gz +/attoparsec-0.10.4.0.tar.gz diff --git a/ghc-attoparsec.spec b/ghc-attoparsec.spec index 383d878..4ddff2f 100644 --- a/ghc-attoparsec.spec +++ b/ghc-attoparsec.spec @@ -1,17 +1,11 @@ # https://fedoraproject.org/wiki/Packaging:Haskell -# https://fedoraproject.org/wiki/PackagingDrafts/Haskell %global pkg_name attoparsec -%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. - Name: ghc-%{pkg_name} -Version: 0.10.2.0 -Release: 5%{?dist} -Summary: %{common_summary} +Version: 0.10.4.0 +Release: 1%{?dist} +Summary: Fast combinator parsing for bytestrings and text License: BSD URL: http://hackage.haskell.org/package/%{pkg_name} @@ -28,9 +22,21 @@ BuildRequires: ghc-text-devel # End cabal-rpm deps %description -%{common_description} +A fast parser combinator library, aimed particularly at dealing +efficiently with network protocols and complicated text/binary +file formats. +%package devel +Summary: Haskell %{pkg_name} library development files +Requires: %{ghc_compiler} +Requires(post): %{ghc_compiler} +Requires(postun): %{ghc_compiler} +Requires: %{name} = %{version}-%{release} + +%description devel +This package provides the Haskell attoparsec library development files. + %prep %setup -q -n %{pkg_name}-%{version} @@ -43,19 +49,27 @@ BuildRequires: ghc-text-devel %ghc_lib_install -%ghc_devel_package - -%ghc_devel_description +%post devel +%ghc_pkg_recache -%ghc_devel_post_postun +%postun devel +%ghc_pkg_recache -%ghc_files LICENSE +%files -f %{name}.files +%doc LICENSE + + +%files devel -f %{name}-devel.files %doc examples README.markdown %changelog +* Sat May 04 2013 Jens Petersen - 0.10.4.0-1 +- update to 0.10.4.0 +- update spec file to cabal-rpm-0.8.0 + * Wed Feb 13 2013 Fedora Release Engineering - 0.10.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index b4f5146..ca06494 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2829428e242ae4ddde54cbb08f8a7ab6 attoparsec-0.10.2.0.tar.gz +2b9ec5768797e8c649bf36efa9ef97e2 attoparsec-0.10.4.0.tar.gz