[ghc-editline] update to cabal2spec-0.22.4

Jens Petersen petersen at fedoraproject.org
Sat Jan 15 14:03:40 UTC 2011


commit 7034f7cae8126c9f8cbe0898d13d78477bbbe94c
Author: Jens Petersen <petersen at redhat.com>
Date:   Sat Jan 15 23:03:31 2011 +0900

    update to cabal2spec-0.22.4

 ghc-editline.spec |   15 ++-------------
 1 files changed, 2 insertions(+), 13 deletions(-)
---
diff --git a/ghc-editline.spec b/ghc-editline.spec
index 16c15e1..3c10f48 100644
--- a/ghc-editline.spec
+++ b/ghc-editline.spec
@@ -11,30 +11,24 @@ provides a subset of the functionality of the readline library.
 
 %global ghc_pkg_c_deps libedit-devel
 
-%bcond_without shared
-%bcond_without hscolour
-
 # debuginfo is not useful for ghc
 %global debug_package %{nil}
 
 Name:           ghc-%{pkg_name}
 # was part of haskell-platform-2009.2.0.2
 Version:        0.2.1.0
-Release:        20%{?dist}
+Release:        21%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
 License:        BSD
 URL:            http://code.haskell.org/editline
 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
 %{?ghc_pkg_c_deps:BuildRequires:  %{ghc_pkg_c_deps}}
 
 %description
@@ -53,14 +47,9 @@ This package provides the shared library.
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 %ghc_lib_install
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %ghc_lib_package
 
 


More information about the scm-commits mailing list