rpms/ghc-gtk2hs/devel ghc-gtk2hs.spec,1.18,1.19

Jens Petersen petersen at fedoraproject.org
Sat Apr 25 10:22:07 UTC 2009


Author: petersen

Update of /cvs/pkgs/rpms/ghc-gtk2hs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3361

Modified Files:
	ghc-gtk2hs.spec 
Log Message:
rebuild against ghc-6.10.2


Index: ghc-gtk2hs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ghc-gtk2hs/devel/ghc-gtk2hs.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ghc-gtk2hs.spec	14 Apr 2009 10:01:05 -0000	1.18
+++ ghc-gtk2hs.spec	25 Apr 2009 10:21:36 -0000	1.19
@@ -1,10 +1,6 @@
 #%%global snapdate 20090125
 
 %global pkg_name gtk2hs
-%global ghc_version 6.10.1
-
-%global pkg_libdir %{_libdir}/ghc-%{ghc_version}/%{pkg_name}-%{version}
-%global pkg_docdir %{_docdir}/ghc/libraries/%{pkg_name}
 
 %bcond_without docs
 %bcond_without prof
@@ -28,7 +24,7 @@
 Summary:        Haskell binding for gtk2 and related libraries
 Name:           ghc-gtk2hs
 Version:        0.10.0
-Release:        4%{?snapdate:.%{snapdate}}%{?dist}
+Release:        5%{?snapdate:.%{snapdate}}%{?dist}
 # cairo/ and svgcairo/ are FreeBSD
 # compat/ is BSD
 # tools/c2hs (used to build) is GPLv2+, LGPLv2+
@@ -49,14 +45,14 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 # fedora ghc archs:
 ExclusiveArch:  %{ix86} x86_64 ppc alpha
-BuildRequires:  ghc = %{ghc_version}
+BuildRequires:  ghc
 BuildRequires:  happy, alex
 %if %{with docs}
 BuildRequires:  haddock >= 2.4.1
-BuildRequires:  ghc-doc = %{ghc_version}
+BuildRequires:  ghc-doc
 %endif
 %if %{with prof}
-BuildRequires:  ghc-prof = %{ghc_version}
+BuildRequires:  ghc-prof
 %endif
 BuildRequires:  gtk2-devel
 BuildRequires:  gtksourceview2-devel
@@ -137,8 +133,8 @@
 Requires:       ghc = %{ghc_version}\
 Requires:       %{name}-common = %{version}-%{release}\
 Requires:       %2-devel, %{?3:ghc-%3-devel = %{version}-%{release}}\
-Requires(post): %{_bindir}/ghc-pkg-%{ghc_version}\
-Requires(preun): %{_bindir}/ghc-pkg-%{ghc_version}\
+Requires(post): ghc = %{ghc_version}\
+Requires(preun): ghc = %{ghc_version}\
 # added for F11\
 Obsoletes:      ghc-%1 < 0.10.0-3\
 %{?4:Obsoletes:      %4 < 0.10.0}\
@@ -293,6 +289,9 @@
 
 
 %changelog
+* Sat Apr 25 2009 Jens Petersen <petersen at redhat.com> - 0.10.0-5
+- rebuild against ghc-6.10.2
+
 * Tue Apr 14 2009 Jens Petersen <petersen at redhat.com> - 0.10.0-4
 - use define not global to define subpackage since it broke ?3: expansion
 - require the subpackage dependency with -devel suffix




More information about the scm-commits mailing list