Hello community,
here is the log from the commit of package ghc-test-simple for openSUSE:Factory
checked in at 2016-12-06 14:26:01
Comparing /work/SRC/openSUSE:Factory/ghc-test-simple (Old)
and /work/SRC/openSUSE:Factory/.ghc-test-simple.new (New)
Package is "ghc-test-simple"
Changes:
--- /work/SRC/openSUSE:Factory/ghc-test-simple/ghc-test-simple.changes
2016-11-02 12:43:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-test-simple.new/ghc-test-simple.changes
2016-12-06 14:26:02.0 +0100
@@ -1,0 +2,5 @@
+Tue Nov 22 16:06:54 UTC 2016 - psim...@suse.com
+
+- Update to version 0.1.9 with cabal2obs.
+
+---
Old:
test-simple-0.1.8.tar.gz
New:
test-simple-0.1.9.tar.gz
Other differences:
--
++ ghc-test-simple.spec ++
--- /var/tmp/diff_new_pack.UPgWxj/_old 2016-12-06 14:26:03.0 +0100
+++ /var/tmp/diff_new_pack.UPgWxj/_new 2016-12-06 14:26:03.0 +0100
@@ -19,15 +19,14 @@
%global pkg_name test-simple
%bcond_with tests
Name: ghc-%{pkg_name}
-Version:0.1.8
+Version:0.1.9
Release:0
Summary:Simple Perl inspired testing
License:BSD-3-Clause
-Group: System/Libraries
+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
BuildRequires: ghc-Cabal-devel
-# Begin cabal-rpm deps:
BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-rpm-macros
@@ -38,7 +37,6 @@
BuildRequires: ghc-executable-path-devel
BuildRequires: ghc-process-devel
%endif
-# End cabal-rpm deps
%description
Test.Simple provides simple, Perl inspired primitives for easy testing.
@@ -58,20 +56,14 @@
%prep
%setup -q -n %{pkg_name}-%{version}
-
%build
%ghc_lib_build
-
%install
%ghc_lib_install
-
%check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
%post devel
%ghc_pkg_recache
++ test-simple-0.1.8.tar.gz -> test-simple-0.1.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test-simple-0.1.8/changelog
new/test-simple-0.1.9/changelog
--- old/test-simple-0.1.8/changelog 2016-01-19 19:11:01.0 +0100
+++ new/test-simple-0.1.9/changelog 2016-11-14 18:20:49.0 +0100
@@ -1,3 +1,6 @@
+0.1.9
+--
+* Compatibility with QuickCheck 2.9
0.1.7
--
* Compatibility with QuickCheck 2.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test-simple-0.1.8/src/Test/Simple.hs
new/test-simple-0.1.9/src/Test/Simple.hs
--- old/test-simple-0.1.8/src/Test/Simple.hs2016-01-19 19:11:01.0
+0100
+++ new/test-simple-0.1.9/src/Test/Simple.hs2016-11-14 18:20:49.0
+0100
@@ -228,14 +228,14 @@
assert b
-- | Run some 'Testable' monad through 'QuickCheck' function. Exit with
failure on error.
-qcTestSimpleWith :: (Testable (m a), Monad m) => (m a -> IO Q.Result) -> m a
-> IO ()
+qcTestSimpleWith :: (m a -> IO Q.Result) -> m a -> IO ()
qcTestSimpleWith qc m = do
res <- qc m
unless (isSuccess res) exitFailure
-- | Run some 'Testable' monad through 'QuickCheck'. Exit with failure on
error.
-- Equivalent to 'qcTestSimpleWith' 'quickCheckResult'
-qcTestSimpleMain :: (Testable (m a), Monad m) => m a -> IO ()
+qcTestSimpleMain :: (Testable (m a)) => m a -> IO ()
qcTestSimpleMain = qcTestSimpleWith quickCheckResult
-- | Generates and logs (through 'diag') arbitrary value. Also outputs current
location.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/test-simple-0.1.8/test-simple.cabal
new/test-simple-0.1.9/test-simple.cabal
--- old/test-simple-0.1.8/test-simple.cabal 2016-01-19 19:11:01.0
+0100
+++ new/test-simple-0.1.9/test-simple.cabal 2016-11-14 18:20:49.0
+0100
@@ -1,5 +1,5 @@
Name:test-simple
-Version: 0.1.8
+Version: 0.1.9
License: BSD3
License-File:COPYING
Copyright: Boris Sukholitko, 2014
@@ -19,7 +19,7 @@
library
build-depends: base < 5, mtl, template-haskell, state-plus >= 0.1.1 && < 0.2
-, QuickCheck >= 2.7.6 && < 2.9
+, QuickCheck >= 2.7.6 && < 2.10
hs-source-dirs: src
ghc-options: -Wall
exposed-modules: Test.Simple
@@ -27,7 +27,7 @@
test-suite Main
type:exitcode-stdio-1.0
build-depends: base < 5, test-simple, process, executable-path, mtl
-, QuickCheck >= 2.7.6 && < 2.9
+