Hello community,

here is the log from the commit of package ghc-hspec-smallcheck for 
openSUSE:Factory checked in at 2017-03-24 02:14:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hspec-smallcheck (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-hspec-smallcheck.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-hspec-smallcheck"

Fri Mar 24 02:14:58 2017 rev:3 rq:461639 version:0.4.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-hspec-smallcheck/ghc-hspec-smallcheck.changes    
    2017-02-11 01:41:00.458496246 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-hspec-smallcheck.new/ghc-hspec-smallcheck.changes
   2017-03-24 02:15:01.092403994 +0100
@@ -1,0 +2,5 @@
+Sun Feb 12 14:12:36 UTC 2017 - [email protected]
+
+- Update to version 0.4.2 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  hspec-smallcheck-0.4.1.tar.gz
  hspec-smallcheck.cabal

New:
----
  hspec-smallcheck-0.4.2.tar.gz

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

Other differences:
------------------
++++++ ghc-hspec-smallcheck.spec ++++++
--- /var/tmp/diff_new_pack.wI8It2/_old  2017-03-24 02:15:01.764308925 +0100
+++ /var/tmp/diff_new_pack.wI8It2/_new  2017-03-24 02:15:01.768308360 +0100
@@ -19,14 +19,13 @@
 %global pkg_name hspec-smallcheck
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.4.1
+Version:        0.4.2
 Release:        0
 Summary:        SmallCheck support for the Hspec testing framework
 License:        MIT
 Group:          Development/Languages/Other
 Url:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-hspec-core-devel
 BuildRequires:  ghc-rpm-macros
@@ -54,7 +53,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ hspec-smallcheck-0.4.1.tar.gz -> hspec-smallcheck-0.4.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hspec-smallcheck-0.4.1/hspec-smallcheck.cabal 
new/hspec-smallcheck-0.4.2/hspec-smallcheck.cabal
--- old/hspec-smallcheck-0.4.1/hspec-smallcheck.cabal   2015-08-24 
05:27:30.000000000 +0200
+++ new/hspec-smallcheck-0.4.2/hspec-smallcheck.cabal   2017-01-26 
02:00:58.000000000 +0100
@@ -1,5 +1,5 @@
 name:             hspec-smallcheck
-version:          0.4.1
+version:          0.4.2
 license:          MIT
 license-file:     LICENSE
 copyright:        (c) 2013-2015 Simon Hengel
@@ -25,7 +25,7 @@
       Test.Hspec.SmallCheck
   build-depends:
       base == 4.*
-    , hspec-core == 2.*
+    , hspec-core >= 2.4
     , smallcheck >= 1.0
 
 test-suite spec
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hspec-smallcheck-0.4.1/src/Test/Hspec/SmallCheck.hs 
new/hspec-smallcheck-0.4.2/src/Test/Hspec/SmallCheck.hs
--- old/hspec-smallcheck-0.4.1/src/Test/Hspec/SmallCheck.hs     2015-08-24 
05:27:30.000000000 +0200
+++ new/hspec-smallcheck-0.4.2/src/Test/Hspec/SmallCheck.hs     2017-01-26 
02:00:58.000000000 +0100
@@ -21,8 +21,4 @@
           modifyIORef counter succ
           n <- readIORef counter
           reportProgress (n, 0)
-#if MIN_VERSION_hspec_core(2,2,0)
-    maybe Success (Fail Nothing . ppFailure) <$> smallCheckWithHook 
(paramsSmallCheckDepth c) hook p
-#else
-    maybe Success (Fail . ppFailure) <$> smallCheckWithHook 
(paramsSmallCheckDepth c) hook p
-#endif
+    maybe Success (Failure Nothing . Reason . ppFailure) <$> 
smallCheckWithHook (paramsSmallCheckDepth c) hook p


Reply via email to