[ghc-zip-archive] update to cabal2spec-0.23
Jens Petersen
petersen at fedoraproject.org
Sat May 28 10:06:46 UTC 2011
commit 38316bac0c65099abce0a571fcc7a21ebf4e8e14
Author: Jens Petersen <petersen at redhat.com>
Date: Sat May 28 19:06:28 2011 +0900
update to cabal2spec-0.23
ghc-zip-archive.spec | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
---
diff --git a/ghc-zip-archive.spec b/ghc-zip-archive.spec
index 2234026..bf90ee5 100644
--- a/ghc-zip-archive.spec
+++ b/ghc-zip-archive.spec
@@ -5,11 +5,9 @@
%global common_description The zip-archive library provides functions for creating, modifying,\
and extracting files from zip archives.
-%global ghc_pkg_deps ghc-binary-devel, ghc-digest-devel, ghc-mtl-devel, ghc-utf8-string-devel, ghc-zlib-devel
-
Name: ghc-%{pkg_name}
Version: 0.1.1.7
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@@ -17,11 +15,11 @@ 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
# fedora ghc archs:
-ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9
-BuildRequires: ghc, ghc-prof
-BuildRequires: ghc-rpm-macros >= 0.7.3
-BuildRequires: hscolour
-%{?ghc_pkg_deps:BuildRequires: %{ghc_pkg_deps}, %(echo %{ghc_pkg_deps} | sed -e "s/\(ghc-[^, ]\+\)-devel/\1-prof/g")}
+ExclusiveArch: %{ix86} x86_64 ppc alpha sparcv9 ppc64
+BuildRequires: ghc-prof
+BuildRequires: ghc-rpm-macros
+BuildRequires: hscolour
+BuildRequires: ghc-binary-prof, ghc-digest-prof, ghc-mtl-prof, ghc-utf8-string-prof, ghc-zlib-prof
%description
%{common_description}
@@ -45,6 +43,9 @@ install -p -m 0644 COPYING %{buildroot}%{_docdir}/%{name}-%{version}
%changelog
+* Sat May 28 2011 Jens Petersen <petersen at redhat.com> - 0.1.1.7-3
+- update to cabal2spec-0.23: add ppc64
+
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto at redhat.com> - 0.1.1.7-2
- Enable build on sparcv9
More information about the scm-commits
mailing list