[ghc-mtl] update to cabal2spec-0.23

Jens Petersen petersen at fedoraproject.org
Fri May 27 08:43:57 UTC 2011


commit 4301f8e75aff32724fadac3c1f8a476415328e6e
Author: Jens Petersen <petersen at redhat.com>
Date:   Fri May 27 17:43:35 2011 +0900

    update to cabal2spec-0.23

 ghc-mtl.spec |   19 +++++++------------
 1 files changed, 7 insertions(+), 12 deletions(-)
---
diff --git a/ghc-mtl.spec b/ghc-mtl.spec
index 21febf5..65bede5 100644
--- a/ghc-mtl.spec
+++ b/ghc-mtl.spec
@@ -4,13 +4,8 @@
 
 %global common_description A monad transformer library for Haskell: part of haskell-platform.
 
-%global ghc_pkg_deps ghc-transformers-devel
-
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
 Name:           ghc-%{pkg_name}
-# haskell-platform-2011.1.0.0
+# haskell-platform-2011.2.0.0
 Version:        2.0.1.0
 Release:        5%{?dist}
 Summary:        %{common_summary}
@@ -21,16 +16,13 @@ URL:            http://hackage.haskell.org/package/%{pkg_name}
 Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
 # fedora ghc archs:
 ExclusiveArch:  %{ix86} x86_64 ppc alpha sparcv9 ppc64
-BuildRequires:  ghc, ghc-doc, ghc-prof
-BuildRequires:  ghc-rpm-macros >= 0.7.3
+BuildRequires:  ghc-prof
+BuildRequires:  ghc-rpm-macros
 BuildRequires:  hscolour
-%{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
+BuildRequires:  ghc-transformers-prof
 
 %description
 %{common_description}
-%if %{with shared}
-This package provides the shared library.
-%endif
 
 
 %prep
@@ -49,6 +41,9 @@ This package provides the shared library.
 
 
 %changelog
+* Fri May 27 2011 Jens Petersen <petersen at redhat.com> - 2.0.1.0-5
+- update to cabal2spec-0.23
+
 * Thu May 05 2011 Jiri Skala <jskala at redhat.com> - 2.0.1.0-5
 - Enable build on ppc64
 


More information about the scm-commits mailing list