Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-lens for openSUSE:Factory checked in at 2026-06-10 16:03:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-lens (Old) and /work/SRC/openSUSE:Factory/.ghc-lens.new.2375 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-lens" Wed Jun 10 16:03:27 2026 rev:34 rq:1358404 version:5.3.6 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-lens/ghc-lens.changes 2025-10-27 14:43:21.327797839 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-lens.new.2375/ghc-lens.changes 2026-06-10 16:05:57.184543613 +0200 @@ -1,0 +2,10 @@ +Sat Jan 10 22:05:13 UTC 2026 - Peter Simons <[email protected]> + +- Update lens to version 5.3.6. + 5.3.6 [2026.01.10] + ------------------ + * Allow building with `template-haskell-2.24.*` (GHC 9.14). + * Add `_SpecialiseEP` to `Language.Haskell.TH.Lens` (when building with + `template-haskell-2.24.*`/GHC 9.14 or later). + +------------------------------------------------------------------- Old: ---- lens-5.3.5.tar.gz lens.cabal New: ---- lens-5.3.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-lens.spec ++++++ --- /var/tmp/diff_new_pack.pRsUiT/_old 2026-06-10 16:05:59.608644068 +0200 +++ /var/tmp/diff_new_pack.pRsUiT/_new 2026-06-10 16:05:59.612644234 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-lens # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2026 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,13 +20,12 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 5.3.5 +Version: 5.3.6 Release: 0 Summary: Lenses, Folds and Traversals License: BSD-2-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-array-devel BuildRequires: ghc-array-prof @@ -87,8 +86,6 @@ BuildRequires: ghc-th-abstraction-prof BuildRequires: ghc-these-devel BuildRequires: ghc-these-prof -BuildRequires: ghc-transformers-compat-devel -BuildRequires: ghc-transformers-compat-prof BuildRequires: ghc-transformers-devel BuildRequires: ghc-transformers-prof BuildRequires: ghc-unordered-containers-devel @@ -147,10 +144,7 @@ With some signatures simplified, the core of the hierarchy of lens-like constructions looks like: -<<http://i.imgur.com/ALlbPRa.png>> - -<https://raw.githubusercontent.com/ekmett/lens/master/images/Hierarchy.png -(Local Copy)> +<<https://raw.githubusercontent.com/ekmett/lens/master/images/Hierarchy.png>> You can compose any two elements of the hierarchy above using '(.)' from the 'Prelude', and you can use any element of the hierarchy as any type it linked @@ -224,7 +218,6 @@ %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++++++ lens-5.3.5.tar.gz -> lens-5.3.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lens-5.3.5/CHANGELOG.markdown new/lens-5.3.6/CHANGELOG.markdown --- old/lens-5.3.5/CHANGELOG.markdown 2001-09-09 03:46:40.000000000 +0200 +++ new/lens-5.3.6/CHANGELOG.markdown 2001-09-09 03:46:40.000000000 +0200 @@ -1,3 +1,9 @@ +5.3.6 [2026.01.10] +------------------ +* Allow building with `template-haskell-2.24.*` (GHC 9.14). +* Add `_SpecialiseEP` to `Language.Haskell.TH.Lens` (when building with + `template-haskell-2.24.*`/GHC 9.14 or later). + 5.3.5 [2025.06.17] ------------------ * Replace `test-framework` with `tasty` in the test suite. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lens-5.3.5/examples/lens-examples.cabal new/lens-5.3.6/examples/lens-examples.cabal --- old/lens-5.3.5/examples/lens-examples.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/lens-5.3.6/examples/lens-examples.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -25,10 +25,11 @@ , GHC == 9.0.2 , GHC == 9.2.8 , GHC == 9.4.8 - , GHC == 9.6.6 + , GHC == 9.6.7 , GHC == 9.8.4 - , GHC == 9.10.1 - , GHC == 9.12.1 + , GHC == 9.10.3 + , GHC == 9.12.2 + , GHC == 9.14.1 source-repository head type: git @@ -44,10 +45,9 @@ Turtle build-depends: aeson, - base >= 4.5 && < 5, + base >= 4.9 && < 5, bytestring >= 0.9.1.10 && < 0.13, data-default-class, - ghc-prim, lens default-language: Haskell2010 ghc-options: -Wall @@ -57,7 +57,7 @@ buildable: False build-depends: - base >= 4.5 && < 5, + base >= 4.9 && < 5, containers >= 0.4 && < 0.9, gloss >= 1.12 && < 1.14, lens, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lens-5.3.5/lens-properties/lens-properties.cabal new/lens-5.3.6/lens-properties/lens-properties.cabal --- old/lens-5.3.5/lens-properties/lens-properties.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/lens-5.3.6/lens-properties/lens-properties.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -22,10 +22,11 @@ , GHC == 9.0.2 , GHC == 9.2.8 , GHC == 9.4.8 - , GHC == 9.6.6 + , GHC == 9.6.7 , GHC == 9.8.4 - , GHC == 9.10.1 - , GHC == 9.12.1 + , GHC == 9.10.3 + , GHC == 9.12.2 + , GHC == 9.14.1 extra-source-files: .hlint.yaml @@ -39,7 +40,7 @@ build-depends: base >= 4.9 && < 5, lens >= 4 && < 6, - QuickCheck >= 2.4 && < 2.17, + QuickCheck >= 2.4 && < 2.18, transformers >= 0.2 && < 0.7 exposed-modules: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lens-5.3.5/lens.cabal new/lens-5.3.6/lens.cabal --- old/lens-5.3.5/lens.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/lens-5.3.6/lens.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,6 +1,6 @@ name: lens category: Data, Lenses, Generics -version: 5.3.5 +version: 5.3.6 license: BSD2 cabal-version: 1.18 license-file: LICENSE @@ -21,10 +21,11 @@ , GHC == 9.0.2 , GHC == 9.2.8 , GHC == 9.4.8 - , GHC == 9.6.6 + , GHC == 9.6.7 , GHC == 9.8.4 - , GHC == 9.10.1 - , GHC == 9.12.1 + , GHC == 9.10.3 + , GHC == 9.12.2 + , GHC == 9.14.1 synopsis: Lenses, Folds and Traversals description: This package comes \"Batteries Included\" with many useful lenses for the types @@ -53,9 +54,7 @@ With some signatures simplified, the core of the hierarchy of lens-like constructions looks like: . . - <<http://i.imgur.com/ALlbPRa.png>> - . - <https://raw.githubusercontent.com/ekmett/lens/master/images/Hierarchy.png (Local Copy)> + <<https://raw.githubusercontent.com/ekmett/lens/master/images/Hierarchy.png>> . You can compose any two elements of the hierarchy above using @(.)@ from the @Prelude@, and you can use any element of the hierarchy as any type it linked to above it. @@ -189,24 +188,22 @@ exceptions >= 0.8.2.1 && < 1, filepath >= 1.2.0.0 && < 1.6, free >= 5.1.5 && < 6, - ghc-prim, hashable >= 1.2.7.0 && < 1.6, indexed-traversable >= 0.1 && < 0.2, indexed-traversable-instances >= 0.1 && < 0.2, kan-extensions >= 5 && < 6, mtl >= 2.2.1 && < 2.4, - parallel >= 3.2.1.0 && < 3.3, + parallel >= 3.2.1.0 && < 3.4, profunctors >= 5.5.2 && < 6, reflection >= 2.1 && < 3, semigroupoids >= 5.0.1 && < 7, strict >= 0.4 && < 0.6, tagged >= 0.8.6 && < 1, - template-haskell >= 2.11.1.0 && < 2.24, + template-haskell >= 2.11.1.0 && < 2.25, text >= 1.2.3.0 && < 2.2, th-abstraction >= 0.4.1 && < 0.8, these >= 1.1.1.1 && < 1.3, transformers >= 0.5.0.0 && < 0.7, - transformers-compat >= 0.5.0.4 && < 1, unordered-containers >= 0.2.10 && < 0.3, vector >= 0.12.1.2 && < 0.14 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lens-5.3.5/src/Control/Lens/Traversal.hs new/lens-5.3.6/src/Control/Lens/Traversal.hs --- old/lens-5.3.5/src/Control/Lens/Traversal.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/lens-5.3.6/src/Control/Lens/Traversal.hs 2001-09-09 03:46:40.000000000 +0200 @@ -162,7 +162,7 @@ import Data.Semigroup.Traversable import Data.Semigroup.Bitraversable import Data.Tuple (swap) -import GHC.Magic (inline) +import GHC.Exts (inline) -- $setup -- >>> :set -XNoOverloadedStrings -XFlexibleContexts diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lens-5.3.5/src/Data/Data/Lens.hs new/lens-5.3.6/src/Data/Data/Lens.hs --- old/lens-5.3.5/src/Data/Data/Lens.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/lens-5.3.6/src/Data/Data/Lens.hs 2001-09-09 03:46:40.000000000 +0200 @@ -12,12 +12,6 @@ {-# LANGUAGE Trustworthy #-} #endif {-# OPTIONS_GHC -fno-full-laziness #-} -#if __GLASGOW_HASKELL__ >= 810 --- Use -fbyte-code explicitly to ensure that -fobject-code isn't automatically --- implied on GHCi 8.10+ by the use of UnboxedTuples, as this breaks the --- doctests. See #874 for more details. -{-# OPTIONS_GHC -fbyte-code #-} -#endif ----------------------------------------------------------------------------- -- | -- Module : Data.Data.Lens diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lens-5.3.5/src/Language/Haskell/TH/Lens.hs new/lens-5.3.6/src/Language/Haskell/TH/Lens.hs --- old/lens-5.3.5/src/Language/Haskell/TH/Lens.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/lens-5.3.6/src/Language/Haskell/TH/Lens.hs 2001-09-09 03:46:40.000000000 +0200 @@ -200,6 +200,9 @@ #if MIN_VERSION_template_haskell(2,22,0) , _SCCP #endif +#if MIN_VERSION_template_haskell(2,24,0) + , _SpecialiseEP +#endif -- ** Inline Prisms , _NoInline , _Inline @@ -1619,6 +1622,16 @@ remitter _ = Nothing #endif +#if MIN_VERSION_template_haskell(2,24,0) +_SpecialiseEP :: Prism' Pragma (Maybe [TyVarBndr ()], [RuleBndr], Exp, Maybe Inline, Phases) +_SpecialiseEP + = prism' reviewer remitter + where + reviewer (x, y, z, w, u) = SpecialiseEP x y z w u + remitter (SpecialiseEP x y z w u) = Just (x, y, z, w, u) + remitter _ = Nothing +#endif + _NoInline :: Prism' Inline () _NoInline = prism' reviewer remitter
