[ghc-type-level] update for cabal2spec-0.23.2
Jens Petersen
petersen at fedoraproject.org
Thu Jun 23 08:58:33 UTC 2011
commit bd555b556c097d37ce9657a614a47cc082040615
Author: Jens Petersen <petersen at redhat.com>
Date: Thu Jun 23 17:58:21 2011 +0900
update for cabal2spec-0.23.2
ghc-type-level.spec | 30 +++++++++++++-----------------
1 files changed, 13 insertions(+), 17 deletions(-)
---
diff --git a/ghc-type-level.spec b/ghc-type-level.spec
index d8f3e66..ce287ea 100644
--- a/ghc-type-level.spec
+++ b/ghc-type-level.spec
@@ -4,35 +4,25 @@
%global common_description A %{pkg_name} library for Haskell.
-%global ghc_pkg_deps ghc-syb-devel
-
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
Name: ghc-%{pkg_name}
Version: 0.2.4
-Release: 9%{?dist}
+Release: 10%{?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
-%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
+BuildRequires: ghc-syb-prof, ghc-template-haskell-prof
%description
%{common_description}
-%if %{with shared}
-This package provides the shared library.
-%endif
-
-
-%{?ghc_lib_package}
%prep
@@ -47,7 +37,13 @@ This package provides the shared library.
%ghc_lib_install
+%ghc_lib_package
+
+
%changelog
+* Thu Jun 23 2011 Jens Petersen <petersen at redhat.com> - 0.2.4-10
+- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
+
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto at redhat.com> - 0.2.4-9
- Enable build on sparcv9
More information about the scm-commits
mailing list