update to 0.11.3.4

This commit is contained in:
Jens Petersen 2015-01-26 14:16:37 +09:00
parent a5ebd412d4
commit a61015dd8e
3 changed files with 25 additions and 10 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@
/attoparsec-0.10.1.1.tar.gz
/attoparsec-0.10.2.0.tar.gz
/attoparsec-0.10.4.0.tar.gz
/attoparsec-0.11.3.4.tar.gz

View File

@ -2,15 +2,17 @@
%global pkg_name attoparsec
%bcond_with tests
Name: ghc-%{pkg_name}
# part of haskell-platform-2013.2+
Version: 0.10.4.0
Release: 4%{?dist}
Version: 0.11.3.4
Release: 1%{?dist}
Summary: Fast combinator parsing for bytestrings and text
License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
@ -19,21 +21,27 @@ BuildRequires: ghc-array-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-scientific-devel
BuildRequires: ghc-text-devel
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-quickcheck2-devel
%endif
# End cabal-rpm deps
%description
A fast parser combinator library, aimed particularly at dealing
efficiently with network protocols and complicated text/binary
file formats.
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
Provides: %{name}-static = %{version}-%{release}
Requires: ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}
Requires: %{name} = %{version}-%{release}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides the Haskell %{pkg_name} library development files.
@ -51,6 +59,12 @@ This package provides the Haskell %{pkg_name} library development files.
%ghc_lib_install
%check
%if %{with tests}
%cabal test
%endif
%post devel
%ghc_pkg_recache
@ -64,7 +78,7 @@ This package provides the Haskell %{pkg_name} library development files.
%files devel -f %{name}-devel.files
%doc examples README.markdown
%doc README.markdown examples
%changelog

View File

@ -1 +1 @@
2b9ec5768797e8c649bf36efa9ef97e2 attoparsec-0.10.4.0.tar.gz
95917e525a6d2a6a81be51cd816e4ca1 attoparsec-0.11.3.4.tar.gz