From 1d2ea877f533e1057258e399de0315c282991263 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sep 04 2010 12:36:36 +0000 Subject: ghc-rpm-macros-0.8.1: add hscolour and doc obsolete (cabal2spec-0.22.2) --- diff --git a/ghc-mmap.spec b/ghc-mmap.spec index f0b5321..41e4114 100644 --- a/ghc-mmap.spec +++ b/ghc-mmap.spec @@ -8,13 +8,14 @@ plain Ptrs, using the virtual memory subsystem to do on-demand loading.\ Modifications are also supported. %bcond_without shared +%bcond_without hscolour # debuginfo is not useful for ghc %global debug_package %{nil} Name: ghc-%{pkg_name} Version: 0.4.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -25,7 +26,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # fedora ghc archs: ExclusiveArch: %{ix86} x86_64 ppc alpha BuildRequires: ghc, ghc-doc, ghc-prof -BuildRequires: ghc-rpm-macros >= 0.7.0 +BuildRequires: ghc-rpm-macros >= 0.8.1 +%if %{with hscolour} +BuildRequires: hscolour +%endif %description %{common_description} @@ -34,9 +38,6 @@ This package provides the shared library. %endif -%{?ghc_lib_package} - - %prep %setup -q -n %{pkg_name}-%{version} @@ -54,7 +55,13 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT +%ghc_lib_package -o 0.4.1-5 + + %changelog +* Sat Sep 4 2010 Jens Petersen - 0.4.1-5 +- add hscolour and doc obsolete (cabal2spec-0.22.2) + * Sat Jun 26 2010 Jens Petersen - 0.4.1-4 - sync cabal2spec-0.22