Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-microlens-th for
openSUSE:Factory checked in at 2023-09-21 22:23:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-microlens-th (Old)
and /work/SRC/openSUSE:Factory/.ghc-microlens-th.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-microlens-th"
Thu Sep 21 22:23:16 2023 rev:14 rq:1112765 version:0.4.3.14
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-microlens-th/ghc-microlens-th.changes
2023-06-22 23:25:53.677790642 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-microlens-th.new.1770/ghc-microlens-th.changes
2023-09-21 22:23:48.494519800 +0200
@@ -1,0 +2,8 @@
+Tue Sep 5 02:43:39 UTC 2023 - Peter Simons <[email protected]>
+
+- Update microlens-th to version 0.4.3.14.
+ # 0.4.3.14
+
+ * [#170](https://github.com/stevenfontanella/microlens/issues/170),
[#171](https://github.com/stevenfontanella/microlens/pull/171) Support GHC 9.8.
+
+-------------------------------------------------------------------
Old:
----
microlens-th-0.4.3.13.tar.gz
New:
----
microlens-th-0.4.3.14.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-microlens-th.spec ++++++
--- /var/tmp/diff_new_pack.bfYVTU/_old 2023-09-21 22:23:49.714564071 +0200
+++ /var/tmp/diff_new_pack.bfYVTU/_new 2023-09-21 22:23:49.718564216 +0200
@@ -20,7 +20,7 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.4.3.13
+Version: 0.4.3.14
Release: 0
Summary: Automatic generation of record lenses for microlens
License: BSD-3-Clause
++++++ microlens-th-0.4.3.13.tar.gz -> microlens-th-0.4.3.14.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/microlens-th-0.4.3.13/CHANGELOG.md
new/microlens-th-0.4.3.14/CHANGELOG.md
--- old/microlens-th-0.4.3.13/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
+++ new/microlens-th-0.4.3.14/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
@@ -1,3 +1,7 @@
+# 0.4.3.14
+
+* [#170](https://github.com/stevenfontanella/microlens/issues/170),
[#171](https://github.com/stevenfontanella/microlens/pull/171) Support GHC 9.8.
+
# 0.4.3.13
* [#167](https://github.com/stevenfontanella/microlens/issues/167) Support
th-abstraction 0.5.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/microlens-th-0.4.3.13/microlens-th.cabal
new/microlens-th-0.4.3.14/microlens-th.cabal
--- old/microlens-th-0.4.3.13/microlens-th.cabal 2001-09-09
03:46:40.000000000 +0200
+++ new/microlens-th-0.4.3.14/microlens-th.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
name: microlens-th
-version: 0.4.3.13
+version: 0.4.3.14
synopsis: Automatic generation of record lenses for microlens
description:
This package lets you automatically generate lenses for data types; code was
extracted from the lens package, and therefore generated lenses are fully
compatible with ones generated by lens (and can be used both from lens and
microlens).
@@ -26,9 +26,10 @@
GHC==8.8.4
GHC==8.10.7
GHC==9.0.2
- GHC==9.2.5
- GHC==9.4.3
- GHC==9.6.1
+ GHC==9.2.8
+ GHC==9.4.6
+ GHC==9.6.2
+ GHC==9.8.0
source-repository head
type: git
@@ -43,8 +44,8 @@
, microlens >=0.4.0 && <0.5
, containers >=0.5 && <0.7
, transformers
- , template-haskell >=2.8 && <2.21
- , th-abstraction >=0.4.1 && <0.6
+ , template-haskell >=2.8 && <2.22
+ , th-abstraction >=0.4.1 && <0.7
ghc-options:
-Wall -fwarn-tabs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/microlens-th-0.4.3.13/src/Lens/Micro/TH.hs
new/microlens-th-0.4.3.14/src/Lens/Micro/TH.hs
--- old/microlens-th-0.4.3.13/src/Lens/Micro/TH.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/microlens-th-0.4.3.14/src/Lens/Micro/TH.hs 2001-09-09
03:46:40.000000000 +0200
@@ -801,8 +801,11 @@
fd | null vars = []
| otherwise = [FunDep [c] varNames]
-
+#if MIN_VERSION_template_haskell(2,21,0)
+ classD (cxt[]) className (D.plainTV c : D.changeTVFlags D.defaultBndrFlag
vars) fd
+#else
classD (cxt[]) className (D.plainTV c:vars) fd
+#endif
$ sigD methodName (return (''Lens' `conAppsT` [VarT c, s']))
: concat
[ [sigD defName (return ty)