[ghc-parameterized-data] update to cabal2spec-0.25.2

Jens Petersen petersen at fedoraproject.org
Thu Jan 5 05:45:52 UTC 2012


commit 940a82347daec66f19617419de253e7b97d4b90c
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Jan 5 14:45:47 2012 +0900

    update to cabal2spec-0.25.2

 ghc-parameterized-data.spec |   29 ++++++++++++++++++++++-------
 1 files changed, 22 insertions(+), 7 deletions(-)
---
diff --git a/ghc-parameterized-data.spec b/ghc-parameterized-data.spec
index f3bfc1a..fea5079 100644
--- a/ghc-parameterized-data.spec
+++ b/ghc-parameterized-data.spec
@@ -1,3 +1,7 @@
+# cabal2spec-0.25.2
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
 %global pkg_name parameterized-data
 
 %global common_summary Haskell %{pkg_name} library
@@ -6,19 +10,18 @@
 
 Name:           ghc-%{pkg_name}
 Version:        0.1.5
-Release:        4%{?dist}.3
+Release:        5%{?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}
-# no template-haskell on ppc64
-ExcludeArch:    ppc64
+ExclusiveArch:  %{ghc_arches_with_ghci}
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
-BuildRequires:  hscolour
+BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
 BuildRequires:  ghc-type-level-prof
 
 %description
@@ -37,10 +40,22 @@ BuildRequires:  ghc-type-level-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.1.5-5
+- update to cabal2spec-0.25.2
+
 * Mon Oct 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.1.5-4.3
 - rebuild with new gmp without compat lib
 


More information about the scm-commits mailing list