[ghc-MissingH] update to 1.2.1.0

Jens Petersen petersen at fedoraproject.org
Fri Aug 29 05:51:05 UTC 2014


commit 94848efcfe7fccd459b8e1b411e6d693b7587e2e
Author: Jens Petersen <petersen at redhat.com>
Date:   Fri Aug 29 14:51:06 2014 +0900

    update to 1.2.1.0

 .gitignore        |    1 +
 ghc-MissingH.spec |   29 +++++++++++++++++++++++++----
 sources           |    2 +-
 3 files changed, 27 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 242df95..d7ae947 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /MissingH-1.1.0.3.tar.gz
 /MissingH-1.1.1.0.tar.gz
 /MissingH-1.2.0.0.tar.gz
+/MissingH-1.2.1.0.tar.gz
diff --git a/ghc-MissingH.spec b/ghc-MissingH.spec
index c61e36c..28cf727 100644
--- a/ghc-MissingH.spec
+++ b/ghc-MissingH.spec
@@ -2,9 +2,14 @@
 
 %global pkg_name MissingH
 
+%bcond_with tests
+
+# no useful debuginfo for Haskell packages without C sources
+%global debug_package %{nil}
+
 Name:           ghc-%{pkg_name}
-Version:        1.2.0.0
-Release:        6%{?dist}
+Version:        1.2.1.0
+Release:        1%{?dist}
 Summary:        Large utility library
 
 # src/Data/Hash/MD5.lhs is BSD or GPL+
@@ -13,7 +18,7 @@ Summary:        Large utility library
 # all other src/ (and testsrc/) files are BSD
 License:        GPLv2+
 URL:            http://hackage.haskell.org/package/%{pkg_name}
-Source0:        http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+Source0:        http://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
@@ -34,6 +39,11 @@ BuildRequires:  ghc-random-devel
 BuildRequires:  ghc-regex-compat-devel
 BuildRequires:  ghc-time-devel
 BuildRequires:  ghc-unix-devel
+%if %{with tests}
+BuildRequires:  ghc-QuickCheck-devel
+BuildRequires:  ghc-errorcall-eq-instance-devel
+BuildRequires:  ghc-testpack-devel
+%endif
 # End cabal-rpm deps
 
 %description
@@ -44,10 +54,11 @@ should be extremely portable and easy to use.
 
 %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.
@@ -65,6 +76,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
 
@@ -82,6 +99,10 @@ This package provides the Haskell %{pkg_name} library development files.
 
 
 %changelog
+* Fri Aug 29 2014 Jens Petersen <petersen at redhat.com> - 1.2.1.0-1
+- update to 1.2.1.0
+- refresh to cblrpm-0.8.11
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.0.0-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 
diff --git a/sources b/sources
index 186eefd..a2a2574 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1b932f4637fedcb3b451e5aa9179c304  MissingH-1.2.0.0.tar.gz
+e15d30d6780f0bd6383ccda8ddbe2948  MissingH-1.2.1.0.tar.gz


More information about the scm-commits mailing list