Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-hashable for openSUSE:Factory 
checked in at 2021-11-11 21:37:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hashable (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-hashable.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-hashable"

Thu Nov 11 21:37:35 2021 rev:31 rq:930434 version:1.3.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hashable/ghc-hashable.changes        
2021-10-12 21:50:31.107971798 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-hashable.new.1890/ghc-hashable.changes      
2021-11-11 21:38:21.852973642 +0100
@@ -1,0 +2,8 @@
+Thu Nov  4 12:28:59 UTC 2021 - [email protected]
+
+- Update hashable to version 1.3.5.0.
+  ## Version 1.3.5.0
+
+   * Add `Solo` instance (base-4.15+, GHC-9+)
+
+-------------------------------------------------------------------

Old:
----
  hashable-1.3.4.1.tar.gz

New:
----
  hashable-1.3.5.0.tar.gz

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

Other differences:
------------------
++++++ ghc-hashable.spec ++++++
--- /var/tmp/diff_new_pack.xnS18J/_old  2021-11-11 21:38:23.216974637 +0100
+++ /var/tmp/diff_new_pack.xnS18J/_new  2021-11-11 21:38:23.216974637 +0100
@@ -19,7 +19,7 @@
 %global pkg_name hashable
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.3.4.1
+Version:        1.3.5.0
 Release:        0
 Summary:        A class for types that can be converted to a hash value
 License:        BSD-3-Clause

++++++ hashable-1.3.4.1.tar.gz -> hashable-1.3.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hashable-1.3.4.1/CHANGES.md 
new/hashable-1.3.5.0/CHANGES.md
--- old/hashable-1.3.4.1/CHANGES.md     2001-09-09 03:46:40.000000000 +0200
+++ new/hashable-1.3.5.0/CHANGES.md     2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,9 @@
 See also https://pvp.haskell.org/faq
 
+## Version 1.3.5.0
+
+ * Add `Solo` instance (base-4.15+, GHC-9+)
+
 ## Version 1.3.4.1
 
  * Fix compilation on 32 bit platforms
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hashable-1.3.4.1/hashable.cabal 
new/hashable-1.3.5.0/hashable.cabal
--- old/hashable-1.3.4.1/hashable.cabal 2001-09-09 03:46:40.000000000 +0200
+++ new/hashable-1.3.5.0/hashable.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:      1.12
 name:               hashable
-version:            1.3.4.1
+version:            1.3.5.0
 synopsis:           A class for types that can be converted to a hash value
 description:
   This package defines a class, 'Hashable', for types that
@@ -37,7 +37,7 @@
    || ==8.8.3
    || ==8.10.4
    || ==9.0.1
-   || ==9.2.*
+   || ==9.2.1
 
 extra-source-files:
   CHANGES.md
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hashable-1.3.4.1/src/Data/Hashable/Class.hs 
new/hashable-1.3.5.0/src/Data/Hashable/Class.hs
--- old/hashable-1.3.4.1/src/Data/Hashable/Class.hs     2001-09-09 
03:46:40.000000000 +0200
+++ new/hashable-1.3.5.0/src/Data/Hashable/Class.hs     2001-09-09 
03:46:40.000000000 +0200
@@ -178,6 +178,12 @@
 import qualified Data.Functor.Sum as FS
 #endif
 
+#if MIN_VERSION_base(4,16,0)
+import Data.Tuple (Solo (..))
+#elif MIN_VERSION_base(4,15,0)
+import GHC.Tuple (Solo (..))
+#endif
+
 import Data.String (IsString(..))
 
 #if MIN_VERSION_base(4,9,0)
@@ -1025,3 +1031,14 @@
 -- | @since 1.3.4.0
 instance Hashable v => Hashable (Tree.Tree v) where
     hashWithSalt = hashWithSalt1
+
+-------------------------------------------------------------------------------
+-- Solo
+-------------------------------------------------------------------------------
+
+#if MIN_VERSION_base(4,15,0)
+instance Hashable a => Hashable (Solo a) where
+    hashWithSalt = hashWithSalt1
+instance Hashable1 Solo where
+    liftHashWithSalt h salt (Solo x) = h salt x
+#endif

Reply via email to