Hello community,

here is the log from the commit of package ghc-th-lift-instances for 
openSUSE:Leap:15.2 checked in at 2020-02-19 18:41:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/ghc-th-lift-instances (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.ghc-th-lift-instances.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-th-lift-instances"

Wed Feb 19 18:41:41 2020 rev:14 rq:771491 version:0.1.14

Changes:
--------
--- 
/work/SRC/openSUSE:Leap:15.2/ghc-th-lift-instances/ghc-th-lift-instances.changes
    2020-01-15 15:02:41.441818413 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.ghc-th-lift-instances.new.26092/ghc-th-lift-instances.changes
 2020-02-19 18:41:42.354226774 +0100
@@ -1,0 +2,17 @@
+Fri Nov  8 16:14:58 UTC 2019 - Peter Simons <[email protected]>
+
+- Drop obsolete group attributes.
+
+-------------------------------------------------------------------
+Wed Aug 14 02:02:39 UTC 2019 - [email protected]
+
+- Update th-lift-instances to version 0.1.14.
+  Upstream does not provide a change log file.
+
+-------------------------------------------------------------------
+Wed May  1 02:03:16 UTC 2019 - [email protected]
+
+- Update th-lift-instances to version 0.1.13.
+  Upstream does not provide a change log file.
+
+-------------------------------------------------------------------

Old:
----
  th-lift-instances-0.1.12.tar.gz

New:
----
  th-lift-instances-0.1.14.tar.gz

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

Other differences:
------------------
++++++ ghc-th-lift-instances.spec ++++++
--- /var/tmp/diff_new_pack.MCT35m/_old  2020-02-19 18:41:42.706227205 +0100
+++ /var/tmp/diff_new_pack.MCT35m/_new  2020-02-19 18:41:42.706227205 +0100
@@ -19,11 +19,10 @@
 %global pkg_name th-lift-instances
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.1.12
+Version:        0.1.14
 Release:        0
 Summary:        Lift instances for template-haskell for common data types
 License:        BSD-3-Clause
-Group:          Development/Libraries/Haskell
 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
@@ -32,6 +31,8 @@
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-template-haskell-devel
 BuildRequires:  ghc-text-devel
+BuildRequires:  ghc-th-lift-devel
+BuildRequires:  ghc-transformers-devel
 BuildRequires:  ghc-vector-devel
 %if %{with tests}
 BuildRequires:  ghc-QuickCheck-devel
@@ -40,10 +41,17 @@
 %description
 Most data types in haskell platform do not have Lift instances. This package
 provides orphan instances for containers, text, bytestring and vector.
+It also acts as a compat instances, definining instances not existing in
+'template-haskell'
+
+Note that <https://hackage.haskell.org/package/th-lift th-lift> package
+provides Template Haskell based derivation of 'Lift' instances (when you cannot
+use 'DeriveLift' extension), and
+<https://hackage.haskell.org/package/th-orphans th-orphans> package provides
+instances for TH datatypes.
 
 %package devel
 Summary:        Haskell %{pkg_name} library development files
-Group:          Development/Libraries/Haskell
 Requires:       %{name} = %{version}-%{release}
 Requires:       ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}

++++++ th-lift-instances-0.1.12.tar.gz -> th-lift-instances-0.1.14.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-lift-instances-0.1.12/.travis.yml 
new/th-lift-instances-0.1.14/.travis.yml
--- old/th-lift-instances-0.1.12/.travis.yml    2019-02-04 18:31:08.000000000 
+0100
+++ new/th-lift-instances-0.1.14/.travis.yml    2019-08-13 22:13:37.000000000 
+0200
@@ -13,9 +13,6 @@
 script: travis/script.sh
 matrix:
   include:
