Hello community,

here is the log from the commit of package ghc-graphviz for openSUSE:Factory 
checked in at 2016-09-05 21:19:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-graphviz (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-graphviz.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-graphviz"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-graphviz/ghc-graphviz.changes        
2016-07-21 08:12:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-graphviz.new/ghc-graphviz.changes   
2016-09-05 21:19:22.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jul 22 06:11:07 UTC 2016 - [email protected]
+
+- Update to version 2999.18.1.2 revision 0 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  graphviz-2999.18.1.0.tar.gz

New:
----
  graphviz-2999.18.1.2.tar.gz

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

Other differences:
------------------
++++++ ghc-graphviz.spec ++++++
--- /var/tmp/diff_new_pack.qwb7L6/_old  2016-09-05 21:19:23.000000000 +0200
+++ /var/tmp/diff_new_pack.qwb7L6/_new  2016-09-05 21:19:23.000000000 +0200
@@ -19,7 +19,7 @@
 %global pkg_name graphviz
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        2999.18.1.0
+Version:        2999.18.1.2
 Release:        0
 Summary:        Bindings to Graphviz for graph visualisation
 License:        BSD-3-Clause
@@ -27,7 +27,6 @@
 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-bytestring-devel
 BuildRequires:  ghc-colour-devel
 BuildRequires:  ghc-containers-devel
@@ -47,7 +46,6 @@
 BuildRequires:  ghc-QuickCheck-devel
 BuildRequires:  ghc-fgl-arbitrary-devel
 %endif
-# End cabal-rpm deps
 
 %description
 This library provides bindings for the Dot language used by the Graphviz
@@ -99,9 +97,7 @@
 
 
 %check
-%if %{with tests}
-%{cabal} test
-%endif
+%cabal_test
 
 
 %post devel

++++++ graphviz-2999.18.1.0.tar.gz -> graphviz-2999.18.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/graphviz-2999.18.1.0/Changelog.md 
new/graphviz-2999.18.1.2/Changelog.md
--- old/graphviz-2999.18.1.0/Changelog.md       2016-05-15 07:34:55.000000000 
+0200
+++ new/graphviz-2999.18.1.2/Changelog.md       2016-07-19 05:58:26.000000000 
+0200
@@ -7,6 +7,18 @@
 The following is information about what major changes have gone into
 each release.
 
+Changes in 2999.18.1.1
+----------------------
+
+* Allow dlist-0.8, thanks to **Sean Leather**.
+
+* Properly allow QuickCheck-2.9.
+
+Changes in 2999.18.1.1
+----------------------
+
+* Bump allowed version of QuickCheck for the test suite.
+
 Changes in 2999.18.1.0
 ----------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/graphviz-2999.18.1.0/graphviz.cabal 
new/graphviz-2999.18.1.2/graphviz.cabal
--- old/graphviz-2999.18.1.0/graphviz.cabal     2016-05-15 07:34:55.000000000 
+0200
+++ new/graphviz-2999.18.1.2/graphviz.cabal     2016-07-19 05:58:26.000000000 
+0200
@@ -1,5 +1,5 @@
 Name:               graphviz
-Version:            2999.18.1.0
+Version:            2999.18.1.2
 Stability:          Beta
 Synopsis:           Bindings to Graphviz for graph visualisation.
 Description: {
@@ -71,7 +71,7 @@
                            transformers >= 0.2 && < 0.6,
                            text,
                            wl-pprint-text >= 1.1.0.0 && < 1.2.0.0,
-                           dlist >= 0.5 && < 0.8
+                           dlist >= 0.5 && < 0.9
 
         Exposed-Modules:   Data.GraphViz
                            Data.GraphViz.Types
@@ -127,7 +127,7 @@
                            fgl-arbitrary == 0.2.*,
                            filepath,
                            text,
-                           QuickCheck >= 2.3 && < 2.9
+                           QuickCheck >= 2.3 && < 2.10
 
         hs-Source-Dirs:    tests
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/graphviz-2999.18.1.0/tests/Data/GraphViz/Testing/Instances/Attributes.hs 
new/graphviz-2999.18.1.2/tests/Data/GraphViz/Testing/Instances/Attributes.hs
--- 
old/graphviz-2999.18.1.0/tests/Data/GraphViz/Testing/Instances/Attributes.hs    
    2016-05-15 07:34:55.000000000 +0200
+++ 
new/graphviz-2999.18.1.2/tests/Data/GraphViz/Testing/Instances/Attributes.hs    
    2016-07-19 05:58:26.000000000 +0200
@@ -1,6 +1,6 @@
 {-# OPTIONS_GHC -fno-warn-orphans #-}
 {-# OPTIONS_HADDOCK hide #-}
-{-# LANGUAGE OverloadedStrings #-}
+{-# LANGUAGE CPP, OverloadedStrings #-}
 
 {- |
    Module      : Data.GraphViz.Testing.Instances.Attributes
@@ -27,7 +27,7 @@
 import           Data.GraphViz.Attributes.Internal      (compassLookup)
 import           Data.GraphViz.Internal.State           (initialState,
                                                          layerListSep, 
layerSep)
-import           Data.GraphViz.Internal.Util            (bool, createVersion)
+import           Data.GraphViz.Internal.Util            (bool)
 
 import Test.QuickCheck
 
@@ -36,9 +36,13 @@
 import qualified Data.Map        as Map
 import           Data.Text.Lazy  (Text)
 import qualified Data.Text.Lazy  as T
-import           Data.Version    (Version (..))
 import           System.FilePath (searchPathSeparator)
 
+#if !MIN_VERSION_QuickCheck(2,9,0)
+import Data.GraphViz.Internal.Util (createVersion)
+import Data.Version                (Version (..))
+#endif
+
 -- 
-----------------------------------------------------------------------------
 -- Defining Arbitrary instances for Attributes
 
@@ -1015,10 +1019,12 @@
   shrink (NormalizedAngle a) = map NormalizedAngle $ shrink a
   shrink _                   = []
 
+#if !MIN_VERSION_QuickCheck(2,9,0)
 instance Arbitrary Version where
   arbitrary = liftM (createVersion . map getPositive) arbList
 
   shrink = map createVersion . nonEmptyShrinks . versionBranch
+#endif
 
 instance Arbitrary NodeSize where
   arbitrary = arbBounded


Reply via email to