petersen pushed to ghc-QuickCheck (f22). "update to 2.7.6"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Apr 17 07:14:10 UTC 2015


>From 297d5950d3b284b8de362e5d409758cd3427abd7 Mon Sep 17 00:00:00 2001
From: Jens Petersen <petersen at redhat.com>
Date: Thu, 2 Apr 2015 18:59:29 +0900
Subject: update to 2.7.6


diff --git a/.gitignore b/.gitignore
index 21d13d4..ba8c226 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ QuickCheck-2.1.1.1.tar.gz
 /QuickCheck-2.4.1.1.tar.gz
 /QuickCheck-2.4.2.tar.gz
 /QuickCheck-2.6.tar.gz
+/QuickCheck-2.7.6.tar.gz
diff --git a/ghc-QuickCheck.spec b/ghc-QuickCheck.spec
index 7495637..76415a0 100644
--- a/ghc-QuickCheck.spec
+++ b/ghc-QuickCheck.spec
@@ -2,10 +2,12 @@
 
 %global pkg_name QuickCheck
 
+%bcond_with tests
+
 Name:           ghc-%{pkg_name}
 # part of haskell-platform
-Version:        2.6
-Release:        35%{?dist}
+Version:        2.7.6
+Release:        1%{?dist}
 Summary:        Automatic testing of Haskell programs
 
 License:        BSD
@@ -19,6 +21,12 @@ BuildRequires:  ghc-random-devel
 %ifarch %{ghc_arches_with_ghci}
 BuildRequires:  ghc-template-haskell-devel
 %endif
+BuildRequires:  ghc-tf-random-devel
+BuildRequires:  ghc-transformers-devel
+ExclusiveArch:  %{ghc_arches_with_ghci}
+%if %{with tests}
+BuildRequires:  ghc-test-framework-devel
+%endif
 # End cabal-rpm deps
 
 %description
@@ -60,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
 
@@ -73,10 +87,13 @@ This package provides the Haskell %{pkg_name} library development files.
 
 
 %files devel -f %{name}-devel.files
-%doc README
+%doc examples README
 
 
 %changelog
+* Thu Apr  2 2015 Jens Petersen <petersen at redhat.com> - 2.7.6-1
+- update to 2.7.6
+
 * Wed Jan 28 2015 Jens Petersen <petersen at redhat.com> - 2.6-35
 - update urls
 
diff --git a/sources b/sources
index eb1b548..6a33479 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-881d546b39c60789e375b2ab3dbce677  QuickCheck-2.6.tar.gz
+b936f766ffc9f41feb041beaf96b5fe5  QuickCheck-2.7.6.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/ghc-QuickCheck.git/commit/?h=f22&id=297d5950d3b284b8de362e5d409758cd3427abd7


More information about the scm-commits mailing list