BR ghc-Cabal-devel and use ghc_excluded_archs
This commit is contained in:
parent
152a7850a3
commit
54ded396a3
@ -6,29 +6,23 @@
|
|||||||
for encoding UTF8 strings to Word8 lists and back, and for reading and writing\
|
for encoding UTF8 strings to Word8 lists and back, and for reading and writing\
|
||||||
UTF8 without truncation.
|
UTF8 without truncation.
|
||||||
|
|
||||||
# debuginfo is not useful for ghc
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 0.3.6
|
Version: 0.3.6
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: %{common_summary}
|
Summary: %{common_summary}
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://hackage.haskell.org/package/%{pkg_name}
|
URL: http://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
|
||||||
# fedora ghc archs:
|
# ghc_excluded_archs is defined in redhat-rpm-config
|
||||||
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
|
ExcludeArch: %{ghc_excluded_archs}
|
||||||
BuildRequires: ghc, ghc-doc, ghc-prof
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-rpm-macros >= 0.7.3
|
BuildRequires: ghc-rpm-macros
|
||||||
BuildRequires: hscolour
|
BuildRequires: hscolour
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{common_description}
|
%{common_description}
|
||||||
%if %{with shared}
|
|
||||||
This package provides the shared library.
|
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -47,6 +41,9 @@ This package provides the shared library.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 20 2011 Jens Petersen <petersen@redhat.com> - 0.3.6-10
|
||||||
|
- BR ghc-Cabal-devel and use ghc_excluded_archs
|
||||||
|
|
||||||
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.3.6-9
|
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto@redhat.com> - 0.3.6-9
|
||||||
- Enable build on sparcv9
|
- Enable build on sparcv9
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user