[ghc-binary] ghc-rpm-macros-0.8.1: add hscolour and doc obsolete (cabal2spec-0.22.2)
Jens Petersen
petersen at fedoraproject.org
Sat Sep 4 11:34:42 UTC 2010
commit 9cda2386b2a0b63e9b3c193fbb346fe293461ac5
Author: Jens Petersen <petersen at redhat.com>
Date: Sat Sep 4 21:34:41 2010 +1000
ghc-rpm-macros-0.8.1: add hscolour and doc obsolete (cabal2spec-0.22.2)
ghc-binary.spec | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/ghc-binary.spec b/ghc-binary.spec
index 1ebd0f0..c7a5d6a 100644
--- a/ghc-binary.spec
+++ b/ghc-binary.spec
@@ -10,13 +10,14 @@ binary, or sent over the network. Serialisation speeds of over 1 G/sec have\
been observed, so this library should be suitable for high performance scenarios.
%bcond_without shared
+%bcond_without hscolour
# debuginfo is not useful for ghc
%global debug_package %{nil}
Name: ghc-%{pkg_name}
Version: 0.5.0.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -27,7 +28,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}
@@ -36,9 +40,6 @@ This package provides the shared library.
%endif
-%{?ghc_lib_package}
-
-
%prep
%setup -q -n %{pkg_name}-%{version}
@@ -56,7 +57,13 @@ rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
+%ghc_lib_package -o 0.5.0.2-4
+
+
%changelog
+* Sat Sep 4 2010 Jens Petersen <petersen at redhat.com> - 0.5.0.2-4
+- add hscolour and doc obsolete (cabal2spec-0.22.2)
+
* Sat Jun 26 2010 Jens Petersen <petersen at redhat.com> - 0.5.0.2-3
- sync cabal2spec-0.22
More information about the scm-commits
mailing list