Hello community,

here is the log from the commit of package ghc-QuickCheck for openSUSE:Factory 
checked in at 2015-05-21 08:12:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-QuickCheck (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-QuickCheck.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-QuickCheck"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-QuickCheck/ghc-QuickCheck.changes    
2014-11-26 20:55:05.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-QuickCheck.new/ghc-QuickCheck.changes       
2015-05-21 08:12:35.000000000 +0200
@@ -1,0 +2,44 @@
+Fri Apr 10 13:41:57 UTC 2015 - [email protected]
+
+- update to 2.7.6
+* Add annotations for Safe Haskell.
+* Fix bug in cabal file which broke cabal test
+* Fixed bug - the Small modifier didn't work on unsigned types
+* Changed arbitrarySizedIntegral to have an Integral constraint
+  instead of just Num
+       * New genericShrink function provides generic shrinking with GHC.
+       * New combinator x === y: fails if x /= y, but also prints their values
+       * New function generate :: Gen a -> IO a for running a generator.
+       * New combinators infiniteList and infiniteListOf for generating 
infinite lists.
+       * Several combinators added to the main Test.QuickCheck module which
+         were previously languishing in other modules. Of particular interest:
+         quickCheckAll, ioProperty.
+       * New combinators delay and capture which can be used (unsafely!)
+         to reuse the random number seed. Useful for generating
+         polymorphic (rank-2) values.
+       * A new Discard data type and a Testable instance for discarding test 
cases.
+       * All modifiers now have Functor instances and accessor functions.
+       * Pressing ctrl-C during shrinking now shows the last failed
+         test case, rather than the current shrinking candidate.
+       * Experimental support for UHC. You will need the latest version of 
Cabal from git.
+* Better distribution of test data:
+       * The Int generator now only generates fairly small numbers.
+       * The new Small and Large modifiers control the distribution of integers
+         (Small generates small numbers, Large from the whole range).
+       * Floating-point numbers shrink better.
+* Improved random number generation:
+       * QuickCheck now uses TFGen rather than StdGen on newer versions
+         of GHC, because StdGen's random numbers aren't always random.
+       * 'variant' now uses a prefix code. This should prevent some
+         potential bananaskins with coarbitrary.
+* API changes:
+       * The Gen monad now uses an abstract type QCGen rather than StdGen.
+       * The Result type now returns the thrown exception and number
+         of failed shrink attempts.
+       * Property is now a newtype rather than Gen Prop as it was before.
+       * promote is moved into the new module Test.QuickCheck.Gen.Unsafe.
+       * 'printTestCase' is deprecated - its new name is 'counterexample'
+       * 'morallyDubiousIOProperty' is deprecated - its new name is
+         'ioProperty', no moral judgement involved :) 
+
+-------------------------------------------------------------------

Old:
----
  QuickCheck-2.6.tar.gz

New:
----
  QuickCheck-2.7.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-QuickCheck.spec ++++++
--- /var/tmp/diff_new_pack.CFa0FV/_old  2015-05-21 08:12:36.000000000 +0200
+++ /var/tmp/diff_new_pack.CFa0FV/_new  2015-05-21 08:12:36.000000000 +0200
@@ -1,8 +1,7 @@
 #
 # spec file for package ghc-QuickCheck
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# Copyright (c) 2012 Peter Trommler [email protected]
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +18,17 @@
 
 %global pkg_name QuickCheck
 
-Name:           ghc-QuickCheck
-Version:        2.6
+%bcond_with tests
+
+Name:           ghc-%{pkg_name}
+Version:        2.7.6
 Release:        0
 Summary:        Automatic testing of Haskell programs
 License:        BSD-3-Clause
 Group:          System/Libraries
 
-Url:            http://hackage.haskell.org/package/%{pkg_name}
-Source0:        
http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
+Url:            https://hackage.haskell.org/package/%{pkg_name}
+Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:  ghc-Cabal-devel
@@ -35,6 +36,11 @@
 # Begin cabal-rpm deps:
 BuildRequires:  ghc-random-devel
 BuildRequires:  ghc-template-haskell-devel
+BuildRequires:  ghc-tf-random-devel
+BuildRequires:  ghc-transformers-devel
+%if %{with tests}
+BuildRequires:  ghc-test-framework-devel
+%endif
 # End cabal-rpm deps
 
 %description
@@ -52,7 +58,6 @@
 %package devel
 Summary:        Haskell %{pkg_name} library development files
 Group:          Development/Libraries/Other
-Provides:       %{name}-static = %{version}-%{release}
 Requires:       ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
@@ -71,6 +76,11 @@
 %install
 %ghc_lib_install
 
+%check
+%if %{with tests}
+%cabal test
+%endif
+
 %post devel
 %ghc_pkg_recache
 
@@ -83,6 +93,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
-%doc README
+%doc README examples
 
 %changelog

++++++ QuickCheck-2.6.tar.gz -> QuickCheck-2.7.6.tar.gz ++++++
++++ 2655 lines of diff (skipped)


Reply via email to