[ghc-parsec] update to cabal2spec-0.25.2
Jens Petersen
petersen at fedoraproject.org
Mon Jan 2 11:21:24 UTC 2012
commit dce1de577c9f011fbf5b72b103d9cc8209e703a6
Author: Jens Petersen <petersen at redhat.com>
Date: Mon Jan 2 20:21:18 2012 +0900
update to cabal2spec-0.25.2
ghc-parsec.spec | 30 ++++++++++++++++++++++++------
1 files changed, 24 insertions(+), 6 deletions(-)
---
diff --git a/ghc-parsec.spec b/ghc-parsec.spec
index a37e7b9..cc43dcc 100644
--- a/ghc-parsec.spec
+++ b/ghc-parsec.spec
@@ -1,3 +1,7 @@
+# cabal2spec-0.25.2
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
%global pkg_name parsec
%global common_summary Haskell parser library
@@ -9,20 +13,23 @@ that can be stacked on arbitrary monads, and it is also parametric\
in the input stream type.
Name: ghc-%{pkg_name}
-# part of haskell-platform-2011.2.0.1
+# part of haskell-platform-2011.4.0.0
Version: 3.1.1
-Release: 5%{?dist}.3
+Release: 6%{?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
-BuildRequires: hscolour
-BuildRequires: ghc-bytestring-prof, ghc-mtl-prof, ghc-syb-prof
+BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
+BuildRequires: ghc-bytestring-prof
+BuildRequires: ghc-mtl-prof
+BuildRequires: ghc-syb-prof
%description
%{common_description}
@@ -40,10 +47,21 @@ BuildRequires: ghc-bytestring-prof, ghc-mtl-prof, ghc-syb-prof
%ghc_lib_install
-%ghc_lib_package
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files
%changelog
+* Mon Jan 2 2012 Jens Petersen <petersen at redhat.com> - 3.1.1-6
+- update to cabal2spec-0.25.2
+
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 3.1.1-5.3
- rebuild with new gmp without compat lib
More information about the scm-commits
mailing list