[ghc-dlist] update to 0.7.1
Jens Petersen
petersen at fedoraproject.org
Tue Oct 28 15:57:54 UTC 2014
commit 7995ac3a9ab8e00416be834e73b2e848f48938b4
Author: Jens Petersen <petersen at redhat.com>
Date: Wed Oct 29 00:57:53 2014 +0900
update to 0.7.1
.gitignore | 1 +
ghc-dlist.spec | 32 ++++++++++++++++++++++++++------
sources | 2 +-
3 files changed, 28 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1224653..c03c53b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/dlist-0.5.tar.gz
+/dlist-0.7.1.tar.gz
diff --git a/ghc-dlist.spec b/ghc-dlist.spec
index 4306b1f..c245e69 100644
--- a/ghc-dlist.spec
+++ b/ghc-dlist.spec
@@ -2,20 +2,29 @@
%global pkg_name dlist
+# no useful debuginfo for Haskell packages without C sources
+%global debug_package %{nil}
+
Name: ghc-%{pkg_name}
-Version: 0.5
-Release: 13%{?dist}
-Summary: Haskell differences lists
+Version: 0.7.1
+Release: 1%{?dist}
+Summary: Difference lists
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
+Source0: http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
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
-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
printing, (e.g. with the Writer monad), where list append
quickly becomes too expensive.
@@ -23,10 +32,11 @@ quickly becomes too expensive.
%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.
@@ -44,6 +54,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
@@ -60,6 +76,10 @@ This package provides the Haskell %{pkg_name} library development files.
%changelog
+* Wed Oct 29 2014 Jens Petersen <petersen at 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 at lists.fedoraproject.org> - 0.5-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
diff --git a/sources b/sources
index be65db4..0d5c163 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-54f6c18ff689b7ef54e3229dc4a94107 dlist-0.5.tar.gz
+c6392f6d41a7ac872af792822b8042eb dlist-0.7.1.tar.gz
More information about the scm-commits
mailing list