[ghc-attoparsec] update to 0.10.4.0 and cabal-rpm-0.8.0
Jens Petersen
petersen at fedoraproject.org
Sat May 4 12:38:11 UTC 2013
commit 3a447978ce2a708b1cf8db06ab7713e03189bb08
Author: Jens Petersen <petersen at redhat.com>
Date: Sat May 4 21:38:00 2013 +0900
update to 0.10.4.0 and cabal-rpm-0.8.0
.gitignore | 1 +
ghc-attoparsec.spec | 42 ++++++++++++++++++++++++++++--------------
sources | 2 +-
3 files changed, 30 insertions(+), 15 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,8 +22,20 @@ 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
+%post devel
+%ghc_pkg_recache
+
-%ghc_devel_description
+%postun devel
+%ghc_pkg_recache
-%ghc_devel_post_postun
+%files -f %{name}.files
+%doc LICENSE
-%ghc_files LICENSE
+%files devel -f %{name}-devel.files
%doc examples README.markdown
%changelog
+* Sat May 04 2013 Jens Petersen <petersen at redhat.com> - 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 <rel-eng at lists.fedoraproject.org> - 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
More information about the scm-commits
mailing list