[ghc-regex-base] update to cabal2spec-0.25.2

Jens Petersen petersen at fedoraproject.org
Mon Jan 2 11:43:45 UTC 2012


commit 9467a5fa1598c53c4c18c3a6608dc9aba2f13815
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Jan 2 20:43:32 2012 +0900

    update to cabal2spec-0.25.2

 ghc-regex-base.spec |   32 +++++++++++++++++++++++---------
 1 files changed, 23 insertions(+), 9 deletions(-)
---
diff --git a/ghc-regex-base.spec b/ghc-regex-base.spec
index 4ec530e..939820d 100644
--- a/ghc-regex-base.spec
+++ b/ghc-regex-base.spec
@@ -1,27 +1,30 @@
+# cabal2spec-0.25.2
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
 %global pkg_name regex-base
 
 %global common_summary Haskell regex base library
 
 %global common_description Interface API for regex-{posix,pcre,parsec,tdfa,dfa}.
 
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
 Name:           ghc-%{pkg_name}
-# part of haskell-platform-2011.2.0.1
+# part of haskell-platform-2011.4.0.0
 Version:        0.93.2
-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-mtl-prof, ghc-bytestring-prof
+BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
+BuildRequires:  ghc-mtl-prof
+BuildRequires:  ghc-bytestring-prof
 
 %description
 %{common_description}
@@ -39,10 +42,21 @@ BuildRequires:  ghc-mtl-prof, ghc-bytestring-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> - 0.93.2-9
+- update to cabal2spec-0.25.2
+
 * Mon Oct 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.93.2-8.3
 - rebuild with new gmp without compat lib
 


More information about the scm-commits mailing list