[darcs] use BR ghc-Cabal-devel and ghc_arches (cabal2spec-0.23.2)
Jens Petersen
petersen at fedoraproject.org
Thu Jun 23 02:29:03 UTC 2011
commit 5d9f0cb908e365fefe29253546b7e25ad768551b
Author: Jens Petersen <petersen at redhat.com>
Date: Thu Jun 23 11:28:51 2011 +0900
use BR ghc-Cabal-devel and ghc_arches (cabal2spec-0.23.2)
darcs.spec | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/darcs.spec b/darcs.spec
index 294347a..9db8a02 100644
--- a/darcs.spec
+++ b/darcs.spec
@@ -19,7 +19,7 @@ consistent and powerful theory of patches.
# override pkg_name to allow for darcs-beta
Name: darcs
Version: 2.5.2
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: David's Advanced Revision Control System
Group: Development/Tools
@@ -27,10 +27,8 @@ License: GPLv2+
URL: http://www.darcs.net/
# use pkg_name to allow for darcs-beta
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
-Obsoletes: darcs-server < 2.2.1-6
-BuildRequires: ghc-prof
+ExclusiveArch: %{ghc_arches}
+BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: hscolour
BuildRequires: ghc-hashed-storage-prof, ghc-haskeline-prof, ghc-html-prof, ghc-parsec-prof, ghc-regex-compat-prof, ghc-tar-prof, ghc-text-prof, ghc-zlib-prof
@@ -38,6 +36,7 @@ BuildRequires: ghc-hashed-storage-prof, ghc-haskeline-prof, ghc-html-prof, ghc-
%if %{with tests}
BuildRequires: which
%endif
+Obsoletes: darcs-server < 2.2.1-6
%description
%{common_description}
@@ -79,6 +78,9 @@ cp -p contrib/darcs_completion $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/d
%changelog
+* Thu Jun 23 2011 Jens Petersen <petersen at redhat.com> - 2.5.2-4
+- BR ghc-Cabal-devel instead of ghc-prof and use ghc_arches (cabal2spec-0.23.2)
+
* Wed Jun 1 2011 Jens Petersen <petersen at redhat.com> - 2.5.2-3
- update to cabal2spec-0.23
More information about the scm-commits
mailing list