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-04-07 18:16:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-microlens-th (Old) and /work/SRC/openSUSE:Factory/.ghc-microlens-th.new.19717 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-microlens-th" Fri Apr 7 18:16:44 2023 rev:12 rq:1077768 version:0.4.3.12 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-microlens-th/ghc-microlens-th.changes 2023-04-04 21:21:33.685584677 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-microlens-th.new.19717/ghc-microlens-th.changes 2023-04-07 18:16:46.696701637 +0200 @@ -1,0 +2,12 @@ +Mon Apr 3 05:21:56 UTC 2023 - Peter Simons <psim...@suse.com> + +- Update microlens-th to version 0.4.3.12. + # 0.4.3.12 + + * [#164](https://github.com/stevenfontanella/microlens/pull/164), [#165](https://github.com/stevenfontanella/microlens/issues/165) Support template-haskell 2.19 (and GHC 9.6 by extension). + + # 0.4.3.11 + + * [#161](https://github.com/stevenfontanella/microlens/pull/161) Fix GHC 9.4 warning for using `~` without TypeOperators + +------------------------------------------------------------------- Old: ---- microlens-th-0.4.3.11.tar.gz New: ---- microlens-th-0.4.3.12.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-microlens-th.spec ++++++ --- /var/tmp/diff_new_pack.0bNbkh/_old 2023-04-07 18:16:48.984714817 +0200 +++ /var/tmp/diff_new_pack.0bNbkh/_new 2023-04-07 18:16:48.988714840 +0200 @@ -20,7 +20,7 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.4.3.11 +Version: 0.4.3.12 Release: 0 Summary: Automatic generation of record lenses for microlens License: BSD-3-Clause @@ -53,8 +53,8 @@ microlens). This package is a part of the <http://hackage.haskell.org/package/microlens -microlens> family; see the readme <https://github.com/monadfix/microlens#readme -on Github>. +microlens> family; see the readme +<https://github.com/stevenfontanella/microlens#readme on Github>. %package devel Summary: Haskell %{pkg_name} library development files ++++++ microlens-th-0.4.3.11.tar.gz -> microlens-th-0.4.3.12.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/microlens-th-0.4.3.11/CHANGELOG.md new/microlens-th-0.4.3.12/CHANGELOG.md --- old/microlens-th-0.4.3.11/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 +++ new/microlens-th-0.4.3.12/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,11 @@ +# 0.4.3.12 + +* [#164](https://github.com/stevenfontanella/microlens/pull/164), [#165](https://github.com/stevenfontanella/microlens/issues/165) Support template-haskell 2.19 (and GHC 9.6 by extension). + +# 0.4.3.11 + +* [#161](https://github.com/stevenfontanella/microlens/pull/161) Fix GHC 9.4 warning for using `~` without TypeOperators + # 0.4.3.10 * Port lens commit [fae336e1](https://github.com/ekmett/lens/commit/fae336e191748782cff023540bd25e3582ca93fb), "Close over kind variables when computing fixed type variables", fixing lens issue [#972](https://github.com/ekmett/lens/issues/972). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/microlens-th-0.4.3.11/microlens-th.cabal new/microlens-th-0.4.3.12/microlens-th.cabal --- old/microlens-th-0.4.3.11/microlens-th.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/microlens-th-0.4.3.12/microlens-th.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,16 +1,16 @@ name: microlens-th -version: 0.4.3.11 +version: 0.4.3.12 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). . - This package is a part of the <http://hackage.haskell.org/package/microlens microlens> family; see the readme <https://github.com/monadfix/microlens#readme on Github>. + This package is a part of the <http://hackage.haskell.org/package/microlens microlens> family; see the readme <https://github.com/stevenfontanella/microlens#readme on Github>. license: BSD3 license-file: LICENSE author: Eric Mertens, Edward Kmett, Artyom Kazak maintainer: Steven Fontanella <steven.fontane...@gmail.com> -homepage: http://github.com/monadfix/microlens -bug-reports: http://github.com/monadfix/microlens/issues +homepage: http://github.com/stevenfontanella/microlens +bug-reports: http://github.com/stevenfontanella/microlens/issues category: Data, Lenses build-type: Simple extra-source-files: @@ -28,10 +28,11 @@ GHC==9.0.2 GHC==9.2.5 GHC==9.4.3 + GHC==9.6.1 source-repository head type: git - location: git://github.com/monadfix/microlens.git + location: https://github.com/stevenfontanella/microlens.git library exposed-modules: Lens.Micro.TH @@ -42,7 +43,7 @@ , microlens >=0.4.0 && <0.5 , containers >=0.5 && <0.7 , transformers - , template-haskell >=2.8 && <2.20 + , template-haskell >=2.8 && <2.21 , th-abstraction >=0.4.1 && <0.5 ghc-options: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/microlens-th-0.4.3.11/src/Lens/Micro/TH/Internal.hs new/microlens-th-0.4.3.12/src/Lens/Micro/TH/Internal.hs --- old/microlens-th-0.4.3.11/src/Lens/Micro/TH/Internal.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/microlens-th-0.4.3.12/src/Lens/Micro/TH/Internal.hs 2001-09-09 03:46:40.000000000 +0200 @@ -170,6 +170,14 @@ typeVarsEx s f (ClassP n ts) = ClassP n <$> typeVarsEx s f ts typeVarsEx s f (EqualP l r) = EqualP <$> typeVarsEx s f l <*> typeVarsEx s f r #endif +#if MIN_VERSION_template_haskell(2,19,0) + typeVarsEx s f (PromotedInfixT t1 n t2) = PromotedInfixT <$> typeVarsEx s f t1 + <*> pure n + <*> typeVarsEx s f t2 + typeVarsEx s f (PromotedUInfixT t1 n t2) = PromotedUInfixT <$> typeVarsEx s f t1 + <*> pure n + <*> typeVarsEx s f t2 +#endif instance HasTypeVars Con where typeVarsEx s f (NormalC n ts) = NormalC n <$> (traverse . _2) (typeVarsEx s f) ts