[ghc-ltk] update to 0.13.2.0

Jens Petersen petersen at fedoraproject.org
Thu Aug 28 06:25:01 UTC 2014


commit a4171e85a9d5b3ec29ca41ec369c2d36cde2161d
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Aug 28 15:24:38 2014 +0900

    update to 0.13.2.0

 .gitignore           |    1 +
 ghc-ltk.spec         |   20 ++++++++++----
 ltk-0.12-ghc76.patch |   71 --------------------------------------------------
 sources              |    2 +-
 4 files changed, 16 insertions(+), 78 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5e86d49..9a2a17d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /ltk-0.10.0.4.tar.gz
 /ltk-0.12.0.0.tar.gz
 /ltk-0.12.1.0.tar.gz
+/ltk-0.13.2.0.tar.gz
diff --git a/ghc-ltk.spec b/ghc-ltk.spec
index b1bc0c4..261459a 100644
--- a/ghc-ltk.spec
+++ b/ghc-ltk.spec
@@ -2,17 +2,19 @@
 
 %global pkg_name ltk
 
+# no useful debuginfo for Haskell packages without C sources
+%global debug_package %{nil}
+
 Name:           ghc-%{pkg_name}
-Version:        0.12.1.0
-Release:        13%{?dist}
+Version:        0.13.2.0
+Release:        1%{?dist}
 Summary:        Leksah IDE's UI toolkit library
 
 #The cabal file states license as GPLv2 while sources specify license
 #as GPL. Hence GPL+.
 License:        GPL+
 URL:            http://hackage.haskell.org/package/%{pkg_name}
-Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
-Patch0:         ltk-0.12-ghc76.patch
+Source0:        http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
@@ -34,10 +36,11 @@ This package provides UI toolkit library for Leksah IDE.
 
 %package devel
 Summary:        Haskell %{pkg_name} library development files
+Provides:       %{name}-static = %{version}-%{release}
 Requires:       ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-Requires:       %{name} = %{version}-%{release}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
@@ -45,7 +48,7 @@ This package provides the Haskell %{pkg_name} library development files.
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-%patch0 -p1 -b .orig
+cabal-tweak-flag gtk3 False
 
 
 %build
@@ -72,6 +75,11 @@ This package provides the Haskell %{pkg_name} library development files.
 
 
 %changelog
+* Thu Aug 28 2014 Jens Petersen <petersen at redhat.com> - 0.13.2.0-1
+- update to 0.13.2.0
+- build with Haskell gtk until gtk3 in Fedora
+- refresh to cblrpm-0.8.11
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.12.1.0-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
diff --git a/sources b/sources
index 95ae386..91a545c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2528d8813ffdcbf49f648e5a1ccdacb9  ltk-0.12.1.0.tar.gz
+0187e75da4dd3c109d4b963ac95d05ff  ltk-0.13.2.0.tar.gz


More information about the scm-commits mailing list