[ghc-mtlparse] Update to cabal2spec-0.22.7
Ben Boeckel
mathstuf at fedoraproject.org
Thu May 12 02:18:46 UTC 2011
commit 2430d34cdd6f00d4bab1d5dc8c1e48f04af1cf39
Author: Ben Boeckel <MathStuf at gmail.com>
Date: Wed May 11 22:18:01 2011 -0400
Update to cabal2spec-0.22.7
ghc-mtlparse.spec | 29 ++++++++++++++---------------
1 files changed, 14 insertions(+), 15 deletions(-)
---
diff --git a/ghc-mtlparse.spec b/ghc-mtlparse.spec
index ab6ca96..407fae0 100644
--- a/ghc-mtlparse.spec
+++ b/ghc-mtlparse.spec
@@ -1,22 +1,18 @@
+# For Haskell Packaging Guidelines see:
+# - https://fedoraproject.org/wiki/Packaging:Haskell
+# - https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
%global pkg_name mtlparse
%global common_summary Parse library using mtl package
-%global common_description Parse library on mtl package \
- \
-Parse and ParseT is like State and StateT \
- \
-The package ease implementation of look-ahead look-behind and \
-so on.
+%global common_description %{common_summary}.
%global ghc_pkg_deps ghc-mtl-devel
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
Name: ghc-%{pkg_name}
Version: 0.1.1
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -24,17 +20,15 @@ License: LGPLv3
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
+ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
BuildRequires: ghc, ghc-doc, ghc-prof
BuildRequires: ghc-rpm-macros >= 0.7.3
+# macros for building haskell packages
BuildRequires: hscolour
%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-doc,\1-prof/g")}
%description
%{common_description}
-%if %{with shared}
-This package provides the shared library.
-%endif
%prep
@@ -49,10 +43,15 @@ This package provides the shared library.
%ghc_lib_install
-%{?ghc_lib_package}
+# define the devel and prof subpkgs, devel post[un] scripts, and filelists:
+# ghc-%%pkg_name{,devel,prof}.files
+%ghc_lib_package
%changelog
+* Wed May 11 2011 Ben Boeckel <mathstuf at gmail.com> - 0.1.1-6
+- Update to cabal2spec-0.22.7
+
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto at redhat.com> - 0.1.1-5
- Enable build on sparcv9
More information about the scm-commits
mailing list