commit ghc-th-lift for openSUSE:Factory

2020-10-23 Thread root
Hello community,

here is the log from the commit of package ghc-th-lift for openSUSE:Factory 
checked in at 2020-10-23 15:15:04

Comparing /work/SRC/openSUSE:Factory/ghc-th-lift (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-lift.new.3463 (New)


Package is "ghc-th-lift"

Fri Oct 23 15:15:04 2020 rev:13 rq:842769 version:0.8.2

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-lift/ghc-th-lift.changes  2020-08-28 
21:39:27.104839597 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-lift.new.3463/ghc-th-lift.changes
2020-10-23 15:15:07.934156958 +0200
@@ -1,0 +2,9 @@
+Wed Sep 30 08:36:13 UTC 2020 - psim...@suse.com
+
+- Update th-lift to version 0.8.2.
+  ## [0.8.2] - 2020-09-29
+
+  * Allow building with `template-haskell-2.17.0.0` (GHC 9.0).
+  * Make `deriveLift` work for unlifted newtypes.
+
+---

Old:

  th-lift-0.8.1.tar.gz

New:

  th-lift-0.8.2.tar.gz



Other differences:
--
++ ghc-th-lift.spec ++
--- /var/tmp/diff_new_pack.VIp1js/_old  2020-10-23 15:15:09.310157622 +0200
+++ /var/tmp/diff_new_pack.VIp1js/_new  2020-10-23 15:15:09.314157624 +0200
@@ -19,7 +19,7 @@
 %global pkg_name th-lift
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.8.1
+Version:0.8.2
 Release:0
 Summary:Derive Template Haskell's Lift class for datatypes
 License:(BSD-3-Clause OR GPL-2.0-only)

++ th-lift-0.8.1.tar.gz -> th-lift-0.8.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-lift-0.8.1/CHANGELOG.md 
new/th-lift-0.8.2/CHANGELOG.md
--- old/th-lift-0.8.1/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
+++ new/th-lift-0.8.2/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
@@ -2,6 +2,11 @@
 
 All notable changes to this project will be documented in this file.
 
+## [0.8.2] - 2020-09-29
+
+* Allow building with `template-haskell-2.17.0.0` (GHC 9.0).
+* Make `deriveLift` work for unlifted newtypes.
+
 ## [0.8.1] - 2019-12-06
 
 * Support GHC 8.10/`template-haskell-2.16`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/th-lift-0.8.1/src/Language/Haskell/TH/Lift/Internal.hs 
new/th-lift-0.8.2/src/Language/Haskell/TH/Lift/Internal.hs
--- old/th-lift-0.8.1/src/Language/Haskell/TH/Lift/Internal.hs  1970-01-01 
01:00:00.0 +0100
+++ new/th-lift-0.8.2/src/Language/Haskell/TH/Lift/Internal.hs  2001-09-09 
03:46:40.0 +0200
@@ -0,0 +1,44 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE ScopedTypeVariables #-}
+
+#if __GLASGOW_HASKELL__ >= 706
+{-# LANGUAGE PolyKinds #-}
+#endif
+
+-- | Helper functions used in code that "Language.Haskell.TH.Lift" generates.
+--
+-- Note: this is an internal module, and as such, the API presented here is not
+-- guaranteed to be stable, even between minor releases of this library.
+module Language.Haskell.TH.Lift.Internal where
+
+#if MIN_VERSION_template_haskell(2,16,0)
+import GHC.Exts (RuntimeRep, TYPE)
+#endif
+
+import Language.Haskell.TH.Syntax
+
+-- | A type-restricted version of 'error' that ensures 'makeLift' always
+-- returns a value of type @q 'Exp'@ (where @q@ is an instance of 'Quote'),
+-- even when used on an empty datatype.
+#if MIN_VERSION_template_haskell(2,17,0)
+errorQuoteExp :: Quote q => String -> q Exp
+#else
+errorQuoteExp ::String -> Q Exp
+#endif
+errorQuoteExp = error
+
+-- | This is a cargo-culted version of @unsafeSpliceCoerce@ from the
+-- @th-compat@ library, which has been copied here to avoid incurring a library
+-- dependency.
+--
+-- Only available when built with @template-haskell-2.9.0.0@ or later.
+#if MIN_VERSION_template_haskell(2,17,0)
+unsafeSpliceCoerce :: forall (r :: RuntimeRep) (a :: TYPE r) m. Quote m => m 
Exp -> Code m a
+unsafeSpliceCoerce = unsafeCodeCoerce
+#elif MIN_VERSION_template_haskell(2,16,0)
+unsafeSpliceCoerce :: forall (r :: RuntimeRep) (a :: TYPE r). Q Exp -> Q (TExp 
a)
+unsafeSpliceCoerce = unsafeTExpCoerce
+#elif MIN_VERSION_template_haskell(2,9,0)
+unsafeSpliceCoerce :: forall a. Q Exp -> Q (TExp a)
+unsafeSpliceCoerce = unsafeTExpCoerce
+#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-lift-0.8.1/src/Language/Haskell/TH/Lift.hs 
new/th-lift-0.8.2/src/Language/Haskell/TH/Lift.hs
--- old/th-lift-0.8.1/src/Language/Haskell/TH/Lift.hs   2001-09-09 
03:46:40.0 +0200
+++ new/th-lift-0.8.2/src/Language/Haskell/TH/Lift.hs   2001-09-09 
03:46:40.0 +0200
@@ -34,6 +34,7 @@
 import Language.Haskell.TH
 import Language.Haskell.TH.Datatype
 import qualified Language.Haskell.TH.Lib as Lib (starK)
+import Language.Haskell.TH.Lift.Internal
 import Language.Haskell.TH.Syn

commit ghc-th-lift for openSUSE:Factory

2020-08-28 Thread root
Hello community,

here is the log from the commit of package ghc-th-lift for openSUSE:Factory 
checked in at 2020-08-28 21:39:25

Comparing /work/SRC/openSUSE:Factory/ghc-th-lift (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-lift.new.3399 (New)


Package is "ghc-th-lift"

Fri Aug 28 21:39:25 2020 rev:12 rq:829448 version:0.8.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-lift/ghc-th-lift.changes  2020-06-19 
17:19:44.487267993 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-lift.new.3399/ghc-th-lift.changes
2020-08-28 21:39:27.104839597 +0200
@@ -1,0 +2,5 @@
+Tue Aug 18 10:46:16 UTC 2020 - Peter Simons 
+
+- Replace %setup -q with the more modern %autosetup macro.
+
+---



Other differences:
--
++ ghc-th-lift.spec ++
--- /var/tmp/diff_new_pack.GnE1Kd/_old  2020-08-28 21:39:28.128840083 +0200
+++ /var/tmp/diff_new_pack.GnE1Kd/_new  2020-08-28 21:39:28.132840084 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-th-lift
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -59,7 +59,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build




commit ghc-th-lift for openSUSE:Factory

2020-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-th-lift for openSUSE:Factory 
checked in at 2020-06-19 17:19:44

Comparing /work/SRC/openSUSE:Factory/ghc-th-lift (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-lift.new.3606 (New)


Package is "ghc-th-lift"

Fri Jun 19 17:19:44 2020 rev:11 rq:815192 version:0.8.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-lift/ghc-th-lift.changes  2019-12-27 
13:58:20.980802718 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-th-lift.new.3606/ghc-th-lift.changes
2020-06-19 17:19:44.487267993 +0200
@@ -1,0 +2,5 @@
+Tue Jun 16 11:14:42 UTC 2020 - Peter Simons 
+
+- Re-generate file with latest version of spec-cleaner.
+
+---



Other differences:
--
++ ghc-th-lift.spec ++
--- /var/tmp/diff_new_pack.VN5yRF/_old  2020-06-19 17:19:44.987269307 +0200
+++ /var/tmp/diff_new_pack.VN5yRF/_new  2020-06-19 17:19:44.991269318 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-th-lift
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed




commit ghc-th-lift for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-th-lift for openSUSE:Factory 
checked in at 2019-12-27 13:58:19

Comparing /work/SRC/openSUSE:Factory/ghc-th-lift (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-lift.new.6675 (New)


Package is "ghc-th-lift"

Fri Dec 27 13:58:19 2019 rev:10 rq:759532 version:0.8.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-lift/ghc-th-lift.changes  2019-05-17 
23:43:17.077908815 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-lift.new.6675/ghc-th-lift.changes
2019-12-27 13:58:20.980802718 +0100
@@ -1,0 +2,14 @@
+Sun Dec  8 03:03:28 UTC 2019 - psim...@suse.com
+
+- Update th-lift to version 0.8.1.
+  Upstream has edited the change log file since the last release in
+  a non-trivial way, i.e. they did more than just add a new entry
+  at the top. You can review the file at:
+  http://hackage.haskell.org/package/th-lift-0.8.1/src/CHANGELOG.md
+
+---
+Fri Nov  8 16:14:58 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---

Old:

  th-lift-0.8.0.1.tar.gz

New:

  th-lift-0.8.1.tar.gz



Other differences:
--
++ ghc-th-lift.spec ++
--- /var/tmp/diff_new_pack.UnY9bl/_old  2019-12-27 13:58:21.504802971 +0100
+++ /var/tmp/diff_new_pack.UnY9bl/_new  2019-12-27 13:58:21.508802973 +0100
@@ -19,11 +19,10 @@
 %global pkg_name th-lift
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.8.0.1
+Version:0.8.1
 Release:0
 Summary:Derive Template Haskell's Lift class for datatypes
 License:(BSD-3-Clause OR GPL-2.0-only)
-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,18 +31,25 @@
 BuildRequires:  ghc-th-abstraction-devel
 
 %description
-Derive Template Haskell's Lift class for datatypes using 'TemplateHaskell'
+Derive Template Haskell's 'Lift' class for datatypes using 'TemplateHaskell'.
+The functionality in this package has largely been subsumed by the 'DeriveLift'
+language extension, which is available in GHC 8.0 and later versions.
+This package can still be useful as a uniform way to derive 'Lift' instances
+that is backwards-compatible with older GHCs.
 
-*  package provides
-instances for 'template-haskell' syntax types
+The following libraries are related:
 
-* 
-package provides 'Lift' (compat) instances for types in 'base', 'text',
-'bytestring', 'vector' etc.
+* The  package
+provides instances for 'template-haskell' syntax types.
+
+* The 
+package provides 'Lift' instances for types in 'base', 'text', 'bytestring',
+'vector', etc. Some of these instances are only provided for old versions of
+their respective libraries, as the same 'Lift' instances are also present
+upstream on newer versions.
 
 %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-0.8.0.1.tar.gz -> th-lift-0.8.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-lift-0.8.0.1/CHANGELOG.md 
new/th-lift-0.8.1/CHANGELOG.md
--- old/th-lift-0.8.0.1/CHANGELOG.md2019-04-26 22:23:51.0 +0200
+++ new/th-lift-0.8.1/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
@@ -2,7 +2,19 @@
 
 All notable changes to this project will be documented in this file.
 
-## [0.8]
+## [0.8.1] - 2019-12-06
+
+* Support GHC 8.10/`template-haskell-2.16`.
+* Derive implementations of `liftTyped` (in addition to `lift`) when using
+  `template-haskell-2.16` or later.
+* Fix a bug in which derived `Lift` instances for data types containing
+  `Addr#` would fail to typecheck.
+
+## [0.8.0.1] - 2019-05-09
+
+* Support GHC 8.8/`template-haskell-2.15`.
+
+## [0.8] - 2019-04-26
 
 * Remove `Lift ()`, `Ratio`, `Identity` and `Const ()` instances.
   These are now provided in [`th-lift-instances` 
package](http://hackage.haskell.org/package/th-lift-instances)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-lift-0.8.0.1/COPYING new/th-lift-0.8.1/COPYING
--- old/th-lift

commit ghc-th-lift for openSUSE:Factory

2019-05-17 Thread root
Hello community,

here is the log from the commit of package ghc-th-lift for openSUSE:Factory 
checked in at 2019-05-17 23:43:15

Comparing /work/SRC/openSUSE:Factory/ghc-th-lift (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-lift.new.5148 (New)


Package is "ghc-th-lift"

Fri May 17 23:43:15 2019 rev:9 rq:703479 version:0.8.0.1

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-lift/ghc-th-lift.changes  2019-05-09 
10:10:34.213227350 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-lift.new.5148/ghc-th-lift.changes
2019-05-17 23:43:17.077908815 +0200
@@ -1,0 +2,7 @@
+Fri May 10 13:28:40 UTC 2019 - psim...@suse.com
+
+- Update th-lift to version 0.8.0.1.
+  Upstream has not updated the file "CHANGELOG.md" since the last
+  release.
+
+---

Old:

  th-lift-0.8.tar.gz

New:

  th-lift-0.8.0.1.tar.gz



Other differences:
--
++ ghc-th-lift.spec ++
--- /var/tmp/diff_new_pack.4ik3wC/_old  2019-05-17 23:43:18.393908092 +0200
+++ /var/tmp/diff_new_pack.4ik3wC/_new  2019-05-17 23:43:18.397908089 +0200
@@ -19,7 +19,7 @@
 %global pkg_name th-lift
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.8
+Version:0.8.0.1
 Release:0
 Summary:Derive Template Haskell's Lift class for datatypes
 License:(BSD-3-Clause OR GPL-2.0-only)

++ th-lift-0.8.tar.gz -> th-lift-0.8.0.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-lift-0.8/th-lift.cabal 
new/th-lift-0.8.0.1/th-lift.cabal
--- old/th-lift-0.8/th-lift.cabal   2019-04-26 22:23:51.0 +0200
+++ new/th-lift-0.8.0.1/th-lift.cabal   2019-05-09 18:22:49.0 +0200
@@ -1,5 +1,5 @@
 Name:   th-lift
-Version:0.8
+Version:0.8.0.1
 Cabal-Version:  1.12
 License:BSD3
 License-Files:  COPYING, BSD3, GPL-2
@@ -35,7 +35,7 @@
   Build-Depends:base  >= 4.3  && < 5,
 ghc-prim,
 th-abstraction   >= 0.2.3 && < 0.4,
-template-haskell >= 2.4   && < 2.15
+template-haskell >= 2.4   && < 2.16
 
 Test-Suite test
   Default-Language: Haskell2010
@@ -48,3 +48,4 @@
 ghc-prim,
 th-lift,
 template-haskell
+




commit ghc-th-lift for openSUSE:Factory

2019-05-09 Thread root
Hello community,

here is the log from the commit of package ghc-th-lift for openSUSE:Factory 
checked in at 2019-05-09 10:10:29

Comparing /work/SRC/openSUSE:Factory/ghc-th-lift (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-lift.new.5148 (New)


Package is "ghc-th-lift"

Thu May  9 10:10:29 2019 rev:8 rq:700205 version:0.8

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-lift/ghc-th-lift.changes  2018-10-25 
09:06:06.506513292 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-lift.new.5148/ghc-th-lift.changes
2019-05-09 10:10:34.213227350 +0200
@@ -1,0 +2,8 @@
+Tue Apr 30 09:23:03 UTC 2019 - psim...@suse.com
+
+- Update th-lift to version 0.8.
+  Upstream has renamed and modified the change log file(s) in this
+  release. Unfortunately, the automatic updater cannot reliable
+  determine relevant entries for this release.
+
+---

Old:

  th-lift-0.7.11.tar.gz

New:

  th-lift-0.8.tar.gz



Other differences:
--
++ ghc-th-lift.spec ++
--- /var/tmp/diff_new_pack.R7udrA/_old  2019-05-09 10:10:35.853232046 +0200
+++ /var/tmp/diff_new_pack.R7udrA/_new  2019-05-09 10:10:35.853232046 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-th-lift
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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 th-lift
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.7.11
+Version:0.8
 Release:0
 Summary:Derive Template Haskell's Lift class for datatypes
 License:(BSD-3-Clause OR GPL-2.0-only)
@@ -32,7 +32,14 @@
 BuildRequires:  ghc-th-abstraction-devel
 
 %description
-Derive Template Haskell's Lift class for datatypes.
+Derive Template Haskell's Lift class for datatypes using 'TemplateHaskell'
+
+*  package provides
+instances for 'template-haskell' syntax types
+
+* 
+package provides 'Lift' (compat) instances for types in 'base', 'text',
+'bytestring', 'vector' etc.
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
@@ -69,6 +76,6 @@
 %license GPL-2
 
 %files devel -f %{name}-devel.files
-%doc Changelog
+%doc CHANGELOG.md
 
 %changelog

++ th-lift-0.7.11.tar.gz -> th-lift-0.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-lift-0.7.11/CHANGELOG.md 
new/th-lift-0.8/CHANGELOG.md
--- old/th-lift-0.7.11/CHANGELOG.md 1970-01-01 01:00:00.0 +0100
+++ new/th-lift-0.8/CHANGELOG.md2019-04-26 22:23:51.0 +0200
@@ -0,0 +1,82 @@
+# Change Log
+
+All notable changes to this project will be documented in this file.
+
+## [0.8]
+
+* Remove `Lift ()`, `Ratio`, `Identity` and `Const ()` instances.
+  These are now provided in [`th-lift-instances` 
package](http://hackage.haskell.org/package/th-lift-instances)
+- Use `TemplateHaskellQuotes` where available
+
+## [0.7.11] - 2018-08-27
+
+* Support for GHC 8.6.
+
+## [0.7.10] - 2018-02-01
+
+* Add support for data families
+
+## [0.7.9] - 2018-02-01
+
+* `Lift` instances for `Identity` and `Const`.
+
+## [0.7.8] - 2018-02-01
+
+* GHC 8.4 compatibility.
+
+## [0.7.7] - 2015-04-19
+
+* GHC 8.2 compatibility.
+
+## [0.7.6] - 2015-01-18
+
+* GHC 8.1 compatibility.
+
+## [0.7.5] - 2015-11-19
+
+* Added `makeLift`, for cases when it's necessary to write the
+  instance manually. (Thanks to Ryan Scott).
+* Support empty datatypes and unboxed types.
+
+## [0.7] - 2014-12-07
+
+* Support GHC 7.9 and hopefully 7.10, thanks to Richard Eisenberg.
+* On versions of GHC that support role inference, don't constrain
+  phantom type variables.
+* Get rid of some orphan instances when using GHC >= 7.9.
+
+## [0.6] - 2013-12-09
+
+* Support GHC 7.8, thanks to Michael Snoyberg.
+* Support existentially quantified type variables in datatype
+  declarations.
+* Handle exotic kinds properly.
+
+## [0.5.2] - 2010-09-19
+
+* Support older GHCs and Cabal, thanks to Ben Millwood.
+
+## [0.5] - 2010-08-05
+
+* Support for contexts in datatypes, thanks to Ben Millwood.
+* `deriveLiftWith` becomes `deriveLift'` and takes an `Info`
+  structure rather than a custom reification function.
+* Add `deriveLiftMany` to derive many `Lift` instances in one go.
+
+## [0.4] - 2010-08-02
+
+* Add support for newtypes and records syntax, thanks to a patch by
+  Ben Millwood.
+* Add support for infix constructors.
+* `deriveLift` returns a list of declarations.

commit ghc-th-lift for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ghc-th-lift for openSUSE:Factory 
checked in at 2018-10-25 09:06:01

Comparing /work/SRC/openSUSE:Factory/ghc-th-lift (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-lift.new (New)


Package is "ghc-th-lift"

Thu Oct 25 09:06:01 2018 rev:7 rq:643470 version:0.7.11

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-lift/ghc-th-lift.changes  2018-09-03 
10:34:56.808645292 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-lift.new/ghc-th-lift.changes 
2018-10-25 09:06:06.506513292 +0200
@@ -1,0 +2,5 @@
+Sat Oct 20 11:32:06 UTC 2018 - Peter Simons 
+
+- Use https URL to refer to bugs.opensuse.org.
+
+---



Other differences:
--
++ ghc-th-lift.spec ++
--- /var/tmp/diff_new_pack.kCIGmi/_old  2018-10-25 09:06:07.258512843 +0200
+++ /var/tmp/diff_new_pack.kCIGmi/_new  2018-10-25 09:06:07.258512843 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 




commit ghc-th-lift for openSUSE:Factory

2018-09-03 Thread root
Hello community,

here is the log from the commit of package ghc-th-lift for openSUSE:Factory 
checked in at 2018-09-03 10:34:55

Comparing /work/SRC/openSUSE:Factory/ghc-th-lift (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-lift.new (New)


Package is "ghc-th-lift"

Mon Sep  3 10:34:55 2018 rev:6 rq:632488 version:0.7.11

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-lift/ghc-th-lift.changes  2018-07-24 
17:23:02.467350283 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-lift.new/ghc-th-lift.changes 
2018-09-03 10:34:56.808645292 +0200
@@ -1,0 +2,7 @@
+Thu Aug 30 15:29:22 UTC 2018 - psim...@suse.com
+
+- Update th-lift to version 0.7.11.
+  Upstream has not updated the file "Changelog" since the last
+  release.
+
+---

Old:

  th-lift-0.7.10.tar.gz

New:

  th-lift-0.7.11.tar.gz



Other differences:
--
++ ghc-th-lift.spec ++
--- /var/tmp/diff_new_pack.obsYnj/_old  2018-09-03 10:34:57.188646272 +0200
+++ /var/tmp/diff_new_pack.obsYnj/_new  2018-09-03 10:34:57.188646272 +0200
@@ -19,7 +19,7 @@
 %global pkg_name th-lift
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.7.10
+Version:0.7.11
 Release:0
 Summary:Derive Template Haskell's Lift class for datatypes
 License:(BSD-3-Clause OR GPL-2.0-only)

++ th-lift-0.7.10.tar.gz -> th-lift-0.7.11.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-lift-0.7.10/th-lift.cabal 
new/th-lift-0.7.11/th-lift.cabal
--- old/th-lift-0.7.10/th-lift.cabal2018-05-14 22:13:07.0 +0200
+++ new/th-lift-0.7.11/th-lift.cabal2018-08-27 09:06:08.0 +0200
@@ -1,5 +1,5 @@
 Name:   th-lift
-Version:0.7.10
+Version:0.7.11
 Cabal-Version:  >= 1.8
 License:BSD3
 License-Files:  COPYING, BSD3, GPL-2
@@ -32,7 +32,7 @@
 Build-Depends: packedstring == 0.1.*,
template-haskell >= 2.2 && < 2.4
   else
-Build-Depends: template-haskell >= 2.4 && < 2.14
+Build-Depends: template-haskell >= 2.4 && < 2.15
 
 Test-Suite test
   Type: exitcode-stdio-1.0
@@ -47,4 +47,4 @@
 Build-Depends: packedstring == 0.1.*,
template-haskell >= 2.2 && < 2.4
   else
-Build-Depends: template-haskell >= 2.4 && < 2.14
+Build-Depends: template-haskell >= 2.4 && < 2.15




commit ghc-th-lift for openSUSE:Factory

2018-07-24 Thread root
Hello community,

here is the log from the commit of package ghc-th-lift for openSUSE:Factory 
checked in at 2018-07-24 17:22:58

Comparing /work/SRC/openSUSE:Factory/ghc-th-lift (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-lift.new (New)


Package is "ghc-th-lift"

Tue Jul 24 17:22:58 2018 rev:5 rq:623873 version:0.7.10

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-lift/ghc-th-lift.changes  2018-05-30 
12:27:34.125730428 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-lift.new/ghc-th-lift.changes 
2018-07-24 17:23:02.467350283 +0200
@@ -1,0 +2,13 @@
+Wed Jul 18 14:26:44 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
+Fri Jul 13 14:31:25 UTC 2018 - psim...@suse.com
+
+- Update th-lift to version 0.7.10.
+  Upstream has not updated the file "Changelog" since the last
+  release.
+
+---
@@ -21 +33,0 @@
-

Old:

  th-lift-0.7.8.tar.gz

New:

  th-lift-0.7.10.tar.gz



Other differences:
--
++ ghc-th-lift.spec ++
--- /var/tmp/diff_new_pack.8nK79n/_old  2018-07-24 17:23:02.983350942 +0200
+++ /var/tmp/diff_new_pack.8nK79n/_new  2018-07-24 17:23:02.983350942 +0200
@@ -19,7 +19,7 @@
 %global pkg_name th-lift
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.7.8
+Version:0.7.10
 Release:0
 Summary:Derive Template Haskell's Lift class for datatypes
 License:(BSD-3-Clause OR GPL-2.0-only)
@@ -29,6 +29,7 @@
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-template-haskell-devel
+BuildRequires:  ghc-th-abstraction-devel
 
 %description
 Derive Template Haskell's Lift class for datatypes.

++ th-lift-0.7.8.tar.gz -> th-lift-0.7.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-lift-0.7.8/src/Language/Haskell/TH/Lift.hs 
new/th-lift-0.7.10/src/Language/Haskell/TH/Lift.hs
--- old/th-lift-0.7.8/src/Language/Haskell/TH/Lift.hs   2016-01-18 
18:29:12.0 +0100
+++ new/th-lift-0.7.10/src/Language/Haskell/TH/Lift.hs  2018-05-14 
22:12:56.0 +0200
@@ -28,37 +28,62 @@
 import GHC.Prim (Char#)
 #endif /* !(MIN_VERSION_template_haskell(2,11,0)) */
 
+import Control.Applicative
 #if MIN_VERSION_template_haskell(2,8,0)
 import Data.Char (ord)
 #endif /* !(MIN_VERSION_template_haskell(2,8,0)) */
+#if MIN_VERSION_base(4,8,0)
+import Data.Functor.Identity
+#endif
 #if !(MIN_VERSION_template_haskell(2,10,0))
 import Data.Ratio (Ratio)
 #endif /* !(MIN_VERSION_template_haskell(2,10,0)) */
 import Language.Haskell.TH
+import Language.Haskell.TH.Datatype
+import qualified Language.Haskell.TH.Lib as Lib (starK)
 import Language.Haskell.TH.Syntax
 import Control.Monad ((<=<), zipWithM)
 #if MIN_VERSION_template_haskell(2,9,0)
 import Data.Maybe (catMaybes)
 #endif /* MIN_VERSION_template_haskell(2,9,0) */
 
-modName :: String
-modName = "Language.Haskell.TH.Lift"
-
 -- | Derive Lift instances for the given datatype.
 deriveLift :: Name -> Q [Dec]
-deriveLift = deriveLift' <=< reify
+#if MIN_VERSION_template_haskell(2,9,0)
+deriveLift name = do
+  roles <- reifyDatatypeRoles name
+  info <- reifyDatatype name
+  fmap (:[]) $ deriveLiftOne roles info
+#else
+deriveLift = fmap (:[]) . deriveLiftOne <=< reifyDatatype
+#endif
 
 -- | Derive Lift instances for many datatypes.
 deriveLiftMany :: [Name] -> Q [Dec]
-deriveLiftMany = deriveLiftMany' <=< mapM reify
+#if MIN_VERSION_template_haskell(2,9,0)
+deriveLiftMany names = do
+  roles <- mapM reifyDatatypeRoles names
+  infos <- mapM reifyDatatype names
+  mapM (uncurry deriveLiftOne) $ zip roles infos
+#else
+deriveLiftMany = mapM deriveLiftOne <=< mapM reifyDatatype
+#endif
 
 -- | Obtain Info values through a custom reification function. This is useful
 -- when generating instances for datatypes that have not yet been declared.
+#if MIN_VERSION_template_haskell(2,9,0)
+deriveLift' :: [Role] -> Info -> Q [Dec]
+deriveLift' roles = fmap (:[]) . deriveLiftOne roles <=< normalizeInfo
+
+deriveLiftMany' :: [([Role], Info)] -> Q [Dec]
+deriveLiftMany' = mapM (\(rs, i) -> deriveLiftOne rs =<< normalizeInfo i)
+#else
 deriveLift' :: Info -> Q [Dec]
-deriveLift' = fmap (:[]) . deriveLiftOne
+deriveLift' = fmap (:[]) . deriveLiftOne <=< normalizeInfo
 
 deriveLiftMany' :: [Info] -> Q [Dec]
-deriveLiftMany' = mapM deriveLiftOne
+deriveLiftMany' = mapM (deriveLiftOne <=< normalizeInfo)
+#endif
 
 -- | Generates a lambda expresson which behaves like 'lift' (without requiring
 -- a 'Lift' instance). Example:
@@ -70,90 +95,92 @@
 --   lift = $(mak

commit ghc-th-lift for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-th-lift for openSUSE:Factory 
checked in at 2018-05-30 12:14:37

Comparing /work/SRC/openSUSE:Factory/ghc-th-lift (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-lift.new (New)


Package is "ghc-th-lift"

Wed May 30 12:14:37 2018 rev:4 rq:607903 version:0.7.8

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-lift/ghc-th-lift.changes  2017-09-15 
22:18:46.781386153 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-lift.new/ghc-th-lift.changes 
2018-05-30 12:27:34.125730428 +0200
@@ -1,0 +2,6 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update th-lift to version 0.7.8.
+  Upstream does not provide a changelog.
+
+---

Old:

  th-lift-0.7.7.tar.gz

New:

  th-lift-0.7.8.tar.gz



Other differences:
--
++ ghc-th-lift.spec ++
--- /var/tmp/diff_new_pack.tYz669/_old  2018-05-30 12:27:34.861704717 +0200
+++ /var/tmp/diff_new_pack.tYz669/_new  2018-05-30 12:27:34.869704438 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-th-lift
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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,10 +19,10 @@
 %global pkg_name th-lift
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.7.7
+Version:0.7.8
 Release:0
 Summary:Derive Template Haskell's Lift class for datatypes
-License:BSD-3-Clause OR GPL-2.0
+License:(BSD-3-Clause OR GPL-2.0-only)
 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
@@ -63,9 +63,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%doc COPYING
-%doc BSD3
-%doc GPL-2
+%license COPYING
+%license BSD3
+%license GPL-2
 
 %files devel -f %{name}-devel.files
 %doc Changelog

++ th-lift-0.7.7.tar.gz -> th-lift-0.7.8.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-lift-0.7.7/th-lift.cabal 
new/th-lift-0.7.8/th-lift.cabal
--- old/th-lift-0.7.7/th-lift.cabal 2017-04-19 21:20:13.0 +0200
+++ new/th-lift-0.7.8/th-lift.cabal 2018-02-01 21:45:51.0 +0100
@@ -1,5 +1,5 @@
 Name:   th-lift
-Version:0.7.7
+Version:0.7.8
 Cabal-Version:  >= 1.8
 License:BSD3
 License-Files:  COPYING, BSD3, GPL-2
@@ -31,7 +31,7 @@
 Build-Depends: packedstring == 0.1.*,
template-haskell >= 2.2 && < 2.4
   else
-Build-Depends: template-haskell >= 2.4 && < 2.13
+Build-Depends: template-haskell >= 2.4 && < 2.14
 
 Test-Suite test
   Type: exitcode-stdio-1.0
@@ -46,4 +46,4 @@
 Build-Depends: packedstring == 0.1.*,
template-haskell >= 2.2 && < 2.4
   else
-Build-Depends: template-haskell >= 2.4 && < 2.13
+Build-Depends: template-haskell >= 2.4 && < 2.14




commit ghc-th-lift for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-th-lift for openSUSE:Factory 
checked in at 2017-09-15 22:18:45

Comparing /work/SRC/openSUSE:Factory/ghc-th-lift (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-lift.new (New)


Package is "ghc-th-lift"

Fri Sep 15 22:18:45 2017 rev:3 rq:525529 version:0.7.7

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-lift/ghc-th-lift.changes  2017-05-09 
18:10:01.010670356 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-lift.new/ghc-th-lift.changes 
2017-09-15 22:18:46.781386153 +0200
@@ -1,0 +2,5 @@
+Thu Aug  3 15:38:38 UTC 2017 - psim...@suse.com
+
+- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
+
+---



Other differences:
--
++ ghc-th-lift.spec ++
--- /var/tmp/diff_new_pack.N8kG4z/_old  2017-09-15 22:18:47.369303339 +0200
+++ /var/tmp/diff_new_pack.N8kG4z/_new  2017-09-15 22:18:47.373302776 +0200
@@ -23,20 +23,19 @@
 Release:0
 Summary:Derive Template Haskell's Lift class for datatypes
 License:BSD-3-Clause OR GPL-2.0
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+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
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-template-haskell-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 Derive Template Haskell's Lift class for datatypes.
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -64,13 +63,11 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc COPYING
 %doc BSD3
 %doc GPL-2
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc Changelog
 
 %changelog




commit ghc-th-lift for openSUSE:Factory

2017-05-09 Thread root
Hello community,

here is the log from the commit of package ghc-th-lift for openSUSE:Factory 
checked in at 2017-05-09 18:09:59

Comparing /work/SRC/openSUSE:Factory/ghc-th-lift (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-lift.new (New)


Package is "ghc-th-lift"

Tue May  9 18:09:59 2017 rev:2 rq:493589 version:0.7.7

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-lift/ghc-th-lift.changes  2017-04-07 
14:20:32.896623767 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-lift.new/ghc-th-lift.changes 
2017-05-09 18:10:01.010670356 +0200
@@ -1,0 +2,5 @@
+Mon Apr 24 12:26:43 UTC 2017 - psim...@suse.com
+
+- Update to version 0.7.7 with cabal2obs.
+
+---

Old:

  th-lift-0.7.6.tar.gz

New:

  th-lift-0.7.7.tar.gz



Other differences:
--
++ ghc-th-lift.spec ++
--- /var/tmp/diff_new_pack.k5Mgxo/_old  2017-05-09 18:10:02.214500242 +0200
+++ /var/tmp/diff_new_pack.k5Mgxo/_new  2017-05-09 18:10:02.218499676 +0200
@@ -19,7 +19,7 @@
 %global pkg_name th-lift
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.7.6
+Version:0.7.7
 Release:0
 Summary:Derive Template Haskell's Lift class for datatypes
 License:BSD-3-Clause OR GPL-2.0

++ th-lift-0.7.6.tar.gz -> th-lift-0.7.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-lift-0.7.6/th-lift.cabal 
new/th-lift-0.7.7/th-lift.cabal
--- old/th-lift-0.7.6/th-lift.cabal 2016-01-18 18:36:03.0 +0100
+++ new/th-lift-0.7.7/th-lift.cabal 2017-04-19 21:20:13.0 +0200
@@ -1,5 +1,5 @@
 Name:   th-lift
-Version:0.7.6
+Version:0.7.7
 Cabal-Version:  >= 1.8
 License:BSD3
 License-Files:  COPYING, BSD3, GPL-2
@@ -31,7 +31,7 @@
 Build-Depends: packedstring == 0.1.*,
template-haskell >= 2.2 && < 2.4
   else
-Build-Depends: template-haskell >= 2.4 && < 2.12
+Build-Depends: template-haskell >= 2.4 && < 2.13
 
 Test-Suite test
   Type: exitcode-stdio-1.0
@@ -46,4 +46,4 @@
 Build-Depends: packedstring == 0.1.*,
template-haskell >= 2.2 && < 2.4
   else
-Build-Depends: template-haskell >= 2.4 && < 2.12
+Build-Depends: template-haskell >= 2.4 && < 2.13




commit ghc-th-lift for openSUSE:Factory

2017-04-07 Thread root
Hello community,

here is the log from the commit of package ghc-th-lift for openSUSE:Factory 
checked in at 2017-04-07 14:20:31

Comparing /work/SRC/openSUSE:Factory/ghc-th-lift (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-lift.new (New)


Package is "ghc-th-lift"

Fri Apr  7 14:20:31 2017 rev:1 rq:483243 version:0.7.6

Changes:

New Changes file:

--- /dev/null   2017-03-01 00:40:19.279048016 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-th-lift.new/ghc-th-lift.changes 
2017-04-07 14:20:32.896623767 +0200
@@ -0,0 +1,5 @@
+---
+Sun Jul 10 17:20:49 UTC 2016 - psim...@suse.com
+
+- Update to version 0.7.6 revision 0 with cabal2obs.
+

New:

  ghc-th-lift.changes
  ghc-th-lift.spec
  th-lift-0.7.6.tar.gz



Other differences:
--
++ ghc-th-lift.spec ++
#
# spec file for package ghc-th-lift
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%global pkg_name th-lift
%bcond_with tests
Name:   ghc-%{pkg_name}
Version:0.7.6
Release:0
Summary:Derive Template Haskell's Lift class for datatypes
License:BSD-3-Clause OR GPL-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
BuildRequires:  ghc-Cabal-devel
BuildRequires:  ghc-rpm-macros
BuildRequires:  ghc-template-haskell-devel
BuildRoot:  %{_tmppath}/%{name}-%{version}-build

%description
Derive Template Haskell's Lift class for datatypes.

%package devel
Summary:Haskell %{pkg_name} library development files
Group:  Development/Libraries/Other
Requires:   %{name} = %{version}-%{release}
Requires:   ghc-compiler = %{ghc_version}
Requires(post): ghc-compiler = %{ghc_version}
Requires(postun): ghc-compiler = %{ghc_version}

%description devel
This package provides the Haskell %{pkg_name} library development files.

%prep
%setup -q -n %{pkg_name}-%{version}

%build
%ghc_lib_build

%install
%ghc_lib_install

%check
%cabal_test

%post devel
%ghc_pkg_recache

%postun devel
%ghc_pkg_recache

%files -f %{name}.files
%defattr(-,root,root,-)
%doc COPYING
%doc BSD3
%doc GPL-2

%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
%doc Changelog

%changelog