Hello community,

here is the log from the commit of package ghc-rethinkdb for openSUSE:Factory 
checked in at 2017-02-08 12:07:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-rethinkdb (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-rethinkdb.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-rethinkdb"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-rethinkdb/ghc-rethinkdb.changes      
2017-02-03 17:39:50.826476586 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-rethinkdb.new/ghc-rethinkdb.changes 
2017-02-08 12:07:19.703102773 +0100
@@ -1,0 +2,5 @@
+Thu Jan 26 16:22:01 UTC 2017 - [email protected]
+
+- Update to version 2.2.0.8 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  rethinkdb-2.2.0.7.tar.gz
  rethinkdb.cabal

New:
----
  rethinkdb-2.2.0.8.tar.gz

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

Other differences:
------------------
++++++ ghc-rethinkdb.spec ++++++
--- /var/tmp/diff_new_pack.PTbpgR/_old  2017-02-08 12:07:20.167037346 +0100
+++ /var/tmp/diff_new_pack.PTbpgR/_new  2017-02-08 12:07:20.167037346 +0100
@@ -19,14 +19,13 @@
 %global pkg_name rethinkdb
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        2.2.0.7
+Version:        2.2.0.8
 Release:        0
 Summary:        A driver for RethinkDB 2.2
 License:        Apache-2.0
 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-aeson-devel
 BuildRequires:  ghc-base64-bytestring-devel
@@ -64,7 +63,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
@@ -87,5 +85,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
+%doc doctests.hs
 
 %changelog

++++++ rethinkdb-2.2.0.7.tar.gz -> rethinkdb-2.2.0.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rethinkdb-2.2.0.7/Database/RethinkDB/ReQL.hs 
new/rethinkdb-2.2.0.8/Database/RethinkDB/ReQL.hs
--- old/rethinkdb-2.2.0.7/Database/RethinkDB/ReQL.hs    2016-09-29 
21:14:27.000000000 +0200
+++ new/rethinkdb-2.2.0.8/Database/RethinkDB/ReQL.hs    2017-01-16 
16:46:16.000000000 +0100
@@ -1,8 +1,15 @@
 {-# LANGUAGE ExistentialQuantification, RecordWildCards,
              ScopedTypeVariables, FlexibleInstances,
-             OverloadedStrings, PatternGuards, GADTs, 
+             OverloadedStrings, PatternGuards, GADTs,
              EmptyDataDecls, DefaultSignatures, CPP #-}
 
+#if __GLASGOW_HASKELL__ < 710
+{-# LANGUAGE OverlappingInstances #-}
+#define PRAGMA_OVERLAPPING
+#else
+#define PRAGMA_OVERLAPPING {-# OVERLAPPING #-}
+#endif
+
 -- | Building RQL queries in Haskell
 module Database.RethinkDB.ReQL (
   ReQL(..),
@@ -133,7 +140,7 @@
       Datum _ -> return e
       Term t a oa -> Term t a . (oa ++) <$> baseAttributes attrs
       Note n t -> Note n <$> runReQL (ex (ReQL $ return t) attrs)
-      
+
 instance OptArgs b => OptArgs (a -> b) where
   ex f a = flip ex a . f
 
@@ -169,7 +176,7 @@
   else intercalate (sep ++ " ") args
   where
     tooLong = any ('\n' `elem`) args || 80 < (length $ concat args)
-    indent = (\x -> case x of [] -> []; _ -> init x) . unlines . map ("  "++) 
. lines 
+    indent = (\x -> case x of [] -> []; _ -> init x) . unlines . map ("  "++) 
. lines
 
 varName :: Int -> String
 varName n = replicate (q+1) (chr $ ord 'a' + r)
@@ -214,7 +221,7 @@
 infix 0 :=
 
 -- | A key/value pair used for building objects
-data Attribute a where 
+data Attribute a where
   (:=) :: Expr e => T.Text -> e -> Attribute a
   (::=) :: (Expr k, Expr v) => k -> v -> Attribute Dynamic
   NoAttribute :: Attribute a
@@ -293,7 +300,7 @@
 
 varsOf :: [Term] -> Maybe [Int]
 varsOf = sequence . map varOf
-    
+
 varOf :: Term -> Maybe Int
 varOf (Term VAR [Datum d] []) = toInt d
 varOf _ = Nothing
@@ -356,10 +363,10 @@
   expr (Left a) = expr ["Left" := a]
   expr (Right b) = expr ["Right" := b]
 
-instance Expr a => Expr (HM.HashMap [Char] a) where
+instance PRAGMA_OVERLAPPING Expr a => Expr (HM.HashMap [Char] a) where
   expr = expr . map (\(k,v) -> T.pack k := v) . HM.toList
 
-instance Expr a => Expr (HM.HashMap T.Text a) where
+instance PRAGMA_OVERLAPPING Expr a => Expr (HM.HashMap T.Text a) where
   expr = expr . map (uncurry (:=)) . HM.toList
 
 instance Expr a => Expr (Map.Map [Char] a) where
@@ -453,7 +460,7 @@
 instance Expr ArgList where
   expr a = op MAKE_ARRAY a
 
-instance (Expr k, Expr v) => Expr (M.HashMap k v) where
+instance PRAGMA_OVERLAPPING (Expr k, Expr v) => Expr (M.HashMap k v) where
   expr m = expr $ map (uncurry (::=)) $ M.toList m
 
 
@@ -578,7 +585,7 @@
   (-) = boundOp (-)
   (*) = boundOp (*)
   negate MinVal = MaxVal
-  negate MaxVal = MaxVal 
+  negate MaxVal = MaxVal
   negate a = fmap negate a
   abs MinVal = MaxVal
   abs a = fmap abs a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rethinkdb-2.2.0.7/rethinkdb.cabal 
new/rethinkdb-2.2.0.8/rethinkdb.cabal
--- old/rethinkdb-2.2.0.7/rethinkdb.cabal       2016-09-29 21:14:27.000000000 
+0200
+++ new/rethinkdb-2.2.0.8/rethinkdb.cabal       2017-01-16 17:27:44.000000000 
+0100
@@ -1,5 +1,5 @@
 name: rethinkdb
-version: 2.2.0.7
+version: 2.2.0.8
 cabal-version: >=1.8
 build-type: Simple
 license: Apache
@@ -31,7 +31,7 @@
         base >=4 && <4.10,
         unordered-containers ==0.2.*,
         text >=0.11 && <1.3,
-        aeson >=0.7 && <1.1,
+        aeson >=0.7 && <1.2,
         bytestring ==0.10.*,
         containers ==0.5.*,
         data-default >=0.5 && <0.8,


Reply via email to