[ghc-gtksourceview2] use BR ghc-Cabal-devel (cabal2spec-0.23.2)
Jens Petersen
petersen at fedoraproject.org
Tue Jun 21 08:37:15 UTC 2011
commit f7dfd7e2559efaa29feb45a232a1570534c932e7
Author: Jens Petersen <petersen at redhat.com>
Date: Tue Jun 21 17:37:04 2011 +0900
use BR ghc-Cabal-devel (cabal2spec-0.23.2)
.chain-deps | 4 +---
ghc-gtksourceview2.spec | 28 +++++++++++-----------------
2 files changed, 12 insertions(+), 20 deletions(-)
---
diff --git a/.chain-deps b/.chain-deps
index c85ee49..2465ebd 100644
--- a/.chain-deps
+++ b/.chain-deps
@@ -1,3 +1 @@
-# rebuild.sh config file: see <http://git.fedorahosted.org/git/haskell-sig.git>
-
-CHAIN_PKGS="gtk2hs-buildtools : ghc-glib ghc-cairo : ghc-gio ghc-pango : ghc-gtk : ghc-glade"
+gtk2hs-buildtools : ghc-glib ghc-cairo : ghc-gio ghc-pango : ghc-gtk : ghc-glade :
diff --git a/ghc-gtksourceview2.spec b/ghc-gtksourceview2.spec
index 044e5a3..0921757 100644
--- a/ghc-gtksourceview2.spec
+++ b/ghc-gtksourceview2.spec
@@ -4,39 +4,27 @@
%global common_description A Haskell %{pkg_name} binding.
-%global ghc_pkg_deps ghc-glib-devel, ghc-gtk-devel, ghc-mtl-devel
-
%global ghc_pkg_c_deps gtksourceview2-devel
-# debuginfo is not useful for ghc
-%global debug_package %{nil}
-
Name: ghc-%{pkg_name}
Version: 0.12.2
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
License: LGPLv2+
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
+ExclusiveArch: %{ghc_arches}
+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")}
%{?ghc_pkg_c_deps:BuildRequires: %{ghc_pkg_c_deps}}
BuildRequires: gtk2hs-buildtools
+BuildRequires: ghc-gtk-prof
%description
%{common_description}
-%if %{with shared}
-This package provides the shared library.
-%endif
-
-
-%{?ghc_lib_package}
%prep
@@ -55,7 +43,13 @@ rm -r $RPM_BUILD_ROOT%{_datadir}/%{pkg_name}-%{version}
echo %doc demo >> %{name}-devel.files
+%ghc_lib_package
+
+
%changelog
+* Tue Jun 21 2011 Jens Petersen <petersen at redhat.com> - 0.12.2-5
+- BR ghc-Cabal-devel instead of ghc-prof (cabal2spec-0.23.2)
+
* Thu Mar 10 2011 Fabio M. Di Nitto <fdinitto at redhat.com> - 0.12.2-4
- Enable build on sparcv9
More information about the scm-commits
mailing list