update to 0.7.1

epel9
Jens Petersen 10 years ago
parent b3ac49fca5
commit 7995ac3a9a

1
.gitignore vendored

@ -1 +1,2 @@
/dlist-0.5.tar.gz /dlist-0.5.tar.gz
/dlist-0.7.1.tar.gz

@ -2,20 +2,29 @@
%global pkg_name dlist %global pkg_name dlist
# no useful debuginfo for Haskell packages without C sources
%global debug_package %{nil}
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.5 Version: 0.7.1
Release: 13%{?dist} Release: 1%{?dist}
Summary: Haskell differences lists Summary: Difference lists
License: BSD License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name} URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz Source0: http://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
# Begin cabal-rpm deps:
BuildRequires: ghc-deepseq-devel
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
%endif
# End cabal-rpm deps
%description %description
Differences lists: a list-like type supporting O(1) append. Difference lists: a list-like type supporting O(1) append.
This is particularly useful for efficient logging and pretty This is particularly useful for efficient logging and pretty
printing, (e.g. with the Writer monad), where list append printing, (e.g. with the Writer monad), where list append
quickly becomes too expensive. quickly becomes too expensive.
@ -23,10 +32,11 @@ quickly becomes too expensive.
%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.
@ -44,6 +54,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
@ -60,6 +76,10 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog %changelog
* Wed Oct 29 2014 Jens Petersen <petersen@redhat.com> - 0.7.1-1
- update to 0.7.1
- refresh to cblrpm-0.8.11
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-13 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

@ -1 +1 @@
54f6c18ff689b7ef54e3229dc4a94107 dlist-0.5.tar.gz c6392f6d41a7ac872af792822b8042eb dlist-0.7.1.tar.gz

Loading…
Cancel
Save