From d7214adbd47085b8e3d16b3ce5954ddfe1b109c9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 30 Nov 2010 12:27:48 +1000 Subject: [PATCH] update to 0.12.0 --- .gitignore | 1 + ghc-cairo-Gtk2HsSetup-Cabal-1.10.patch | 12 ------------ ghc-cairo.spec | 12 +++++++----- sources | 2 +- 4 files changed, 9 insertions(+), 18 deletions(-) delete mode 100644 ghc-cairo-Gtk2HsSetup-Cabal-1.10.patch diff --git a/.gitignore b/.gitignore index 6ff2038..8d3e31f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /cairo-0.11.1.tar.gz +/cairo-0.12.0.tar.gz diff --git a/ghc-cairo-Gtk2HsSetup-Cabal-1.10.patch b/ghc-cairo-Gtk2HsSetup-Cabal-1.10.patch deleted file mode 100644 index 6ac51db..0000000 --- a/ghc-cairo-Gtk2HsSetup-Cabal-1.10.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -u cairo-0.11.1/Gtk2HsSetup.hs\~ cairo-0.11.1/Gtk2HsSetup.hs ---- cairo-0.11.1/Gtk2HsSetup.hs~ 2010-11-25 17:16:11.000000000 +1000 -+++ cairo-0.11.1/Gtk2HsSetup.hs 2010-11-25 17:32:40.000000000 +1000 -@@ -187,7 +187,7 @@ - _ | modeGenerateRegFile -> die "Generate Reg File not supported" - | modeGenerateRegScript -> die "Generate Reg Script not supported" - | otherwise -> registerPackage verbosity -- installedPkgInfo pkg lbi inplace packageDb -+ installedPkgInfo pkg lbi inplace [packageDb] - - where - modeGenerateRegFile = isJust (flagToMaybe (regGenPkgConf regFlags)) diff --git a/ghc-cairo.spec b/ghc-cairo.spec index ab0d0a8..4f85740 100644 --- a/ghc-cairo.spec +++ b/ghc-cairo.spec @@ -15,8 +15,8 @@ %global debug_package %{nil} Name: ghc-%{pkg_name} -Version: 0.11.1 -Release: 2%{?dist} +Version: 0.12.0 +Release: 1%{?dist} Summary: %{common_summary} Group: System Environment/Libraries @@ -28,13 +28,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) ExclusiveArch: %{ix86} x86_64 ppc alpha BuildRequires: ghc, ghc-doc, ghc-prof BuildRequires: ghc-rpm-macros >= 0.8.1 -BuildRequires: gtk2hs-buildtools %if %{with hscolour} BuildRequires: hscolour %endif %{?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}} -Patch1: ghc-cairo-Gtk2HsSetup-Cabal-1.10.patch +BuildRequires: gtk2hs-buildtools %description %{common_description} @@ -48,7 +47,6 @@ This package provides the shared library. %prep %setup -q -n %{pkg_name}-%{version} -%patch1 -p1 -b .orig %build @@ -68,6 +66,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Nov 30 2010 Jens Petersen - 0.12.0-1 +- update to 0.12.0 +- Gtk2HsSetup patch no longer needed + * Thu Nov 25 2010 Jens Petersen - 0.11.1-2 - add ghc-cairo-Gtk2HsSetup-Cabal-1.10.patch to fix build diff --git a/sources b/sources index 770f581..70f8448 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -01056ece6c8872d30cbc0f11eef98e40 cairo-0.11.1.tar.gz +e17c7ce086062282dbb405bfdf68191e cairo-0.12.0.tar.gz