diff --git a/ghc-ansi-terminal.spec b/ghc-ansi-terminal.spec index 3f9d1f8..5dd28ff 100644 --- a/ghc-ansi-terminal.spec +++ b/ghc-ansi-terminal.spec @@ -4,29 +4,19 @@ %global common_description %{common_summary} -%bcond_without shared -%bcond_without hscolour - -# debuginfo is not useful for ghc -%global debug_package %{nil} - Name: ghc-%{pkg_name} Version: 0.5.5 -Release: 3%{?dist} -Summary: Haskell %{pkg_name} +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.8.1 -%if %{with hscolour} +ExclusiveArch: %{ghc_arches} +BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-rpm-macros BuildRequires: hscolour -%endif %description @@ -42,23 +32,21 @@ BuildRequires: hscolour %install -rm -rf %{buildroot} %ghc_lib_install -%clean -rm -rf %{buildroot} - - %files %defattr(-,root,root,-) %doc LICENSE -%{?ghc_lib_package} +%ghc_lib_package %changelog +* Fri Jun 24 2011 Jens Petersen - 0.5.5-4 +- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2) + * Thu Mar 10 2011 Fabio M. Di Nitto - 0.5.5-3 - Enable build on sparcv9