BR ghc-Cabal-devel and use ghc_excluded_archs
This commit is contained in:
parent
b71e57a9f9
commit
c628be9f19
|
@ -7,18 +7,18 @@
|
|||
%global ghc_pkg_c_deps mesa-libGL-devel, mesa-libGLU-devel
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
# part of haskell-platform-2011.2.0.0
|
||||
# part of haskell-platform-2011.2.0.1
|
||||
Version: 2.2.3.0
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
Summary: %{common_summary}
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
URL: http://www.haskell.org/haskellwiki/Opengl
|
||||
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 ppc64
|
||||
BuildRequires: ghc-prof
|
||||
# ghc_excluded_archs is defined in redhat-rpm-config
|
||||
ExcludeArch: %{ghc_excluded_archs}
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: hscolour
|
||||
%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}}
|
||||
|
@ -43,6 +43,9 @@ BuildRequires: hscolour
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 2.2.3.0-9
|
||||
- BR ghc-Cabal-devel and use ghc_excluded_archs
|
||||
|
||||
* Fri May 27 2011 Jens Petersen <petersen@redhat.com> - 2.2.3.0-8
|
||||
- update to cabal2spec-0.23: add ppc64
|
||||
|
||||
|
|
Loading…
Reference in New Issue