|
|
|
@ -6,29 +6,23 @@
|
|
|
|
|
for encoding UTF8 strings to Word8 lists and back, and for reading and writing\
|
|
|
|
|
UTF8 without truncation.
|
|
|
|
|
|
|
|
|
|
# debuginfo is not useful for ghc
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
Name: ghc-%{pkg_name}
|
|
|
|
|
Version: 0.3.6
|
|
|
|
|
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
|
|
|
|
|
# ghc_excluded_archs is defined in redhat-rpm-config
|
|
|
|
|
ExcludeArch: %{ghc_excluded_archs}
|
|
|
|
|
BuildRequires: ghc-Cabal-devel
|
|
|
|
|
BuildRequires: ghc-rpm-macros
|
|
|
|
|
BuildRequires: hscolour
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
%{common_description}
|
|
|
|
|
%if %{with shared}
|
|
|
|
|
This package provides the shared library.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
@ -47,6 +41,9 @@ This package provides the shared library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
- Enable build on sparcv9
|
|
|
|
|
|
|
|
|
|