Hello community,

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

Package is "ghc-sqlite-simple"

Thu Jul 27 11:12:11 2017 rev:3 rq:511519 version:0.4.14.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-sqlite-simple/ghc-sqlite-simple.changes      
2017-05-10 20:48:59.575755350 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-sqlite-simple.new/ghc-sqlite-simple.changes 
2017-07-27 11:12:14.137544185 +0200
@@ -1,0 +2,5 @@
+Tue Jul 11 03:02:32 UTC 2017 - [email protected]
+
+- Update to version 0.4.14.0.
+
+-------------------------------------------------------------------

Old:
----
  sqlite-simple-0.4.13.0.tar.gz

New:
----
  sqlite-simple-0.4.14.0.tar.gz

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

Other differences:
------------------
++++++ ghc-sqlite-simple.spec ++++++
--- /var/tmp/diff_new_pack.q5Nbfa/_old  2017-07-27 11:12:14.837445319 +0200
+++ /var/tmp/diff_new_pack.q5Nbfa/_new  2017-07-27 11:12:14.841444754 +0200
@@ -19,7 +19,7 @@
 %global pkg_name sqlite-simple
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.4.13.0
+Version:        0.4.14.0
 Release:        0
 Summary:        Mid-Level SQLite client library
 License:        BSD-3-Clause
@@ -27,6 +27,7 @@
 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
+BuildRequires:  ghc-Only-devel
 BuildRequires:  ghc-attoparsec-devel
 BuildRequires:  ghc-blaze-builder-devel
 BuildRequires:  ghc-blaze-textual-devel

++++++ sqlite-simple-0.4.13.0.tar.gz -> sqlite-simple-0.4.14.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/sqlite-simple-0.4.13.0/Database/SQLite/Simple/Types.hs 
new/sqlite-simple-0.4.14.0/Database/SQLite/Simple/Types.hs
--- old/sqlite-simple-0.4.13.0/Database/SQLite/Simple/Types.hs  2016-11-29 
09:35:51.000000000 +0100
+++ new/sqlite-simple-0.4.14.0/Database/SQLite/Simple/Types.hs  2017-07-03 
09:46:58.000000000 +0200
@@ -26,6 +26,7 @@
 import           Control.Arrow (first)
 import           Data.Monoid (Monoid(..))
 import           Data.String (IsString(..))
+import           Data.Tuple.Only (Only(..))
 import           Data.Typeable (Typeable)
 import qualified Data.Text as T
 
@@ -73,23 +74,6 @@
     mappend (Query a) (Query b) = Query (T.append a b)
     {-# INLINE mappend #-}
 
--- | A single-value \"collection\".
---
--- This is useful if you need to supply a single parameter to a SQL
--- query, or extract a single column from a SQL result.
---
--- Parameter example:
---
--- @query c \"select x from scores where x > ?\" ('Only' (42::Int))@
---
--- Result example:
---
--- @xs <- query_ c \"select id from users\"
---forM_ xs $ \\('Only' id) -> {- ... -}@
-newtype Only a = Only {
-      fromOnly :: a
-    } deriving (Eq, Ord, Read, Show, Typeable, Functor)
-
 -- | A composite type to parse your custom data structures without
 -- having to define dummy newtype wrappers every time.
 --
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sqlite-simple-0.4.13.0/changelog 
new/sqlite-simple-0.4.14.0/changelog
--- old/sqlite-simple-0.4.13.0/changelog        2017-02-22 09:25:51.000000000 
+0100
+++ new/sqlite-simple-0.4.14.0/changelog        2017-07-03 10:14:26.000000000 
+0200
@@ -1,3 +1,6 @@
+0.4.14.0
+       * Use @hvr's Only package for the Only single element typle type.
+
 0.4.13.0
        * Add columnCount (thanks @Shimuuar!)
        * Add withImmediateTransaction, withExclusiveTransaction (thanks 
@mbucc!)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sqlite-simple-0.4.13.0/sqlite-simple.cabal 
new/sqlite-simple-0.4.14.0/sqlite-simple.cabal
--- old/sqlite-simple-0.4.13.0/sqlite-simple.cabal      2017-02-22 
09:34:41.000000000 +0100
+++ new/sqlite-simple-0.4.14.0/sqlite-simple.cabal      2017-07-03 
10:13:37.000000000 +0200
@@ -1,5 +1,5 @@
 Name:                sqlite-simple
-Version:             0.4.13.0
+Version:             0.4.14.0
 Synopsis:            Mid-Level SQLite client library
 Description:
     Mid-level SQLite client library, based on postgresql-simple.
@@ -51,7 +51,8 @@
     direct-sqlite >= 2.3.13 && < 2.4,
     text >= 0.11,
     time,
-    transformers
+    transformers,
+    Only >= 0.1 && < 0.1.1
 
   default-extensions:
       DoAndIfThenElse
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/sqlite-simple-0.4.13.0/test/Simple.hs 
new/sqlite-simple-0.4.14.0/test/Simple.hs
--- old/sqlite-simple-0.4.13.0/test/Simple.hs   2016-11-29 09:40:19.000000000 
+0100
+++ new/sqlite-simple-0.4.14.0/test/Simple.hs   2017-07-03 09:35:00.000000000 
+0200
@@ -124,7 +124,6 @@
   assertEqual "UTCTime" time t
   rows <- query conn "SELECT * FROM timefract WHERE t = ?" (Only time) :: IO 
[Only UTCTime]
   assertEqual "should see one row result" 1 (length rows)
-  assertEqual "UTCTime" time t
 
 testSimpleInsertId :: TestEnv -> Test
 testSimpleInsertId TestEnv{..} = TestCase $ do


Reply via email to