[ghc-cgi] update to cabal2spec-0.25.1 for haskell-platform-2011.4 rebuild

Jens Petersen petersen at fedoraproject.org
Wed Dec 28 08:35:14 UTC 2011


commit a49b45865d312789082fa9939c9ed2690a530f38
Author: Jens Petersen <petersen at redhat.com>
Date:   Wed Dec 28 17:34:16 2011 +0900

    update to cabal2spec-0.25.1 for haskell-platform-2011.4 rebuild

 ghc-cgi.spec |   28 ++++++++++++++++++++++------
 1 files changed, 22 insertions(+), 6 deletions(-)
---
diff --git a/ghc-cgi.spec b/ghc-cgi.spec
index 6905a7d..4f0f7d9 100644
--- a/ghc-cgi.spec
+++ b/ghc-cgi.spec
@@ -5,20 +5,25 @@
 %global common_description A Haskell library for ghc for writing CGI programs.
 
 Name:           ghc-%{pkg_name}
-# part of haskell-platform-2011.2.0.1
+# part of haskell-platform-2011.4.0.0
 Version:        3001.1.7.4
-Release:        9%{?dist}.2
+Release:        10%{?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-network-prof, ghc-parsec-prof, ghc-xhtml-prof, ghc-extensible-exceptions-prof
+BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
+BuildRequires:  ghc-extensible-exceptions-prof
+BuildRequires:  ghc-mtl-prof
+BuildRequires:  ghc-network-prof
+BuildRequires:  ghc-parsec-prof
+BuildRequires:  ghc-xhtml-prof
 
 %description
 %{common_description}
@@ -36,10 +41,21 @@ BuildRequires:  ghc-mtl-prof, ghc-network-prof, ghc-parsec-prof, ghc-xhtml-prof,
 %ghc_lib_install
 
 
-%ghc_lib_package
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files
 
 
 %changelog
+* Wed Dec 28 2011 Jens Petersen <petersen at redhat.com> - 3001.1.7.4-10
+- rebuild against newer network and xhtml for haskell-platform-2011.4.0.0
+
 * Thu Oct 20 2011 Marcela Mašláňová <mmaslano at redhat.com> - 3001.1.7.4-9.2
 - rebuild with new gmp without compat lib
 


More information about the scm-commits mailing list