[ghc-hashed-storage] update to ghc-rpm-macros-0.8.1 (cabal2spec-0.22.2)

Jens Petersen petersen at fedoraproject.org
Thu Aug 19 03:33:14 UTC 2010


commit af67a7b9a7577b67ce3baca697d7d6ee480acab6
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Aug 19 13:32:36 2010 +1000

    update to ghc-rpm-macros-0.8.1 (cabal2spec-0.22.2)

 ghc-hashed-storage.spec |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/ghc-hashed-storage.spec b/ghc-hashed-storage.spec
index c65dd28..afe1dc4 100644
--- a/ghc-hashed-storage.spec
+++ b/ghc-hashed-storage.spec
@@ -13,13 +13,14 @@ files and directories).
 %global ghc_pkg_deps ghc-binary-devel, ghc-dataenc-devel, ghc-mmap-devel, ghc-mtl-devel, ghc-zlib-devel
 
 %bcond_without shared
+%bcond_without hscolour
 
 # debuginfo is not useful for ghc
 %global debug_package %{nil}
 
 Name:           ghc-%{pkg_name}
 Version:        0.4.13
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
@@ -30,7 +31,10 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # fedora ghc archs:
 ExclusiveArch:  %{ix86} x86_64 ppc alpha
 BuildRequires:  ghc, ghc-doc, ghc-prof
-BuildRequires:  ghc-rpm-macros >= 0.7.0
+BuildRequires:  ghc-rpm-macros >= 0.8.1
+%if %{with hscolour}
+BuildRequires:  hscolour
+%endif
 %{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
 
 %description
@@ -52,7 +56,8 @@ This package provides the shared library.
 
 
 %check
-# requires QuickCheck2
+# tests require test-framework
+
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -64,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Aug 19 2010 Jens Petersen <petersen at redhat.com> - 0.4.13-3
+- update to ghc-rpm-macros-0.8.1 (cabal2spec-0.22.2)
+
 * Sun Jun 27 2010 Jens Petersen <petersen at redhat.com> - 0.4.13-2
 - sync cabal2spec-0.22.1
 


More information about the scm-commits mailing list