[ghc-type-level] update to cabal2spec-0.25.2

Jens Petersen petersen at fedoraproject.org
Thu Jan 5 05:36:18 UTC 2012


commit 680f38448b2c1cf2bf5a4d04c2e443f928216985
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Jan 5 14:36:11 2012 +0900

    update to cabal2spec-0.25.2

 ghc-type-level.spec |   31 +++++++++++++++++++++++--------
 1 files changed, 23 insertions(+), 8 deletions(-)
---
diff --git a/ghc-type-level.spec b/ghc-type-level.spec
index 34248af..5a22c54 100644
--- a/ghc-type-level.spec
+++ b/ghc-type-level.spec
@@ -1,3 +1,7 @@
+# cabal2spec-0.25.2
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
 %global pkg_name type-level
 
 %global common_summary Haskell %{pkg_name} library
@@ -6,20 +10,19 @@
 
 Name:           ghc-%{pkg_name}
 Version:        0.2.4
-Release:        10%{?dist}.4
+Release:        11%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
 License:        BSD
 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}
-# no template-haskell on ppc64
-ExcludeArch:    ppc64
+ExclusiveArch:  %{ghc_arches_with_ghci}
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
-BuildRequires:  hscolour
-BuildRequires:  ghc-syb-prof, ghc-template-haskell-prof
+BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
+BuildRequires:  ghc-syb-prof
+BuildRequires:  ghc-template-haskell-prof
 
 %description
 %{common_description}
@@ -37,10 +40,22 @@ BuildRequires:  ghc-syb-prof, ghc-template-haskell-prof
 %ghc_lib_install
 
 
-%ghc_lib_package
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files
+%doc README
 
 
 %changelog
+* Thu Jan  5 2012 Jens Petersen <petersen at redhat.com> - 0.2.4-11
+- update to cabal2spec-0.25.2
+
 * Mon Oct 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.2.4-10.4
 - rebuild with new gmp without compat lib
 


More information about the scm-commits mailing list