[ghc-mtl] update to cabal2spec-0.25.2

Jens Petersen petersen at fedoraproject.org
Mon Jan 2 09:02:45 UTC 2012


commit fcef3824e31d7f23b1b8ea81d0a2a10e86825ecf
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Jan 2 18:02:07 2012 +0900

    update to cabal2spec-0.25.2

 ghc-mtl.spec |   26 +++++++++++++++++++++-----
 1 files changed, 21 insertions(+), 5 deletions(-)
---
diff --git a/ghc-mtl.spec b/ghc-mtl.spec
index d374284..1a79c36 100644
--- a/ghc-mtl.spec
+++ b/ghc-mtl.spec
@@ -1,3 +1,7 @@
+# cabal2spec-0.25.2
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
 %global pkg_name mtl
 
 %global common_summary Haskell Monad Transformer Library
@@ -5,19 +9,20 @@
 %global common_description A monad transformer library for Haskell: part of haskell-platform.
 
 Name:           ghc-%{pkg_name}
-# haskell-platform-2011.2.0.1
+# haskell-platform-2011.4.0.0
 Version:        2.0.1.0
-Release:        8%{?dist}.3
+Release:        9%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
 License:        BSD
+# BEGIN cabal2spec
 URL:            http://hackage.haskell.org/package/%{pkg_name}
 Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
 ExclusiveArch:  %{ghc_arches}
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
-BuildRequires:  hscolour
+BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
 BuildRequires:  ghc-transformers-prof
 
 %description
@@ -36,10 +41,21 @@ BuildRequires:  ghc-transformers-prof
 %ghc_lib_install
 
 
-%ghc_lib_package
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files
 
 
 %changelog
+* Mon Jan  2 2012 Jens Petersen <petersen at redhat.com> - 2.0.1.0-9
+- update to cabal2spec-0.25.2
+
 * Mon Oct 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 2.0.1.0-8.3
 - rebuild with new gmp without compat lib
 


More information about the scm-commits mailing list