[ghc-ltk] update with cabal-rpm: does not depend on haddock
Jens Petersen
petersen at fedoraproject.org
Sat Nov 17 15:13:56 UTC 2012
commit 73a6bc17f8e31259c6684abb9d12743ef26fbaa1
Author: Jens Petersen <petersen at redhat.com>
Date: Sun Nov 18 00:13:51 2012 +0900
update with cabal-rpm: does not depend on haddock
ghc-ltk.spec | 25 +++++++++++++++----------
1 files changed, 15 insertions(+), 10 deletions(-)
---
diff --git a/ghc-ltk.spec b/ghc-ltk.spec
index cf6ca01..6b3e47e 100644
--- a/ghc-ltk.spec
+++ b/ghc-ltk.spec
@@ -1,33 +1,35 @@
-# cabal2spec-0.25
# https://fedoraproject.org/wiki/Packaging:Haskell
# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
%global pkg_name ltk
-# common part of summary for all the subpackages
%global common_summary Leksah IDE's UI toolkit library
-# main description used for all the subpackages
%global common_description This package provides UI toolkit library for Leksah IDE.
Name: ghc-%{pkg_name}
Version: 0.12.1.0
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: %{common_summary}
-Group: System Environment/Libraries
#The cabal file states license as GPLv2 while sources specify license
#as GPL. Hence GPL+.
License: GPL+
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
-ExclusiveArch: %{ghc_arches}
+
BuildRequires: ghc-Cabal-devel
-BuildRequires: ghc-rpm-macros %{!?without_hscolour:hscolour}
-# END cabal2spec
+BuildRequires: ghc-rpm-macros
+# Begin cabal-rpm deps:
+BuildRequires: ghc-containers-devel
+BuildRequires: ghc-filepath-devel
+BuildRequires: ghc-ghc-devel
+BuildRequires: ghc-glib-devel
BuildRequires: ghc-gtk-devel
-BuildRequires: ghc-haddock-devel
BuildRequires: ghc-parsec-devel
+BuildRequires: ghc-pretty-devel
+BuildRequires: ghc-transformers-devel
+# End cabal-rpm deps
%description
%{common_description}
@@ -45,7 +47,6 @@ BuildRequires: ghc-parsec-devel
%ghc_lib_install
-# devel subpackage
%ghc_devel_package
%ghc_devel_description
@@ -58,6 +59,10 @@ BuildRequires: ghc-parsec-devel
%changelog
+* Sat Nov 17 2012 Jens Petersen <petersen at redhat.com> - 0.12.1.0-7
+- update with cabal-rpm
+- does not depend on haddock
+
* Tue Oct 02 2012 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.12.1.0-6
- Rebuilt for haddock
More information about the scm-commits
mailing list