Hello community,
here is the log from the commit of package ghc-persistent-sqlite for openSUSE:Factory checked in at 2017-03-20 17:07:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-persistent-sqlite (Old)
and /work/SRC/openSUSE:Factory/.ghc-persistent-sqlite.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-persistent-sqlite"
Mon Mar 20 17:07:45 2017 rev:5 rq:477462 version:2.6.0.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-persistent-sqlite/ghc-persistent-sqlite.changes 2016-10-23 12:50:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-persistent-sqlite.new/ghc-persistent-sqlite.changes 2017-03-20 17:07:48.164781326 +0100
@@ -1,0 +2,5 @@
+Mon Feb 27 10:12:17 UTC 2017 - psimons@suse.com
+
+- Update to version 2.6.0.1 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
persistent-sqlite-2.6.tar.gz
New:
----
persistent-sqlite-2.6.0.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-persistent-sqlite.spec ++++++
--- /var/tmp/diff_new_pack.RkJo7T/_old 2017-03-20 17:07:49.908535108 +0100
+++ /var/tmp/diff_new_pack.RkJo7T/_new 2017-03-20 17:07:49.912534543 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-persistent-sqlite
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%global pkg_name persistent-sqlite
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 2.6
+Version: 2.6.0.1
Release: 0
Summary: Backend for the persistent library using sqlite3
License: MIT
++++++ persistent-sqlite-2.6.tar.gz -> persistent-sqlite-2.6.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/persistent-sqlite-2.6/ChangeLog.md new/persistent-sqlite-2.6.0.1/ChangeLog.md
--- old/persistent-sqlite-2.6/ChangeLog.md 2016-08-10 05:27:21.000000000 +0200
+++ new/persistent-sqlite-2.6.0.1/ChangeLog.md 2017-02-21 15:54:19.000000000 +0100
@@ -1,3 +1,7 @@
+## 2.6.0.1
+
+* Ensure connection is closed if wrapConnectionWal fails
+
## 2.6
Compatibility for backend-specific upsert functionality.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/persistent-sqlite-2.6/Database/Persist/Sqlite.hs new/persistent-sqlite-2.6.0.1/Database/Persist/Sqlite.hs
--- old/persistent-sqlite-2.6/Database/Persist/Sqlite.hs 2016-08-10 05:20:24.000000000 +0200
+++ new/persistent-sqlite-2.6.0.1/Database/Persist/Sqlite.hs 2017-02-21 15:54:19.000000000 +0100
@@ -81,7 +81,7 @@
| otherwise -> (connStr, True)
conn <- Sqlite.open connStr'
- wrapConnectionWal enableWal conn logFunc
+ wrapConnectionWal enableWal conn logFunc `E.onException` Sqlite.close conn
-- | Wrap up a raw 'Sqlite.Connection' as a Persistent SQL 'Connection'.
--
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/persistent-sqlite-2.6/persistent-sqlite.cabal new/persistent-sqlite-2.6.0.1/persistent-sqlite.cabal
--- old/persistent-sqlite-2.6/persistent-sqlite.cabal 2016-08-14 00:03:34.000000000 +0200
+++ new/persistent-sqlite-2.6.0.1/persistent-sqlite.cabal 2017-02-21 15:54:19.000000000 +0100
@@ -1,5 +1,5 @@
name: persistent-sqlite
-version: 2.6
+version: 2.6.0.1
license: MIT
license-file: LICENSE
author: Michael Snoyman