[ghc-IOSpec] update with cabal-rpm

Jens Petersen petersen at fedoraproject.org
Sun Nov 18 09:22:06 UTC 2012


commit 58d8ba0f4e1f04cd9ce4e308acd52c09bf91efe8
Author: Jens Petersen <petersen at redhat.com>
Date:   Sun Nov 18 18:21:59 2012 +0900

    update with cabal-rpm

 ghc-IOSpec.spec |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)
---
diff --git a/ghc-IOSpec.spec b/ghc-IOSpec.spec
index 420a678..7ed4a7c 100644
--- a/ghc-IOSpec.spec
+++ b/ghc-IOSpec.spec
@@ -1,4 +1,3 @@
-# cabal2spec-0.25
 # https://fedoraproject.org/wiki/Packaging:Haskell
 # https://fedoraproject.org/wiki/PackagingDrafts/Haskell
 
@@ -6,27 +5,25 @@
 
 %global common_summary A pure specification of the IO monad
 
-%global common_description This package consists of several modules, that \
-give a pure specification of functions in the IO monad.
+%global common_description This package consists of several modules,\
+that give a pure specification of functions in the IO monad.
 
 Name:           ghc-%{pkg_name}
 Version:        0.2.5
-Release:        1%{?dist}
+Release:        2%{?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 %{!?without_hscolour:hscolour}
-# END cabal2spec
 
-BuildRequires: ghc-mtl-devel
-BuildRequires: ghc-QuickCheck-devel
-BuildRequires: ghc-Stream-devel
+BuildRequires:  ghc-Cabal-devel
+BuildRequires:  ghc-rpm-macros
+# Begin cabal-rpm deps:
+BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-Stream-devel
+BuildRequires:  ghc-mtl-devel
+# End cabal-rpm deps
 
 %description
 %{common_description}
@@ -44,7 +41,6 @@ BuildRequires: ghc-Stream-devel
 %ghc_lib_install
 
 
-# devel subpackage
 %ghc_devel_package
 
 %ghc_devel_description
@@ -53,10 +49,14 @@ BuildRequires: ghc-Stream-devel
 %ghc_devel_post_postun
 
 
-%ghc_files LICENSE README examples
+%ghc_files LICENSE
+%doc README examples
 
 
 %changelog
+* Sun Nov 18 2012 Jens Petersen <petersen at redhat.com> - 0.2.5-2
+- update with cabal-rpm
+
 * Mon Jul  9 2012 Shakthi Kannan <shakthimaan at fedoraproject dot org> - 0.2.5-1
 - Added BRs
 - Spec file template generated by cabal2spec-0.25.5


More information about the scm-commits mailing list