[ghc-json] update to cabal2spec-0.25.2
Jens Petersen
petersen at fedoraproject.org
Thu Jan 5 00:24:30 UTC 2012
commit a1cb25df547da4db74a47683837dbaa48d23fb6c
Author: Jens Petersen <petersen at redhat.com>
Date: Thu Jan 5 09:24:22 2012 +0900
update to cabal2spec-0.25.2
ghc-json.spec | 38 +++++++++++++++++++++++++++-----------
1 files changed, 27 insertions(+), 11 deletions(-)
---
diff --git a/ghc-json.spec b/ghc-json.spec
index 86cabe7..38783b2 100644
--- a/ghc-json.spec
+++ b/ghc-json.spec
@@ -1,6 +1,6 @@
-# For Haskell Packaging Guidelines see:
-# - https://fedoraproject.org/wiki/Packaging:Haskell
-# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+# cabal2spec-0.25.2
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name json
@@ -13,19 +13,24 @@ between Haskell values and JSON.
Name: ghc-%{pkg_name}
Version: 0.4.4
-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-bytestring-prof, ghc-containers-prof, ghc-mtl-prof, ghc-parsec-prof, ghc-pretty-prof, ghc-syb-prof
+BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
+BuildRequires: ghc-bytestring-prof
+BuildRequires: ghc-containers-prof
+BuildRequires: ghc-mtl-prof
+BuildRequires: ghc-parsec-prof
+BuildRequires: ghc-pretty-prof
+BuildRequires: ghc-syb-prof
%description
%{common_description}
@@ -43,12 +48,23 @@ BuildRequires: ghc-bytestring-prof, ghc-containers-prof, ghc-mtl-prof, ghc-pars
%ghc_lib_install
-# define the devel and prof subpkgs, devel post[un] scripts,
-# and filelists: ghc-json{,devel,prof}.files
-%ghc_lib_package
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files
+%doc CHANGES
%changelog
+* Thu Jan 5 2012 Jens Petersen <petersen at redhat.com> - 0.4.4-4
+- update to cabal2spec-0.25.2
+- add CHANGES
+
* Mon Oct 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.4.4-3.3
- rebuild with new gmp without compat lib
More information about the scm-commits
mailing list