Hello community,

here is the log from the commit of package ghc-HUnit for openSUSE:Factory 
checked in at 2016-10-19 13:02:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-HUnit (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-HUnit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-HUnit"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-HUnit/ghc-HUnit.changes      2016-07-21 
08:10:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-HUnit.new/ghc-HUnit.changes 2016-10-19 
13:02:33.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Sep 15 06:50:23 UTC 2016 - psim...@suse.com
+
+- Update to version 1.3.1.2 revision 0 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  HUnit-1.3.1.1.tar.gz

New:
----
  HUnit-1.3.1.2.tar.gz

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

Other differences:
------------------
++++++ ghc-HUnit.spec ++++++
--- /var/tmp/diff_new_pack.1NGlwl/_old  2016-10-19 13:02:34.000000000 +0200
+++ /var/tmp/diff_new_pack.1NGlwl/_new  2016-10-19 13:02:34.000000000 +0200
@@ -19,22 +19,20 @@
 %global pkg_name HUnit
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.3.1.1
+Version:        1.3.1.2
 Release:        0
 Summary:        A unit testing framework for Haskell
 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-deepseq-devel
 BuildRequires:  ghc-rpm-macros
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-filepath-devel
 %endif
-# End cabal-rpm deps
 
 %description
 HUnit is a unit testing framework for Haskell, inspired by the JUnit tool for
@@ -54,20 +52,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

++++++ HUnit-1.3.1.1.tar.gz -> HUnit-1.3.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HUnit-1.3.1.1/CHANGELOG.md 
new/HUnit-1.3.1.2/CHANGELOG.md
--- old/HUnit-1.3.1.1/CHANGELOG.md      2016-01-19 17:16:50.000000000 +0100
+++ new/HUnit-1.3.1.2/CHANGELOG.md      2016-08-29 17:17:54.000000000 +0200
@@ -1,5 +1,9 @@
 ## Changes
 
+#### 1.3.1.2
+
+- Fixes the test suite on GHC 8
+
 #### 1.3.1.1
 
 - Various updates to metadata and documentation removing outdated information 
and making other things more visible
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HUnit-1.3.1.1/HUnit.cabal 
new/HUnit-1.3.1.2/HUnit.cabal
--- old/HUnit-1.3.1.1/HUnit.cabal       2016-01-19 17:16:50.000000000 +0100
+++ new/HUnit-1.3.1.2/HUnit.cabal       2016-08-29 17:17:40.000000000 +0200
@@ -1,5 +1,5 @@
 Name:                   HUnit
-Version:                1.3.1.1
+Version:                1.3.1.2
 Cabal-Version:          >= 1.8
 License:                BSD3
 License-File:           LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/HUnit-1.3.1.1/tests/HUnitTestExtended.hs 
new/HUnit-1.3.1.2/tests/HUnitTestExtended.hs
--- old/HUnit-1.3.1.1/tests/HUnitTestExtended.hs        2016-01-19 
17:16:50.000000000 +0100
+++ new/HUnit-1.3.1.2/tests/HUnitTestExtended.hs        2016-08-29 
17:17:03.000000000 +0200
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP #-}
 module HUnitTestExtended (
     extendedTests
     ) where
@@ -5,6 +6,11 @@
 import Test.HUnit
 import HUnitTestBase
 
+#if MIN_VERSION_base(4,9,0)
+errorCall :: a
+errorCall = error "error"
+#endif
+
 extendedTests :: Test
 extendedTests = test [
 
@@ -16,8 +22,13 @@
     "list ref out of bounds" ~:
         expectUnspecifiedError (TestCase ([1 .. 4 :: Integer] !! 10 `seq` 
return ())),
 
+#if MIN_VERSION_base(4,9,0)
     "error" ~:
+        expectError "error\nCallStack (from HasCallStack):\n  error, called at 
tests/HUnitTestExtended.hs:11:13 in main:HUnitTestExtended" (TestCase 
errorCall),
+#else
+     "error" ~:
         expectError "error" (TestCase (error "error")),
+#endif
 
     "tail []" ~:
         expectUnspecifiedError (TestCase (tail [] `seq` return ()))


Reply via email to