[ghc-ForSyDe] update for cabal2spec-0.23.2
Jens Petersen
petersen at fedoraproject.org
Thu Jun 23 09:06:36 UTC 2011
commit f6b3f892eeff56f39601e1f75f5bc1dc29b0b5ec
Author: Jens Petersen <petersen at redhat.com>
Date: Thu Jun 23 18:06:23 2011 +0900
update for cabal2spec-0.23.2
.chain-deps | 4 +---
ghc-ForSyDe.spec | 30 ++++++++++++++----------------
2 files changed, 15 insertions(+), 19 deletions(-)
---
diff --git a/.chain-deps b/.chain-deps
index 7d50dfe..f55efd0 100644
--- a/.chain-deps
+++ b/.chain-deps
@@ -1,3 +1 @@
-# rebuild.sh config file: see <http://git.fedorahosted.org/git/haskell-sig.git>
-
-CHAIN_PKGS="ghc-type-level : ghc-parameterized-data :"
+ghc-type-level : ghc-parameterized-data :
diff --git a/ghc-ForSyDe.spec b/ghc-ForSyDe.spec
index 9827bca..6a0eb6b 100644
--- a/ghc-ForSyDe.spec
+++ b/ghc-ForSyDe.spec
@@ -4,33 +4,28 @@
%global common_description A %{pkg_name} library for Haskell.
-# ghc does not emit debug information
-%global debug_package %{nil}
-
Name: ghc-%{pkg_name}
Version: 3.1.1
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: BSD
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
-# fedora ghc archs:
-ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
-BuildRequires: ghc, ghc-doc, ghc-prof
-BuildRequires: ghc-rpm-macros >= 0.7.3
+ExclusiveArch: %{ghc_arches}
+# no template-haskell on ppc64
+ExcludeArch: ppc64
+BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-rpm-macros
BuildRequires: hscolour
-BuildRequires: ghc-parameterized-data, ghc-parameterized-data-devel, ghc-parameterized-data-prof
-BuildRequires: ghc-regex-posix, ghc-regex-posix-devel, ghc-regex-posix-prof
-BuildRequires: ghc-type-level, ghc-type-level-devel, ghc-type-level-prof
-BuildRequires: ghc-mtl, ghc-mtl-devel, ghc-mtl-prof
+BuildRequires: ghc-parameterized-data-prof
+BuildRequires: ghc-regex-posix-prof
+BuildRequires: ghc-type-level-prof
+BuildRequires: ghc-mtl-prof
%description
%{common_description}
-%if %{with shared}
-This package provides the shared library.
-%endif
%prep
@@ -46,7 +41,7 @@ This package provides the shared library.
-%{?ghc_lib_package}
+%ghc_lib_package
%files
@@ -55,6 +50,9 @@ This package provides the shared library.
%{_datadir}/%{pkg_name}-%{version}/lib/forsyde.vhd
%changelog
+* Thu Jun 23 2011 Jens Petersen <petersen at redhat.com> - 3.1.1-5
+- BR ghc-Cabal-devel and use ghc_arches (cabal2spec-0.23.2)
+
* Mon Mar 14 2011 Shakthi Kannan <shakthimaan [AT] fedoraproject dot org> - 3.1.1-4
- Enable build on sparcv9.
More information about the scm-commits
mailing list