Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-megaparsec for openSUSE:Factory 
checked in at 2026-11-24 12:31:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-megaparsec (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-megaparsec.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-megaparsec"

Tue Nov 24 12:31:19 2026 rev:24 rq:1399244 version:9.8.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-megaparsec/ghc-megaparsec.changes    
2026-06-10 16:06:21.709559937 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-megaparsec.new.1340718/ghc-megaparsec.changes   
    2026-11-24 12:37:57.801764273 +0100
@@ -1,0 +2,68 @@
+Fri Sep 25 18:41:48 UTC 2026 - Peter Simons <[email protected]>
+
+- Update megaparsec to version 9.8.3.
+  ## Megaparsec 9.8.3
+
+  * Added `INLINE` pragmas to the built-in `Stream` instances for `Text` and
+    `ByteString`, restoring the performance they had before 9.3.0. [Issue
+    612](https://github.com/mrkkrp/megaparsec/issues/612).
+
+  ## Megaparsec 9.8.2
+
+  * Fixed tab expansion in the rendering of the offending line so that it
+    takes into account the display width of the preceding characters.
+    Previously a tab that followed a wide or zero-width character was expanded
+    to the wrong number of spaces, which made the position marker `^`
+    misaligned or missing.
+  * Fixed the regression introduced by the fix for the [issue
+    412](https://github.com/mrkkrp/megaparsec/issues/412) which caused `(<|>)`
+    to report a parse error at the position where the alternation started even
+    when both of its branches had failed ahead of that position (which can
+    happen because of `try`). Such an error mentioned a position that did not
+    correspond to the unexpected item it reported and lost all expected items.
+    In that case the longest match is now preferred again.
+  * Fixed `takeP` reporting that it had consumed input when asked to take zero
+    (or a negative number of) tokens. Since it consumes nothing in that case,
+    it now signals that fact, so that e.g. the second branch of `(<|>)` is
+    still tried after it.
+  * Fixed column calculation for `ByteString` streams (strict and lazy) so
+    that it agrees with the way the offending line is rendered. Previously the
+    byte `0xad` was counted as one column even though it is displayed as a
+    zero-width soft hyphen, which could shift the position marker `^` or make
+    it disappear altogether.
+  * Updated the character width data used by `Text.Megaparsec.Unicode` to
+    Unicode 17.0.0. The previous data was extracted from Unicode 12.0.0 and
+    was moreover incomplete: it did not know about the CJK ideograph
+    extensions G through I, about any of the emoji added since, or about most
+    combining marks, including all of the variation selectors and everything
+    outside of the Latin, Cyrillic, Hebrew, and Arabic scripts. As a result
+    the position marker `^` did not line up with the offending line for input
+    containing such characters.
+  * `isWideChar` now returns `False` for the few characters that are Wide
+    according to their East Asian Width but are also combining marks, such as
+    `U+302A`. They occupy no columns of their own, which `charLength` and
+    `isZeroWidthChar` already reported.
+  * The position marker `^` is no longer omitted when the offending line turns
+    out to be shorter than the column of the parse error.
+
+  ## Megaparsec 9.8.1
+
+  * Fixed the regression introduced by the fix for the [issue
+    572](https://github.com/mrkkrp/megaparsec/issues/572) which caused the
+    position marker `^` to be missing in certain cases.
+  * This release officially supports GHC 9.6. This is the oldest GHC version
+    we support at this time.
+
+  ## Megaparsec 9.8.0
+
+  * Fixed the associativity of the `(<|>)` operator. [Issue
+    412](https://github.com/mrkkrp/megaparsec/issues/412).
+  * Fixed the loss of precision in `decimal`, `binary`, `octal`, and
+    `hexadecimal` functions in `Text.Megaparsec.Byte.Lexer` and
+    `Text.Megaparsec.Char.Lexer` when they are used to parse floating point
+    numbers. [Issue 479](https://github.com/mrkkrp/megaparsec/issues/479).
+  * Fixed handling of zero-width characters in error messages. To that end,
+    added `isZeroWidthChar` function in `Text.Megaparsec.Unicode`. [Issue
+    572](https://github.com/mrkkrp/megaparsec/issues/572).
+
+-------------------------------------------------------------------

Old:
----
  megaparsec-9.7.1.tar.gz

New:
----
  megaparsec-9.8.3.tar.gz

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

Other differences:
------------------
++++++ ghc-megaparsec.spec ++++++
--- /var/tmp/diff_new_pack.P8Kypv/_old  2026-11-24 12:37:59.186822969 +0100
+++ /var/tmp/diff_new_pack.P8Kypv/_new  2026-11-24 12:37:59.189823096 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-megaparsec
 #
-# Copyright (c) 2026 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,39 +17,42 @@
 
 
 %global pkg_name megaparsec
-%global pkgver %{pkg_name}-%{version}
-Name:           ghc-%{pkg_name}
-Version:        9.7.1
+%bcond_with ghc_prof
+Name:           ghc-%pkg_name
+Version:        9.8.3
 Release:        0
+%global pkgver %pkg_name-%{version}
 Summary:        Monadic parser combinators
 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
+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-array-devel
-BuildRequires:  ghc-array-prof
 BuildRequires:  ghc-base-devel
-BuildRequires:  ghc-base-prof
 BuildRequires:  ghc-bytestring-devel
-BuildRequires:  ghc-bytestring-prof
 BuildRequires:  ghc-case-insensitive-devel
-BuildRequires:  ghc-case-insensitive-prof
 BuildRequires:  ghc-containers-devel
-BuildRequires:  ghc-containers-prof
 BuildRequires:  ghc-deepseq-devel
-BuildRequires:  ghc-deepseq-prof
 BuildRequires:  ghc-mtl-devel
-BuildRequires:  ghc-mtl-prof
 BuildRequires:  ghc-parser-combinators-devel
-BuildRequires:  ghc-parser-combinators-prof
-BuildRequires:  ghc-rpm-macros
+BuildRequires:  ghc-rpm-macros >= 2.9.2
 BuildRequires:  ghc-scientific-devel
-BuildRequires:  ghc-scientific-prof
 BuildRequires:  ghc-text-devel
-BuildRequires:  ghc-text-prof
 BuildRequires:  ghc-transformers-devel
-BuildRequires:  ghc-transformers-prof
 ExcludeArch:    %{ix86}
+%if %{with ghc_prof}
+BuildRequires:  ghc-array-prof
+BuildRequires:  ghc-base-prof
+BuildRequires:  ghc-bytestring-prof
+BuildRequires:  ghc-case-insensitive-prof
+BuildRequires:  ghc-containers-prof
+BuildRequires:  ghc-deepseq-prof
+BuildRequires:  ghc-mtl-prof
+BuildRequires:  ghc-parser-combinators-prof
+BuildRequires:  ghc-scientific-prof
+BuildRequires:  ghc-text-prof
+BuildRequires:  ghc-transformers-prof
+%endif
 
 %description
 This is an industrial-strength monadic parser combinator library.
@@ -66,24 +69,27 @@
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
 
-%package -n ghc-%{pkg_name}-doc
+%package -n ghc-%pkg_name-doc
 Summary:        Haskell %{pkg_name} library documentation
 Requires:       ghc-filesystem
 BuildArch:      noarch
 
-%description -n ghc-%{pkg_name}-doc
+%description -n ghc-%pkg_name-doc
 This package provides the Haskell %{pkg_name} library documentation.
 
-%package -n ghc-%{pkg_name}-prof
+%if %{with ghc_prof}
+%package -n ghc-%pkg_name-prof
 Summary:        Haskell %{pkg_name} profiling library
-Requires:       ghc-%{pkg_name}-devel = %{version}-%{release}
-Supplements:    (ghc-%{pkg_name}-devel and ghc-prof)
+Requires:       ghc-%pkg_name-devel = %{version}-%{release}
+Supplements:    (ghc-%pkg_name-devel and ghc-prof)
 
-%description -n ghc-%{pkg_name}-prof
+%description -n ghc-%pkg_name-prof
 This package provides the Haskell %{pkg_name} profiling library.
+%endif
+
 
 %prep
-%autosetup -n %{pkg_name}-%{version}
+%autosetup -p1 -n %pkg_name-%{version}
 
 %build
 %ghc_lib_build
@@ -103,8 +109,10 @@
 %files devel -f %{name}-devel.files
 %doc CHANGELOG.md README.md
 
-%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
+%files -n ghc-%pkg_name-doc -f ghc-%pkg_name-doc.files
 %license LICENSE.md
 
-%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
+%if %{with ghc_prof}
+%files -n ghc-%pkg_name-prof -f ghc-%pkg_name-prof.files
+%endif
 

++++++ megaparsec-9.7.1.tar.gz -> megaparsec-9.8.3.tar.gz ++++++
++++ 3208 lines of diff (skipped)

Reply via email to