[ghc-strict] update to cabal2spec-0.25
Jens Petersen
petersen at fedoraproject.org
Fri Mar 23 04:35:21 UTC 2012
commit 61c80f55ca2ed9b36834cef36a4ddc8f74f256dc
Author: Jens Petersen <petersen at redhat.com>
Date: Fri Mar 23 13:35:16 2012 +0900
update to cabal2spec-0.25
ghc-strict.spec | 35 +++++++++++++++++++++--------------
1 files changed, 21 insertions(+), 14 deletions(-)
---
diff --git a/ghc-strict.spec b/ghc-strict.spec
index 5ad0074..6d8ccff 100644
--- a/ghc-strict.spec
+++ b/ghc-strict.spec
@@ -1,32 +1,29 @@
-# For Haskell Packaging Guidelines see:
-# - https://fedoraproject.org/wiki/Packaging:Haskell
-# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+# cabal2spec-0.25
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name strict
-# common part of summary for all the subpackages
-%global common_summary Haskell library providing strict data types
+%global common_summary Haskell strict data types
-# main description used for all the subpackages
%global common_description This package provides strict versions of some \
standard Haskell data types (pairs, Maybe and Either).\
It also contains strict IO operations.
Name: ghc-%{pkg_name}
Version: 0.3.2
-Release: 3%{?dist}.3
+Release: 4%{?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
-# macros for building haskell packages
-BuildRequires: ghc-rpm-macros
-BuildRequires: hscolour
-
+BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
%description
%{common_description}
@@ -44,12 +41,22 @@ BuildRequires: hscolour
%ghc_lib_install
-# define the shared, devel and prof subpkgs, devel scripts,
-# and filelists: ghc-strict.files, ghc-strict-devel.files
-%ghc_lib_package
+# devel subpackage
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files LICENSE
%changelog
+* Sun Mar 18 2012 Jens Petersen <petersen at redhat.com> - 0.3.2-4
+- update to cabal2spec-0.25
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.2-3.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list