[ghc-binary-shared] Update to cabal2spec-0.23.1 modified: ghc-binary-shared.spec
Lakshmi Narasimhan T V
narasim at fedoraproject.org
Mon Jun 20 12:51:19 UTC 2011
commit 83b90b8e0a4828af85f7f102fe70a50223376759
Author: Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com>
Date: Mon Jun 20 18:18:09 2011 +0530
Update to cabal2spec-0.23.1
modified: ghc-binary-shared.spec
ghc-binary-shared.spec | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/ghc-binary-shared.spec b/ghc-binary-shared.spec
index 8448031..df3a204 100644
--- a/ghc-binary-shared.spec
+++ b/ghc-binary-shared.spec
@@ -9,24 +9,23 @@
# main description used for all the subpackages
%global common_description Provides capability to share elements created by binary package.
-# Haskell library dependencies (used for buildrequires and devel/prof subpkg requires)
-%global ghc_pkg_deps ghc-binary-devel ghc-mtl-devel
-
Name: ghc-%{pkg_name}
Version: 0.8.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: GPLv2
URL: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+ExcludeArch: %{ghc_excluded_archs}
# fedora ghc archs:
ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
-BuildRequires: ghc, ghc-doc, ghc-prof
-BuildRequires: ghc-rpm-macros >= 0.7.3
+BuildRequires: ghc-Cabal-devel
+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-binary-devel, ghc-mtl-devel
+
%description
%{common_description}
@@ -43,11 +42,15 @@ BuildRequires: hscolour
%install
%ghc_lib_install
-
+# define the shared, devel and prof subpkgs, devel scripts,
+# and filelists: ghc-binary-shared.files, ghc-binary-shared-devel.files
%ghc_lib_package
%changelog
+* Sat Mar 26 2011 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.8.1-3
+- Update to cabal2spec - 0.23.1
+
* Sat Mar 26 2011 Lakshmi Narasimhan T V <lakshminaras2002 at gmail.com> - 0.8.1-2
- Update to cabal2spec - 0.22.5
More information about the scm-commits
mailing list