Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-base-orphans for
openSUSE:Factory checked in at 2023-04-04 21:18:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-base-orphans (Old)
and /work/SRC/openSUSE:Factory/.ghc-base-orphans.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-base-orphans"
Tue Apr 4 21:18:40 2023 rev:24 rq:1075779 version:0.8.8.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-base-orphans/ghc-base-orphans.changes
2022-10-13 15:41:09.130621612 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-base-orphans.new.19717/ghc-base-orphans.changes
2023-04-04 21:18:43.400541206 +0200
@@ -1,0 +2,27 @@
+Thu Mar 30 17:05:56 UTC 2023 - Peter Simons <[email protected]>
+
+- Updated spec file to conform with ghc-rpm-macros-2.5.2.
+
+-------------------------------------------------------------------
+Wed Mar 8 00:26:43 UTC 2023 - Peter Simons <[email protected]>
+
+- Update base-orphans to version 0.8.8.2.
+ ## Changes in 0.8.8.2 [2023.03.07]
+ - Fix GHC 9.2.1 build error that was accidentally introduced in
+ `base-orphans-0.8.8`.
+
+-------------------------------------------------------------------
+Sun Mar 5 22:49:20 UTC 2023 - Peter Simons <[email protected]>
+
+- Update base-orphans to version 0.8.8.1.
+ ## Changes in 0.8.8.1 [2023.03.05]
+ - Fix GHC 9.4 build error that was accidentally introduced in
+ `base-orphans-0.8.8`.
+
+ ## Changes in 0.8.8 [2023.03.05]
+ - Backport new instances from GHC 9.6.1/`base-4.18.0.0`:
+ * `Functor` instances for the `(,,,,) a b c d`, `(,,,,,) a b c d e`, and
+ `(,,,,,) a b c d e f` tuple types.
+ * `Eq` and `Ord` instances for `Generically`
+
+-------------------------------------------------------------------
Old:
----
base-orphans-0.8.7.tar.gz
New:
----
base-orphans-0.8.8.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-base-orphans.spec ++++++
--- /var/tmp/diff_new_pack.0JxYvE/_old 2023-04-04 21:18:43.892544342 +0200
+++ /var/tmp/diff_new_pack.0JxYvE/_new 2023-04-04 21:18:43.900544393 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-base-orphans
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,20 +17,25 @@
%global pkg_name base-orphans
+%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.8.7
+Version: 0.8.8.2
Release: 0
Summary: Backwards-compatible orphan instances 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
BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-base-devel
+BuildRequires: ghc-base-prof
BuildRequires: ghc-rpm-macros
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-QuickCheck-devel
+BuildRequires: ghc-QuickCheck-prof
BuildRequires: ghc-hspec-devel
+BuildRequires: ghc-hspec-prof
%endif
%description
@@ -54,6 +59,22 @@
%description devel
This package provides the Haskell %{pkg_name} library development files.
+%package -n ghc-%{pkg_name}-doc
+Summary: Haskell %{pkg_name} library documentation
+Requires: ghc-filesystem
+BuildArch: noarch
+
+%description -n ghc-%{pkg_name}-doc
+This package provides the Haskell %{pkg_name} library documentation.
+
+%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)
+
+%description -n ghc-%{pkg_name}-prof
+This package provides the Haskell %{pkg_name} profiling library.
+
%prep
%autosetup -n %{pkg_name}-%{version}
@@ -78,4 +99,9 @@
%files devel -f %{name}-devel.files
%doc CHANGES.markdown README.markdown
+%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
+
%changelog
++++++ base-orphans-0.8.7.tar.gz -> base-orphans-0.8.8.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-orphans-0.8.7/CHANGES.markdown
new/base-orphans-0.8.8.2/CHANGES.markdown
--- old/base-orphans-0.8.7/CHANGES.markdown 2001-09-09 03:46:40.000000000
+0200
+++ new/base-orphans-0.8.8.2/CHANGES.markdown 2001-09-09 03:46:40.000000000
+0200
@@ -1,3 +1,17 @@
+## Changes in 0.8.8.2 [2023.03.07]
+ - Fix GHC 9.2.1 build error that was accidentally introduced in
+ `base-orphans-0.8.8`.
+
+## Changes in 0.8.8.1 [2023.03.05]
+ - Fix GHC 9.4 build error that was accidentally introduced in
+ `base-orphans-0.8.8`.
+
+## Changes in 0.8.8 [2023.03.05]
+ - Backport new instances from GHC 9.6.1/`base-4.18.0.0`:
+ * `Functor` instances for the `(,,,,) a b c d`, `(,,,,,) a b c d e`, and
+ `(,,,,,) a b c d e f` tuple types.
+ * `Eq` and `Ord` instances for `Generically`
+
## Changes in 0.8.7 [2022.08.11]
- Backport new instances from GHC 9.2.2/`base-4.16.1.0`:
* `Ix` instances for various integral types in `Foreign.C.Types`,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-orphans-0.8.7/README.markdown
new/base-orphans-0.8.8.2/README.markdown
--- old/base-orphans-0.8.7/README.markdown 2001-09-09 03:46:40.000000000
+0200
+++ new/base-orphans-0.8.8.2/README.markdown 2001-09-09 03:46:40.000000000
+0200
@@ -56,12 +56,15 @@
* `Eq` and `Ord` instances for `Control.Exception.ErrorCall`
* `Eq`, `Ord`, `Read`, and `Show` instances for data types in `GHC.Generics`
* `Eq`, `Ord`, `Bounded`, `Enum`, and `Ix` instances for `Solo`
+ * `Eq` and `Ord` instances for `Generically1`
* `Eq1`, `Read1`, and `Show1` instances for `Complex`
* `Eq1`, `Ord1`, `Read1`, and `Show1` instances for `NonEmpty`
* `Foldable` instance for `Either`, `(,)` and `Const`
* `Foldable` and `Traversable` instances for `Alt` from `Data.Monoid`
* `Functor`, `Applicative`, and `Monad` instances for
`(,,) a b` and `(,,,) a b c`
+ * `Functor` instances for `(,,,,) a b c d`, `(,,,,,) a b c d e`, and
+ `(,,,,,) a b c d e f`
* `Functor` instance for `Handler`, `ArgOrder`, `OptDescr`, and `ArgDescr`
* `Functor`, `Applicative`, `Alternative`, and `MonadPlus` instances for
`ArrowMonad`
* `Functor`, `Applicative`, `Monad`, `Alternative`, and `MonadPlus` instances
@@ -101,6 +104,7 @@
## Supported versions of GHC/`base`
+ * `ghc-9.6.*` / `base-4.18.*`
* `ghc-9.4.*` / `base-4.17.*`
* `ghc-9.2.*` / `base-4.16.*`
* `ghc-9.0.*` / `base-4.15.*`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-orphans-0.8.7/base-orphans.cabal
new/base-orphans-0.8.8.2/base-orphans.cabal
--- old/base-orphans-0.8.7/base-orphans.cabal 2001-09-09 03:46:40.000000000
+0200
+++ new/base-orphans-0.8.8.2/base-orphans.cabal 2001-09-09 03:46:40.000000000
+0200
@@ -1,13 +1,13 @@
cabal-version: 1.12
--- This file has been generated from package.yaml by hpack version 0.35.0.
+-- This file has been generated from package.yaml by hpack version 0.35.2.
--
-- see: https://github.com/sol/hpack
--
--- hash: 72579eb12963b1336e2e979d497378f6dac77805e17a8e53f86b6b2984fcab08
+-- hash: 5f8726da7da713fa7b7a95dea492501a6762a25a36aebbd6bb8931e0d0324660
name: base-orphans
-version: 0.8.7
+version: 0.8.8.2
synopsis: Backwards-compatible orphan instances for base
description: @base-orphans@ defines orphan instances that mimic
instances available in
later versions of @base@ to a wider (older) range of
compilers.
@@ -36,7 +36,7 @@
license-file: LICENSE
build-type: Simple
tested-with:
- GHC == 7.0.4 , GHC == 7.2.2 , GHC == 7.4.2 , GHC == 7.6.3 , GHC == 7.8.4 ,
GHC == 7.10.3 , GHC == 8.0.2 , GHC == 8.2.2 , GHC == 8.4.4 , GHC == 8.6.5 , GHC
== 8.8.4 , GHC == 8.10.7 , GHC == 9.0.2 , GHC == 9.2.2
+ GHC == 7.0.4 , GHC == 7.2.2 , GHC == 7.4.2 , GHC == 7.6.3 , GHC == 7.8.4 ,
GHC == 7.10.3 , GHC == 8.0.2 , GHC == 8.2.2 , GHC == 8.4.4 , GHC == 8.6.5 , GHC
== 8.8.4 , GHC == 8.10.7 , GHC == 9.0.2 , GHC == 9.2.1 , GHC == 9.2.7 , GHC ==
9.4.4 , GHC == 9.6.1
extra-source-files:
CHANGES.markdown
README.markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-orphans-0.8.7/src/Data/Orphans/Prelude.hs
new/base-orphans-0.8.8.2/src/Data/Orphans/Prelude.hs
--- old/base-orphans-0.8.7/src/Data/Orphans/Prelude.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/base-orphans-0.8.8.2/src/Data/Orphans/Prelude.hs 2001-09-09
03:46:40.000000000 +0200
@@ -21,7 +21,7 @@
Note that this module does not export any modules that could introduce name
clashes.
-}
module Data.Orphans.Prelude
-#if MIN_VERSION_base(4,16,1)
+#if MIN_VERSION_base(4,18,0)
() where
#else
( module OrphansPrelude
@@ -158,6 +158,11 @@
, Typeable5, Typeable6, Typeable7 )
# endif
+# if MIN_VERSION_base(4,17,0) && !(MIN_VERSION_base(4,18,0))
+import GHC.Generics as OrphansPrelude ( Generic(..), Generic1(..)
+ , Generically(..), Generically1(..) )
+# endif
+
# if MIN_VERSION_base(4,4,0)
realPart, imagPart :: Complex a -> a
# else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/base-orphans-0.8.7/src/Data/Orphans.hs
new/base-orphans-0.8.8.2/src/Data/Orphans.hs
--- old/base-orphans-0.8.7/src/Data/Orphans.hs 2001-09-09 03:46:40.000000000
+0200
+++ new/base-orphans-0.8.8.2/src/Data/Orphans.hs 2001-09-09
03:46:40.000000000 +0200
@@ -11,6 +11,7 @@
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators #-}
+{-# LANGUAGE UndecidableInstances #-}
#if __GLASGOW_HASKELL__ >= 702
{-# LANGUAGE Trustworthy #-}
@@ -20,12 +21,14 @@
{-# LANGUAGE PolyKinds #-}
#endif
-#if __GLASGOW_HASKELL__ >= 708 && __GLASGOW_HASKELL__ < 710
+#if __GLASGOW_HASKELL__ >= 708
{-# LANGUAGE DataKinds #-}
+# if __GLASGOW_HASKELL__ < 710
{-# LANGUAGE NullaryTypeClasses #-}
+# endif
#endif
-#if __GLASGOW_HASKELL__ >= 800
+#if __GLASGOW_HASKELL__ >= 800 && __GLASGOW_HASKELL__ < 806
{-# LANGUAGE TypeInType #-}
#endif
@@ -91,7 +94,7 @@
# endif
#endif
-#if !(MIN_VERSION_base(4,16,1))
+#if !(MIN_VERSION_base(4,16,1)) || (MIN_VERSION_base(4,17,0) &&
!(MIN_VERSION_base(4,18,0)))
import Data.Orphans.Prelude
#endif
@@ -1963,6 +1966,24 @@
# endif
#endif
+#if !(MIN_VERSION_base(4,18,0))
+instance Functor ((,,,,) a b c d) where
+ fmap f (a, b, c, d, e) = (a, b, c, d, f e)
+instance Functor ((,,,,,) a b c d e) where
+ fmap fun (a, b, c, d, e, f) = (a, b, c, d, e, fun f)
+instance Functor ((,,,,,,) a b c d e f) where
+ fmap fun (a, b, c, d, e, f, g) = (a, b, c, d, e, f, fun g)
+
+# if MIN_VERSION_base(4,17,0)
+instance (Generic1 f, Eq (Rep1 f a)) => Eq (Generically1 f a) where
+ Generically1 x == Generically1 y = from1 x == from1 y
+ Generically1 x /= Generically1 y = from1 x /= from1 y
+
+instance (Generic1 f, Ord (Rep1 f a)) => Ord (Generically1 f a) where
+ Generically1 x `compare` Generically1 y = from1 x `compare` from1 y
+# endif
+#endif
+
#if __GLASGOW_HASKELL__ < 710
deriving instance Typeable All
deriving instance Typeable AnnotationWrapper
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/base-orphans-0.8.7/test/System/Posix/Types/OrphansSpec.hs
new/base-orphans-0.8.8.2/test/System/Posix/Types/OrphansSpec.hs
--- old/base-orphans-0.8.7/test/System/Posix/Types/OrphansSpec.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/base-orphans-0.8.8.2/test/System/Posix/Types/OrphansSpec.hs
2001-09-09 03:46:40.000000000 +0200
@@ -7,7 +7,7 @@
import Test.Hspec
#if defined(HTYPE_DEV_T)
-import Control.Applicative (liftA2)
+import qualified Control.Applicative as App (liftA2)
import Data.Bits (Bits(..))
import Data.Orphans ()
@@ -82,7 +82,7 @@
-> (a -> b)
-> (a -> c)
-> a -> d
-pred1Common = liftA2
+pred1Common = App.liftA2
pred1HDev :: (b -> c -> Bool)
-> (CDev -> b)