update to 0.11.3.4

epel9
Jens Petersen 10 years ago
parent a5ebd412d4
commit a61015dd8e

1
.gitignore vendored

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

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

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

Loading…
Cancel
Save