Hello community,
here is the log from the commit of package ghc-yesod-persistent for openSUSE:Factory checked in at 2017-01-27 11:13:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-yesod-persistent (Old)
and /work/SRC/openSUSE:Factory/.ghc-yesod-persistent.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-yesod-persistent"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-yesod-persistent/ghc-yesod-persistent.changes 2017-01-12 15:54:20.576151535 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-yesod-persistent.new/ghc-yesod-persistent.changes 2017-02-03 17:40:41.903247143 +0100
@@ -1,0 +2,5 @@
+Sun Jan 8 21:14:07 UTC 2017 - psimons@suse.com
+
+- Update to version 1.4.1.1 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
yesod-persistent-1.4.1.0.tar.gz
New:
----
yesod-persistent-1.4.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-yesod-persistent.spec ++++++
--- /var/tmp/diff_new_pack.Qrjosn/_old 2017-02-03 17:40:42.251197894 +0100
+++ /var/tmp/diff_new_pack.Qrjosn/_new 2017-02-03 17:40:42.251197894 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-yesod-persistent
#
-# 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 yesod-persistent
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.4.1.0
+Version: 1.4.1.1
Release: 0
Summary: Some helpers for using Persistent from Yesod
License: MIT
++++++ yesod-persistent-1.4.1.0.tar.gz -> yesod-persistent-1.4.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yesod-persistent-1.4.1.0/ChangeLog.md new/yesod-persistent-1.4.1.1/ChangeLog.md
--- old/yesod-persistent-1.4.1.0/ChangeLog.md 2016-12-12 18:50:16.000000000 +0100
+++ new/yesod-persistent-1.4.1.1/ChangeLog.md 2016-12-20 14:28:59.000000000 +0100
@@ -1,3 +1,7 @@
+## 1.4.1.1
+
+* Fix build failure with older persistent versions [#1324](https://github.com/yesodweb/yesod/issues/1324)
+
## 1.4.1.0
* add `insert400` and `insert400_`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yesod-persistent-1.4.1.0/Yesod/Persist/Core.hs new/yesod-persistent-1.4.1.1/Yesod/Persist/Core.hs
--- old/yesod-persistent-1.4.1.0/Yesod/Persist/Core.hs 2016-12-12 18:50:16.000000000 +0100
+++ new/yesod-persistent-1.4.1.1/Yesod/Persist/Core.hs 2016-12-20 14:28:59.000000000 +0100
@@ -175,7 +175,7 @@
=> val
-> ReaderT backend m (Key val)
#else
-insert400 :: (MonadIO m, PersistUniqueWrite (PersistEntityBackend val), PersistEntity val)
+insert400 :: (MonadIO m, PersistUnique (PersistEntityBackend val), PersistEntity val)
=> val
-> ReaderT (PersistEntityBackend val) m (Key val)
#endif
@@ -194,7 +194,7 @@
=> val
-> ReaderT backend m ()
#else
-insert400_ :: (MonadIO m, PersistUniqueWrite (PersistEntityBackend val), PersistEntity val)
+insert400_ :: (MonadIO m, PersistUnique (PersistEntityBackend val), PersistEntity val)
=> val
-> ReaderT (PersistEntityBackend val) m ()
#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yesod-persistent-1.4.1.0/yesod-persistent.cabal new/yesod-persistent-1.4.1.1/yesod-persistent.cabal
--- old/yesod-persistent-1.4.1.0/yesod-persistent.cabal 2016-12-12 18:50:16.000000000 +0100
+++ new/yesod-persistent-1.4.1.1/yesod-persistent.cabal 2016-12-20 14:28:59.000000000 +0100
@@ -1,5 +1,5 @@
name: yesod-persistent
-version: 1.4.1.0
+version: 1.4.1.1
license: MIT
license-file: LICENSE
author: Michael Snoyman