[ghc-zip-archive] update to 0.2.3.4

Jens Petersen petersen at fedoraproject.org
Thu Oct 30 08:51:59 UTC 2014


commit e45b63cce0ea9ffaab62195fac438f746875d561
Author: Jens Petersen <petersen at redhat.com>
Date:   Thu Oct 30 17:52:00 2014 +0900

    update to 0.2.3.4

 .gitignore           |    1 +
 ghc-zip-archive.spec |   33 +++++++++++++++++++++++++++------
 sources              |    2 +-
 3 files changed, 29 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6ff9e6f..b1261f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /zip-archive-0.1.1.8.tar.gz
 /zip-archive-0.1.2.1.tar.gz
 /zip-archive-0.1.3.4.tar.gz
+/zip-archive-0.2.3.4.tar.gz
diff --git a/ghc-zip-archive.spec b/ghc-zip-archive.spec
index 03da318..ca9cfed 100644
--- a/ghc-zip-archive.spec
+++ b/ghc-zip-archive.spec
@@ -2,9 +2,14 @@
 
 %global pkg_name zip-archive
 
+%bcond_without tests
+
+# no useful debuginfo for Haskell packages without C sources
+%global debug_package %{nil}
+
 Name:           ghc-%{pkg_name}
-Version:        0.1.3.4
-Release:        5%{?dist}
+Version:        0.2.3.4
+Release:        1%{?dist}
 Summary:        Library for creating and modifying zip archives
 
 License:        BSD
@@ -24,23 +29,28 @@ BuildRequires:  ghc-filepath-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-old-time-devel
 BuildRequires:  ghc-pretty-devel
+BuildRequires:  ghc-text-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-unix-devel
-BuildRequires:  ghc-utf8-string-devel
 BuildRequires:  ghc-zlib-devel
+%if %{with tests}
+BuildRequires:  ghc-HUnit-devel
+BuildRequires:  ghc-process-devel
+%endif
 # End cabal-rpm deps
 
 %description
-The zip-archive library provides functions for creating, modifying,
-and extracting files from zip archives.
+The zip-archive library provides functions for creating, modifying, and
+extracting files from zip archives.
 
 
 %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.
@@ -58,6 +68,12 @@ This package provides the Haskell %{pkg_name} library development files.
 %ghc_lib_install
 
 
+%check
+%if %{with tests}
+%cabal test
+%endif
+
+
 %post devel
 %ghc_pkg_recache
 
@@ -71,9 +87,14 @@ This package provides the Haskell %{pkg_name} library development files.
 
 
 %files devel -f %{name}-devel.files
+%doc README.markdown
 
 
 %changelog
+* Thu Oct 30 2014 Jens Petersen <petersen at redhat.com> - 0.2.3.4-1
+- update to 0.2.3.4
+- refresh to cblrpm-0.8.11
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.3.4-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
diff --git a/sources b/sources
index e22e76d..bf6b3ab 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9029dfa69fe446a10d5d2bb82074dd6e  zip-archive-0.1.3.4.tar.gz
+8e8cec531455fbb06d01217f7e5cdbc0  zip-archive-0.2.3.4.tar.gz


More information about the scm-commits mailing list