Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-base-compat for openSUSE:Factory
checked in at 2026-11-24 12:26:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-base-compat (Old)
and /work/SRC/openSUSE:Factory/.ghc-base-compat.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-base-compat"
Tue Nov 24 12:26:08 2026 rev:25 rq:1399071 version:0.15.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-base-compat/ghc-base-compat.changes
2024-12-20 23:10:17.675668124 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-base-compat.new.1340718/ghc-base-compat.changes
2026-11-24 12:29:26.221092628 +0100
@@ -1,0 +2,10 @@
+Sun Jan 11 03:01:40 UTC 2026 - Peter Simons <[email protected]>
+
+- Update base-compat to version 0.15.0.
+ ## Changes in 0.15.0 [2026.01.10]
+ - Sync with `base-4.22`/GHC 9.14
+ - Restrict `Data.List.NonEmpty.Compat.unzip` to be of type
+ `NonEmpty (a, b) -> (NonEmpty a, NonEmpty b)`, mirroring similar changes
+ introducted in `base-4.22`.
+
+-------------------------------------------------------------------
Old:
----
base-compat-0.14.1.tar.gz
New:
----
base-compat-0.15.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-base-compat.spec ++++++
--- /var/tmp/diff_new_pack.TAY11c/_old 2026-11-24 12:29:27.514147386 +0100
+++ /var/tmp/diff_new_pack.TAY11c/_new 2026-11-24 12:29:27.517147513 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-base-compat
#
-# Copyright (c) 2024 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,21 +17,22 @@
%global pkg_name base-compat
-%global pkgver %{pkg_name}-%{version}
-Name: ghc-%{pkg_name}
-Version: 0.14.1
+%bcond_with ghc_prof
+Name: ghc-%pkg_name
+Version: 0.15.0
Release: 0
+%global pkgver %pkg_name-%{version}
Summary: A compatibility layer for base
License: MIT
-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-base-devel
-BuildRequires: ghc-base-prof
-BuildRequires: ghc-rpm-macros
-BuildRequires: ghc-unix-devel
-BuildRequires: ghc-unix-prof
+BuildRequires: ghc-rpm-macros >= 2.9.2
ExcludeArch: %{ix86}
+%if %{with ghc_prof}
+BuildRequires: ghc-base-prof
+%endif
%description
Provides functions available in later versions of 'base' to a wider range of
@@ -69,24 +70,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
@@ -106,8 +110,10 @@
%files devel -f %{name}-devel.files
%doc CHANGES.markdown README.markdown
-%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
-%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
++++++ base-compat-0.14.1.tar.gz -> base-compat-0.15.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-compat-0.14.1/CHANGES.markdown
new/base-compat-0.15.0/CHANGES.markdown
--- old/base-compat-0.14.1/CHANGES.markdown 2001-09-09 03:46:40.000000000
+0200
+++ new/base-compat-0.15.0/CHANGES.markdown 2001-09-09 03:46:40.000000000
+0200
@@ -1,3 +1,9 @@
+## Changes in 0.15.0 [2026.01.10]
+ - Sync with `base-4.22`/GHC 9.14
+ - Restrict `Data.List.NonEmpty.Compat.unzip` to be of type
+ `NonEmpty (a, b) -> (NonEmpty a, NonEmpty b)`, mirroring similar changes
+ introducted in `base-4.22`.
+
## Changes in 0.14.1 [2024.12.06]
- Sync with `base-4.21`/GHC 9.12
- Backport `compareLength` to `Data.List.Compat` and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-compat-0.14.1/README.markdown
new/base-compat-0.15.0/README.markdown
--- old/base-compat-0.14.1/README.markdown 2001-09-09 03:46:40.000000000
+0200
+++ new/base-compat-0.15.0/README.markdown 2001-09-09 03:46:40.000000000
+0200
@@ -162,6 +162,7 @@
* `singleton` to `Data.List.Compat` and `Data.List.NonEmpty.Compat`
* `inits1` and `tails1` to `Data.List.NonEmpty.Compat`
* `permutations`, `permutations1`, and `sortOn` to `Data.List.NonEmpty.Compat`
+ * `Data.List.NonEmpty.Compat`'s `unzip` function is restricted to only work
over `NonEmpty` lists
* `hGetContents'`, `getContents'`, and `readFile'` to `System.IO.Compat`
* `readBinP` to `Text.Read.Lex.Compat`
* `withTypeable` and `pattern TypeRep` to `Type.Reflection.Compat`
@@ -314,6 +315,7 @@
## Supported versions of GHC/`base`
+ * `ghc-9.14.*` / `base-4.22.*`
* `ghc-9.12.*` / `base-4.21.*`
* `ghc-9.10.*` / `base-4.20.*`
* `ghc-9.8.*` / `base-4.19.*`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-compat-0.14.1/base-compat.cabal
new/base-compat-0.15.0/base-compat.cabal
--- old/base-compat-0.14.1/base-compat.cabal 2001-09-09 03:46:40.000000000
+0200
+++ new/base-compat-0.15.0/base-compat.cabal 2001-09-09 03:46:40.000000000
+0200
@@ -1,5 +1,5 @@
name: base-compat
-version: 0.14.1
+version: 0.15.0
license: MIT
license-file: LICENSE
copyright: (c) 2012-2018 Simon Hengel,
@@ -53,10 +53,11 @@
, GHC == 9.0.2
, GHC == 9.2.8
, GHC == 9.4.8
- , GHC == 9.6.6
- , GHC == 9.8.2
- , GHC == 9.10.1
- , GHC == 9.12.1
+ , GHC == 9.6.7
+ , GHC == 9.8.4
+ , GHC == 9.10.3
+ , GHC == 9.12.2
+ , GHC == 9.14.1
source-repository head
type: git
@@ -71,8 +72,6 @@
build-depends:
base >= 4.9 && < 5,
ghc-prim
- if !os(windows) && !os(halvm)
- build-depends: unix
ghc-options:
-Wno-duplicate-exports -Wno-trustworthy-safe
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-compat-0.14.1/src/Data/List/NonEmpty/Compat.hs
new/base-compat-0.15.0/src/Data/List/NonEmpty/Compat.hs
--- old/base-compat-0.14.1/src/Data/List/NonEmpty/Compat.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/base-compat-0.15.0/src/Data/List/NonEmpty/Compat.hs 2001-09-09
03:46:40.000000000 +0200
@@ -82,14 +82,20 @@
) where
import Data.List.NonEmpty
+#if !(MIN_VERSION_base(4,22,0))
+ hiding (unzip)
+#endif
#if !(MIN_VERSION_base(4,20,0))
-import qualified Prelude.Compat as Prelude
import Prelude.Compat ((.))
import qualified Data.List.Compat as List
#endif
+#if !(MIN_VERSION_base(4,22,0))
+import qualified Prelude.Compat as Prelude
+#endif
+
#if !(MIN_VERSION_base(4,21,0))
import Prelude.Compat (Int, Num(..), Ord(..), Ordering(..), otherwise)
@@ -276,3 +282,9 @@
xs
n
#endif
+
+#if !(MIN_VERSION_base(4,22,0))
+-- | The 'unzip' function is the inverse of the 'zip' function.
+unzip :: NonEmpty (a, b) -> (NonEmpty a, NonEmpty b)
+unzip xs = (Prelude.fst Prelude.<$> xs, Prelude.snd Prelude.<$> xs)
+#endif