[ghc-parameterized-data] update for cabal2spec-0.23.2
Jens Petersen
petersen at fedoraproject.org
Thu Jun 23 09:02:57 UTC 2011
commit df8c5e17ce061d5c5e3f506735dc9d42a551957e
Author: Jens Petersen <petersen at redhat.com>
Date: Thu Jun 23 18:02:45 2011 +0900
update for cabal2spec-0.23.2
ghc-parameterized-data.spec | 35 +++++++++++------------------------
1 files changed, 11 insertions(+), 24 deletions(-)
---
diff --git a/ghc-parameterized-data.spec b/ghc-parameterized-data.spec
index 3b4da29..0b37447 100644
--- a/ghc-parameterized-data.spec
+++ b/ghc-parameterized-data.spec
@@ -4,36 +4,25 @@
%global common_description A %{pkg_name} library for Haskell.
-%bcond_without shared
-%bcond_without hscolour
-
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
Name: ghc-%{pkg_name}
Version: 0.1.5
-Release: 3%{?dist}
+Release: 4%{?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
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-# fedora ghc archs:
-ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
-BuildRequires: ghc, ghc-doc, ghc-prof
-BuildRequires: ghc-rpm-macros >= 0.7.3
-BuildRequires: ghc-type-level, ghc-type-level-devel, ghc-type-level-prof
-%if %{with hscolour}
+ExclusiveArch: %{ghc_arches}
+# no template-haskell on ppc64
+ExcludeArch: ppc64
+BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-rpm-macros
BuildRequires: hscolour
-%endif
+BuildRequires: ghc-type-level-prof
%description
%{common_description}
-%if %{with shared}
-This package provides the shared library.
-%endif
%prep
@@ -45,18 +34,16 @@ This package provides the shared library.
%install
-rm -rf %{buildroot}
%ghc_lib_install
-%clean
-rm -rf %{buildroot}
-
-
-%{?ghc_lib_package}
+%ghc_lib_package
%changelog
+* Thu Jun 23 2011 Jens Petersen <petersen at redhat.com> - 0.1.5-4
+- BR ghc-Cabal-devel and use ghc_arches (cabal2spec-0.23.2)
+
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto at redhat.com> - 0.1.5-3
- Enable build on sparcv9
More information about the scm-commits
mailing list