[ghc-QuickCheck/f16] backport packaging updates from f17: use ghc_arches_with_ghci, drop ghc depends

Jens Petersen petersen at fedoraproject.org
Wed Jan 18 03:44:27 UTC 2012


commit 510a9e663705246e2779d482c7b3f5e7e2e12417
Author: Jens Petersen <petersen at redhat.com>
Date:   Wed Jan 18 12:44:16 2012 +0900

    backport packaging updates from f17: use ghc_arches_with_ghci, drop ghc depends

 ghc-QuickCheck.spec |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec
index 55ee0ec..9010e62 100644
--- a/ghc-QuickCheck.spec
+++ b/ghc-QuickCheck.spec
@@ -18,19 +18,22 @@ observe the distribution of test data, and define test data generators.
 Name:           ghc-%{pkg_name}
 # part of haskell-platform-2011.2.0.1
 Version:        2.4.0.1
-Release:        7%{?dist}
+Release:        8%{?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
-# no ghci on ppc64
-ExcludeArch:    %{ghc_excluded_archs} ppc64
+ExclusiveArch:  %{ghc_arches_with_ghci}
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
-BuildRequires:  hscolour
-BuildRequires:  ghc-mtl-prof, ghc-extensible-exceptions-prof, ghc-random-prof, ghc-template-haskell-prof
+BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
+BuildRequires:  ghc-extensible-exceptions-prof
+BuildRequires:  ghc-mtl-prof
+BuildRequires:  ghc-random-prof
+BuildRequires:  ghc-template-haskell-prof
 
 %description
 %{common_description}
@@ -52,6 +55,10 @@ BuildRequires:  ghc-mtl-prof, ghc-extensible-exceptions-prof, ghc-random-prof, g
 
 
 %changelog
+* Wed Jan 18 2012 Jens Petersen <petersen at redhat.com> - 2.4.0.1-8
+- no longer depends on ghc lib
+- update to cabal2spec-0.24.1
+
 * Mon Jun 20 2011 Jens Petersen <petersen at redhat.com> - 2.4.0.1-7
 - BR ghc-Cabal-devel and use ghc_excluded_archs
 


More information about the scm-commits mailing list