[ghc-deepseq] update to cabal2spec-0.25.2

Jens Petersen petersen at fedoraproject.org
Mon Jan 2 09:14:10 UTC 2012


commit 911d294a52708f9081b8eec59b533317f75d4916
Author: Jens Petersen <petersen at redhat.com>
Date:   Mon Jan 2 18:14:03 2012 +0900

    update to cabal2spec-0.25.2

 ghc-deepseq.spec |   28 ++++++++++++++++++++++------
 1 files changed, 22 insertions(+), 6 deletions(-)
---
diff --git a/ghc-deepseq.spec b/ghc-deepseq.spec
index 9d68c47..9264fb9 100644
--- a/ghc-deepseq.spec
+++ b/ghc-deepseq.spec
@@ -1,3 +1,7 @@
+# cabal2spec-0.25.2
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
 %global pkg_name deepseq
 
 %global common_summary Haskell library to fully evaluate data structures
@@ -5,20 +9,21 @@
 %global common_description Library provides a "deep" version of seq, for fully evaluating data structures.
 
 Name:           ghc-%{pkg_name}
-# haskell-platform-2011.2.0.1
+# haskell-platform-2011.4.0.0
 Version:        1.1.0.2
-Release:        7%{?dist}.3
+Release:        8%{?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-array-prof, ghc-containers-prof
+BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
+BuildRequires:  ghc-containers-prof
 
 %description
 %{common_description}
@@ -36,10 +41,21 @@ BuildRequires:  ghc-array-prof, ghc-containers-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> - 1.1.0.2-8
+- update to cabal2spec-0.25.2
+
 * Mon Oct 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 1.1.0.2-7.3
 - rebuild with new gmp without compat lib
 


More information about the scm-commits mailing list