-    - env: GHCVER=7.0.4 CABALVER=1.18
-      compiler: ghc-7.0.4
-      addons: {apt: {packages: [cabal-install-1.18, ghc-7.0.4, alex-3.1.4, 
happy-1.19.5], sources: [hvr-ghc]}}
     - env: GHCVER=7.2.2 CABALVER=1.18
       compiler: ghc-7.2.2
       addons: {apt: {packages: [cabal-install-1.18, ghc-7.2.2, alex-3.1.4, 
happy-1.19.5], sources: [hvr-ghc]}}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-lift-instances-0.1.12/src/Instances/TH/Lift.hs 
new/th-lift-instances-0.1.14/src/Instances/TH/Lift.hs
--- old/th-lift-instances-0.1.12/src/Instances/TH/Lift.hs       2019-02-04 
18:31:08.000000000 +0100
+++ new/th-lift-instances-0.1.14/src/Instances/TH/Lift.hs       2019-08-13 
22:13:37.000000000 +0200
@@ -85,9 +85,11 @@
 import qualified Data.Set as Set
 import qualified Data.Tree as Tree
 
+#if !MIN_VERSION_text(1,2,4)
 -- Text
 import qualified Data.Text as Text
 import qualified Data.Text.Lazy as Text.Lazy
+#endif
 
 -- ByteString
 import qualified Data.ByteString as ByteString
@@ -104,6 +106,9 @@
 import qualified Data.Vector.Storable as Vector.Storable
 import qualified Data.Vector.Unboxed as Vector.Unboxed
 
+-- transformers (or base)
+import Control.Applicative (Const (..))
+import Data.Functor.Identity (Identity (..))
 
 
--------------------------------------------------------------------------------
 
@@ -196,6 +201,7 @@
 instance Lift a => Lift (Tree.Tree a) where
   lift (Tree.Node x xs) = [| Tree.Node x xs |]
 
+#if !MIN_VERSION_text(1,2,4)
 
--------------------------------------------------------------------------------
 -- Text
 instance Lift Text.Text where
@@ -205,6 +211,7 @@
 instance Lift Text.Lazy.Text where
   lift t = [| Text.Lazy.pack t' |] where
     t' = Text.Lazy.unpack t
+#endif
 
 
--------------------------------------------------------------------------------
 -- ByteString
@@ -245,3 +252,11 @@
 instance Lift a => Lift (Vector.Boxed.Vector a) where
   lift v = [| Vector.Boxed.fromList v' |] where
     v' = Vector.Boxed.toList v
+
+--------------------------------------------------------------------------------
+-- Transformers
+instance Lift a => Lift (Identity a) where
+  lift (Identity a) = [| Identity a |]
+
+instance Lift a => Lift (Const a b) where
+  lift (Const a) = [| Const a |]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-lift-instances-0.1.12/th-lift-instances.cabal 
new/th-lift-instances-0.1.14/th-lift-instances.cabal
--- old/th-lift-instances-0.1.12/th-lift-instances.cabal        2019-02-04 
18:31:08.000000000 +0100
+++ new/th-lift-instances-0.1.14/th-lift-instances.cabal        2019-08-13 
22:13:37.000000000 +0200
@@ -1,5 +1,5 @@
 name: th-lift-instances
-version: 0.1.12
+version: 0.1.14
 cabal-version: >=1.10
 build-type: Simple
 license: BSD3
@@ -11,8 +11,14 @@
 bug-reports: http://github.com/bennofs/th-lift-instances/issues
 synopsis: Lift instances for template-haskell for common data types.
 description:
-    Most data types in haskell platform do not have Lift instances. This 
package provides orphan instances
-    for containers, text, bytestring and vector.
+    Most data types in haskell platform do not have Lift instances.
+    This package provides orphan instances for containers, text, bytestring 
and vector.
+    It also acts as a compat instances, definining instances not existing
+    in @template-haskell@
+    .
+    Note that <https://hackage.haskell.org/package/th-lift th-lift> package 
provides
+    Template Haskell based derivation of @Lift@ instances (when you cannot use 
@DeriveLift@ extension),
+    and <https://hackage.haskell.org/package/th-orphans th-orphans> package 
provides instances for TH datatypes.
 category: Template Haskell
 author: Benno Fünfstück
 extra-source-files:
@@ -34,7 +40,15 @@
         containers,
         vector >= 0.4,
         text,
+        transformers,
         bytestring
+
+    -- the dependency is added to avoid diamond orphans problem.
+    -- Without a dependency there could be a plan with th-lift-0.7.x and
+    -- th-lift-instances, which both define instances for same data types.
+    build-depends:
+      th-lift >= 0.8
+
     default-language: Haskell2010
     hs-source-dirs: src
     ghc-options: -Wall -fwarn-tabs


Reply via email to