[ghc-mmap] update to cabal2spec-0.22.4

Jens Petersen petersen at fedoraproject.org
Wed Jan 19 03:06:19 UTC 2011


commit c6c6842e45b9aa3b798f8d9c4cc87ddfee21442e
Author: Jens Petersen <petersen at redhat.com>
Date:   Wed Jan 19 13:06:08 2011 +1000

    update to cabal2spec-0.22.4

 ghc-mmap.spec |   18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)
---
diff --git a/ghc-mmap.spec b/ghc-mmap.spec
index 8386b19..ff86e2c 100644
--- a/ghc-mmap.spec
+++ b/ghc-mmap.spec
@@ -7,29 +7,23 @@ to be lazily loaded into memory as strict or lazy ByteStrings, ForeignPtrs or\
 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.5.7
-Release:        2%{?dist}
+Release:        3%{?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
 BuildRequires:  ghc, ghc-doc, ghc-prof
-BuildRequires:  ghc-rpm-macros >= 0.8.1
-%if %{with hscolour}
+BuildRequires:  ghc-rpm-macros >= 0.7.3
 BuildRequires:  hscolour
-%endif
 
 %description
 %{common_description}
@@ -47,18 +41,16 @@ This package provides the shared library.
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 %ghc_lib_install
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %ghc_lib_package
 
 
 %changelog
+* Wed Jan 19 2011 Jens Petersen <petersen at redhat.com> - 0.5.7-3
+- update to cabal2spec-0.22.4
+
 * Thu Nov 25 2010 Jens Petersen <petersen at redhat.com> - 0.5.7-2
 - update to 0.5.4 and drop -o obsoletes
 


More information about the scm-commits mailing list