[ghc-dataenc] update to 0.14.0.3 and cabal2spec-0.25.2

Jens Petersen petersen at fedoraproject.org
Wed Jan 4 13:53:07 UTC 2012


commit 1ca328af57bf771cdbd7be1f99723a6779c72cf7
Author: Jens Petersen <petersen at redhat.com>
Date:   Wed Jan 4 22:52:59 2012 +0900

    update to 0.14.0.3 and cabal2spec-0.25.2

 .gitignore       |    1 +
 ghc-dataenc.spec |   26 ++++++++++++++++++++------
 sources          |    2 +-
 3 files changed, 22 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 171d805..5344304 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ dataenc-0.13.0.2.tar.gz
 /dataenc-0.13.0.5.tar.gz
 /dataenc-0.14.tar.gz
 /dataenc-0.14.0.2.tar.gz
+/dataenc-0.14.0.3.tar.gz
diff --git a/ghc-dataenc.spec b/ghc-dataenc.spec
index be99ec2..72d2d89 100644
--- a/ghc-dataenc.spec
+++ b/ghc-dataenc.spec
@@ -1,4 +1,6 @@
-# cabal2spec falsely detects this as a binlib package because of tests
+# cabal2spec-0.25.2
+# https://fedoraproject.org/wiki/Packaging:Haskell
+# https://fedoraproject.org/wiki/PackagingDrafts/Haskell
 
 %global pkg_name dataenc
 
@@ -9,18 +11,19 @@ Base64Url, Base85, Python string escaping, Quoted-Printable, URL encoding,\
 uuencode, xxencode, and yEncoding.
 
 Name:           ghc-%{pkg_name}
-Version:        0.14.0.2
-Release:        1%{?dist}.3
+Version:        0.14.0.3
+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-containers-prof
 
 %description
@@ -39,10 +42,21 @@ BuildRequires:  ghc-containers-prof
 %ghc_lib_install
 
 
-%ghc_lib_package
+%ghc_devel_package
+
+%ghc_devel_description
+
+
+%ghc_devel_post_postun
+
+
+%ghc_files
 
 
 %changelog
+* Wed Jan  4 2012 Jens Petersen <petersen at redhat.com> - 0.14.0.3-1
+- update to 0.14.0.3 and cabal2spec-0.25.2
+
 * Mon Oct 24 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.14.0.2-1.3
 - rebuild with new gmp without compat lib
 
diff --git a/sources b/sources
index 79e0407..1aabfd6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-60ea9bb83256b3e3a22356010084f6e7  dataenc-0.14.0.2.tar.gz
+643a8c022b9c840f801faf9a661fe637  dataenc-0.14.0.3.tar.gz


More information about the scm-commits mailing list