[ghc-ltk] Update to cabal2spec - 0.23.2 modified: ghc-ltk.spec

Lakshmi Narasimhan T V narasim at fedoraproject.org
Tue Jun 21 12:10:46 UTC 2011


commit c631904aac93ca7ea15a3e9991e959752caaa03c
Author: Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com>
Date:   Tue Jun 21 17:40:10 2011 +0530

    Update to cabal2spec - 0.23.2
    	modified:   ghc-ltk.spec

 ghc-ltk.spec |   21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)
---
diff --git a/ghc-ltk.spec b/ghc-ltk.spec
index df63c04..5dd88e9 100644
--- a/ghc-ltk.spec
+++ b/ghc-ltk.spec
@@ -10,25 +10,21 @@
 # main description used for all the subpackages
 %global common_description This package provides UI toolkit library for Leksah IDE.
 
-# Haskell library dependencies (used for buildrequires and devel/prof subpkg requires)
-%global ghc_pkg_deps ghc-glib-devel, ghc-gtk-devel, ghc-mtl-devel, ghc-parsec-devel, ghc-haddock-devel
-
 Name:           ghc-%{pkg_name}
 Version:        0.10.0.4
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
 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
-# fedora ghc archs:
-ExclusiveArch:  %{ix86} x86_64 ppc alpha sparcv9 ppc64
-BuildRequires:  ghc, ghc-doc, ghc-prof
+ExclusiveArch:  %{ghc_arches}
+BuildRequires:  ghc-Cabal-devel
 # macros for building haskell packages
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  hscolour
-%{?ghc_pkg_deps:BuildRequires:  %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
+BuildRequires:  ghc-glib-prof, ghc-gtk-prof, ghc-mtl-prof, ghc-parsec-prof, ghc-haddock-prof
 
 %description
 %{common_description}
@@ -46,12 +42,15 @@ BuildRequires:  hscolour
 %ghc_lib_install
 
 
-# define the devel and prof subpkgs, devel post[un] scripts, and filelists:
-# ghc-ltk{,-devel,-prof}.files
+# define the shared, devel and prof subpkgs, devel scripts,
+# and filelists: ghc-ltk.files, ghc-ltk-devel.files
 %ghc_lib_package
 
 
 %changelog
+* Tue Jun 21 2011 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.10.0.4-3
+- Update to cabal2spec-0.23.2
+
 * Sun May 21 2011 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.10.0.4-2
 - Updated spec file to cabal2spec 0.22.7
 - License is GPL+. The cabal file states license as GPLv2 while sources specify license
@@ -71,4 +70,4 @@ BuildRequires:  hscolour
 - Modify license details, summary, description and added dependencies.
 
 * Sun Oct 10 2010 Fedora Haskell SIG <haskell-devel at lists.fedoraproject.org> - 0.8.0.8-0
-- initial packaging for Fedora automatically generated by cabal2spec-0.22.2
\ No newline at end of file
+- initial packaging for Fedora automatically generated by cabal2spec-0.22.2


More information about the scm-commits mailing list