[ghc-utf8-string] update to 0.3.7 and cabal2spec-0.25.2

Jens Petersen petersen at fedoraproject.org
Fri Jan 6 03:05:28 UTC 2012


commit 04a67b3508a3af4236b931af6305349aee7905df
Author: Jens Petersen <petersen at redhat.com>
Date:   Fri Jan 6 12:05:22 2012 +0900

    update to 0.3.7 and cabal2spec-0.25.2

 .gitignore           |    1 +
 ghc-utf8-string.spec |   26 +++++++++++++++++++++-----
 sources              |    2 +-
 3 files changed, 23 insertions(+), 6 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0583a5e..3836ffd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 utf8-string-0.3.6.tar.gz
+/utf8-string-0.3.7.tar.gz
diff --git a/ghc-utf8-string.spec b/ghc-utf8-string.spec
index f737093..85bb02a 100644
--- a/ghc-utf8-string.spec
+++ b/ghc-utf8-string.spec
@@ -1,3 +1,7 @@
+# cabal2spec-0.25.2
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
+
 %global pkg_name utf8-string
 
 %global common_summary Haskell UTF8 layer for IO and Strings
@@ -7,18 +11,19 @@ for encoding UTF8 strings to Word8 lists and back, and for reading and writing\
 UTF8 without truncation. 
 
 Name:           ghc-%{pkg_name}
-Version:        0.3.6
-Release:        11%{?dist}.3
+Version:        0.3.7
+Release:        1%{?dist}
 Summary:        %{common_summary}
 
 Group:          System Environment/Libraries
 License:        BSD
+# BEGIN cabal2spec
 URL:            http://hackage.haskell.org/package/%{pkg_name}
 Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
 ExclusiveArch:  %{ghc_arches}
 BuildRequires:  ghc-Cabal-devel
-BuildRequires:  ghc-rpm-macros
-BuildRequires:  hscolour
+BuildRequires:  ghc-rpm-macros %{!?without_hscolour:hscolour}
+# END cabal2spec
 BuildRequires:  ghc-bytestring-prof
 
 %description
@@ -37,10 +42,21 @@ BuildRequires:  ghc-bytestring-prof
 %ghc_lib_install
 
 
-%ghc_lib_package
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files
 
 
 %changelog
+* Fri Jan  6 2012 Jens Petersen <petersen at redhat.com> - 0.3.7-1
+- update to 0.3.7 and cabal2spec-0.25.2
+
 * Mon Oct 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.3.6-11.3
 - rebuild with new gmp without compat lib
 
diff --git a/sources b/sources
index ffc9ed1..9c8cf85 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-be8c5ef52a0824babdc89d60c1e9b600  utf8-string-0.3.6.tar.gz
+50e5c395713e716e0e4a56da73f87ccd  utf8-string-0.3.7.tar.gz


More information about the scm-commits mailing list