[ghc-process-leksah] Update to cabal2spec 0.23.1 modified: ghc-process-leksah.spec
Lakshmi Narasimhan T V
narasim at fedoraproject.org
Mon Jun 20 13:02:24 UTC 2011
commit db1c6dc08b08429d778a497d430be5c53e389a53
Author: Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com>
Date: Mon Jun 20 18:31:35 2011 +0530
Update to cabal2spec 0.23.1
modified: ghc-process-leksah.spec
ghc-process-leksah.spec | 30 ++++++++++++++++++------------
1 files changed, 18 insertions(+), 12 deletions(-)
---
diff --git a/ghc-process-leksah.spec b/ghc-process-leksah.spec
index 6f0608c..5211bdb 100644
--- a/ghc-process-leksah.spec
+++ b/ghc-process-leksah.spec
@@ -1,32 +1,33 @@
+# For Haskell Packaging Guidelines see:
+# - https://fedoraproject.org/wiki/Packaging:Haskell
+# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
%global pkg_name process-leksah
-%global common_summary Haskell %{pkg_name} library
+# common part of summary for all the subpackages
+%global common_summary Library for system processes in leksah
+# main description used for all the subpackages
%global common_description This package contains libraries for dealing with system processes in leksah.
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
Name: ghc-%{pkg_name}
Version: 1.0.1.4
-Release: 5%{?dist}
+Release: 6%{?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
-# fedora ghc archs:
-ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
-BuildRequires: ghc, ghc-doc, ghc-prof
-BuildRequires: ghc-rpm-macros >= 0.7.3
+ExcludeArch: %{ghc_excluded_archs}
+BuildRequires: ghc-Cabal-devel
+# macros for building haskell packages
+BuildRequires: ghc-rpm-macros
BuildRequires: hscolour
%description
%{common_description}
-%if %{with shared}
-This package provides the shared library.
-%endif
%prep
@@ -41,10 +42,15 @@ This package provides the shared library.
%ghc_lib_install
-%{?ghc_lib_package}
+# define the shared, devel and prof subpkgs, devel scripts,
+# and filelists: ghc-process-leksah.files, ghc- at PACKAGE@-devel.files
+%ghc_lib_package
%changelog
+* Mon Jun 20 2011 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 1.0.1.4-6
+- Rebuild for ghc-7.0.4. Update to cabal2spec 0.23.1.
+
* Fri Mar 11 2011 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 1.0.1.4-5
- Rebuild for ghc-7.0.2
More information about the scm-commits
mailing list