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 2024-05-06 17:52:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-base-orphans (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-base-orphans.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-base-orphans"

Mon May  6 17:52:35 2024 rev:26 rq:1171782 version:0.9.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-base-orphans/ghc-base-orphans.changes        
2023-11-23 21:43:08.144988776 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-base-orphans.new.1880/ghc-base-orphans.changes  
    2024-05-06 17:52:42.765902678 +0200
@@ -1,0 +2,8 @@
+Tue Apr 30 15:35:44 UTC 2024 - Peter Simons <[email protected]>
+
+- Update base-orphans to version 0.9.2.
+  ## Changes in 0.9.2 [2024.04.30]
+   - Backport new instances from GHC 9.10/`base-4.20`:
+     * `Fractional`, `RealFrac`, `Floating`, and `RealFloat` instances for 
`Compose`
+
+-------------------------------------------------------------------

Old:
----
  base-orphans-0.9.1.tar.gz

New:
----
  base-orphans-0.9.2.tar.gz

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

Other differences:
------------------
++++++ ghc-base-orphans.spec ++++++
--- /var/tmp/diff_new_pack.WGxabJ/_old  2024-05-06 17:52:43.825941337 +0200
+++ /var/tmp/diff_new_pack.WGxabJ/_new  2024-05-06 17:52:43.825941337 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-base-orphans
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %global pkgver %{pkg_name}-%{version}
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.9.1
+Version:        0.9.2
 Release:        0
 Summary:        Backwards-compatible orphan instances for base
 License:        MIT

++++++ base-orphans-0.9.1.tar.gz -> base-orphans-0.9.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/base-orphans-0.9.1/CHANGES.markdown 
new/base-orphans-0.9.2/CHANGES.markdown
--- old/base-orphans-0.9.1/CHANGES.markdown     2001-09-09 03:46:40.000000000 
+0200
+++ new/base-orphans-0.9.2/CHANGES.markdown     2001-09-09 03:46:40.000000000 
+0200
@@ -1,3 +1,7 @@
+## Changes in 0.9.2 [2024.04.30]
+ - Backport new instances from GHC 9.10/`base-4.20`:
+   * `Fractional`, `RealFrac`, `Floating`, and `RealFloat` instances for 
`Compose`
+
 ## Changes in 0.9.1 [2023.10.11]
  - Backport new instances from GHC 9.8/`base-4.19`:
    * `Eq` and `Ord` instances for `SChar`, `SNat`, and `SSymbol`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/base-orphans-0.9.1/README.markdown 
new/base-orphans-0.9.2/README.markdown
--- old/base-orphans-0.9.1/README.markdown      2001-09-09 03:46:40.000000000 
+0200
+++ new/base-orphans-0.9.2/README.markdown      2001-09-09 03:46:40.000000000 
+0200
@@ -60,7 +60,7 @@
  * `Eq` and `Ord` instances for `SChar`, `SNat`, and `SSymbol`
  * `Eq1`, `Read1`, and `Show1` instances for `Complex`
  * `Eq1`, `Ord1`, `Read1`, and `Show1` instances for `NonEmpty`
- * `Enum`, `Bounded`, `Num`, `Real`, and `Integral` instances for `Compose`
+ * `Enum`, `Bounded`, `Num`, `Real`, `Integral`, `Fractional`, `RealFrac`, 
`Floating`, and `RealFloat` instances for `Compose`
  * `Foldable` instance for `Either`, `(,)` and `Const`
  * `Foldable` and `Traversable` instances for `Alt` from `Data.Monoid`
  * `Functor`, `Applicative`, and `Monad` instances for
@@ -106,6 +106,7 @@
 
 ## Supported versions of GHC/`base`
 
+ * `ghc-9.10.*` / `base-4.20.*`
  * `ghc-9.8.*`  / `base-4.19.*`
  * `ghc-9.6.*`  / `base-4.18.*`
  * `ghc-9.4.*`  / `base-4.17.*`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/base-orphans-0.9.1/base-orphans.cabal 
new/base-orphans-0.9.2/base-orphans.cabal
--- old/base-orphans-0.9.1/base-orphans.cabal   2001-09-09 03:46:40.000000000 
+0200
+++ new/base-orphans-0.9.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.4.
+-- This file has been generated from package.yaml by hpack version 0.36.0.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 4e4482d938177240bd3d33937246a570b07764edf79c92c1609492b56b35944b
+-- hash: 0c23e2cb85ef24758da1fa779ef857dc3889dfc4238a4057841a071b38ce3e96
 
 name:                base-orphans
-version:             0.9.1
+version:             0.9.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.8 , GHC == 9.4.5 , GHC == 
9.6.2 , GHC == 9.8.1
+    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.8 , GHC == 9.4.8 , GHC == 
9.6.5 , GHC == 9.8.2 , GHC == 9.10.1
 extra-source-files:
     CHANGES.markdown
     README.markdown
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/base-orphans-0.9.1/src/Data/Orphans/Prelude.hs 
new/base-orphans-0.9.2/src/Data/Orphans/Prelude.hs
--- old/base-orphans-0.9.1/src/Data/Orphans/Prelude.hs  2001-09-09 
03:46:40.000000000 +0200
+++ new/base-orphans-0.9.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,19,0)
+#if MIN_VERSION_base(4,20,0)
     () where
 #else
     ( module OrphansPrelude
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/base-orphans-0.9.1/src/Data/Orphans.hs 
new/base-orphans-0.9.2/src/Data/Orphans.hs
--- old/base-orphans-0.9.1/src/Data/Orphans.hs  2001-09-09 03:46:40.000000000 
+0200
+++ new/base-orphans-0.9.2/src/Data/Orphans.hs  2001-09-09 03:46:40.000000000 
+0200
@@ -94,7 +94,7 @@
 # endif
 #endif
 
-#if !(MIN_VERSION_base(4,19,0))
+#if !(MIN_VERSION_base(4,20,0))
 import           Data.Orphans.Prelude
 #endif
 
@@ -2050,6 +2050,25 @@
 # endif
 #endif
 
+#if !(MIN_VERSION_base(4,20,0))
+# if MIN_VERSION_base(4,9,0)
+deriving instance Fractional (f (g a)) => Fractional (Compose f g a)
+deriving instance Floating (f (g a)) => Floating (Compose f g a)
+
+-- RealFrac and RealFloat both have Ord as a superclass. For the reasons stated
+-- above (near the Real/Integral instances for Compose), these
+-- RealFrace/RealFloat instances are slightly more complicated for older
+-- versions of base.
+#  if MIN_VERSION_base(4,18,0)
+deriving instance RealFrac (f (g a)) => RealFrac (Compose f g a)
+deriving instance RealFloat (f (g a)) => RealFloat (Compose f g a)
+#  else
+deriving instance (RealFrac (f (g a)), Ord1 f, Ord1 g, Ord a) => RealFrac 
(Compose f g a)
+deriving instance (RealFloat (f (g a)), Ord1 f, Ord1 g, Ord a) => RealFloat 
(Compose f g a)
+#  endif
+# 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.9.1/test/Data/Version/OrphansSpec.hs 
new/base-orphans-0.9.2/test/Data/Version/OrphansSpec.hs
--- old/base-orphans-0.9.1/test/Data/Version/OrphansSpec.hs     2001-09-09 
03:46:40.000000000 +0200
+++ new/base-orphans-0.9.2/test/Data/Version/OrphansSpec.hs     2001-09-09 
03:46:40.000000000 +0200
@@ -18,12 +18,17 @@
   describe "Data Version instance" $
     it "allows obtaining a Version constructor" $
       dataTypeName (dataTypeOf (Version [1,2,3] [])) `shouldBe`
--- Some old versions of GHC incorrectly return "Version" instead of
--- "Data.Version.Version" due to
--- https://gitlab.haskell.org/ghc/ghc/-/issues/20371.
 #if __GLASGOW_HASKELL__ >= 801 && __GLASGOW_HASKELL__ < 903
+        -- Some old versions of GHC incorrectly return "Version" due to
+        -- https://gitlab.haskell.org/ghc/ghc/-/issues/20371.
         "Version"
+#elif __GLASGOW_HASKELL__ >= 910
+        -- In GHC 9.10 and later, Version is defined in
+        -- GHC.Internal.Data.Version (in the ghc-internal library).
+        "GHC.Internal.Data.Version.Version"
 #else
+        -- In older versions of GHC, Version is defined in Data.Version (in the
+        -- base library).
         "Data.Version.Version"
 #endif
 

Reply via email to