[ghc-hashed-storage] update to cabal2spec-0.25.2

Jens Petersen petersen at fedoraproject.org
Wed Jan 4 13:57:41 UTC 2012


commit 8b72ed6af05f82e71dde6c129ac7914068f62047
Author: Jens Petersen <petersen at redhat.com>
Date:   Wed Jan 4 22:57:34 2012 +0900

    update to cabal2spec-0.25.2

 ghc-hashed-storage.spec |   32 +++++++++++++++++++++++++-------
 1 files changed, 25 insertions(+), 7 deletions(-)
---
diff --git a/ghc-hashed-storage.spec b/ghc-hashed-storage.spec
index 84abb29..d474a3e 100644
--- a/ghc-hashed-storage.spec
+++ b/ghc-hashed-storage.spec
@@ -1,3 +1,7 @@
+# cabal2spec-0.25.2
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
 %global pkg_name hashed-storage
 
 %global common_summary Haskell hashed file storage
@@ -12,7 +16,7 @@ files and directories).
 
 Name:           ghc-%{pkg_name}
 Version:        0.5.9
-Release:        1%{?dist}.2
+Release:        2%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
@@ -22,12 +26,15 @@ 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
-%if %{undefined without_hscolour}
-BuildRequires:  hscolour
-%endif
+BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
 # END cabal2spec
-BuildRequires:  ghc-binary-prof, ghc-dataenc-prof, ghc-directory-prof, ghc-extensible-exceptions-prof, ghc-mmap-prof, ghc-mtl-prof, ghc-zlib-prof
+BuildRequires:  ghc-binary-prof
+BuildRequires:  ghc-dataenc-prof
+BuildRequires:  ghc-directory-prof
+BuildRequires:  ghc-extensible-exceptions-prof
+BuildRequires:  ghc-mmap-prof
+BuildRequires:  ghc-mtl-prof
+BuildRequires:  ghc-zlib-prof
 
 %description
 %{common_description}
@@ -49,10 +56,21 @@ BuildRequires:  ghc-binary-prof, ghc-dataenc-prof, ghc-directory-prof, ghc-exten
 %ghc_lib_install
 
 
-%ghc_lib_package
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files
 
 
 %changelog
+* Wed Jan  4 2012 Jens Petersen <petersen at redhat.com> - 0.5.9-2
+- update to cabal2spec-0.25.2
+
 * Mon Oct 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.5.9-1.2
 - rebuild with new gmp without compat lib
 


More information about the scm-commits mailing list