Hello community, here is the log from the commit of package ghc-hashable for openSUSE:Factory checked in at 2015-06-30 10:19:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-hashable (Old) and /work/SRC/openSUSE:Factory/.ghc-hashable.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hashable" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-hashable/ghc-hashable.changes 2015-05-21 08:11:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-hashable.new/ghc-hashable.changes 2015-06-30 10:19:04.000000000 +0200 @@ -1,0 +2,6 @@ +Sun Jun 28 16:43:54 UTC 2015 - [email protected] + +- update to 1.2.3.3 +* Support integer-simple. + +------------------------------------------------------------------- Old: ---- _service hashable-1.2.3.2.tar.gz New: ---- hashable-1.2.3.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-hashable.spec ++++++ --- /var/tmp/diff_new_pack.EKsAFl/_old 2015-06-30 10:19:05.000000000 +0200 +++ /var/tmp/diff_new_pack.EKsAFl/_new 2015-06-30 10:19:05.000000000 +0200 @@ -19,7 +19,7 @@ %global pkg_name hashable Name: ghc-hashable -Version: 1.2.3.2 +Version: 1.2.3.3 Release: 0 Summary: A class for types that can be converted to a hash value License: BSD-3-Clause ++++++ hashable-1.2.3.2.tar.gz -> hashable-1.2.3.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hashable-1.2.3.2/CHANGES.md new/hashable-1.2.3.3/CHANGES.md --- old/hashable-1.2.3.2/CHANGES.md 2015-03-16 07:12:09.000000000 +0100 +++ new/hashable-1.2.3.3/CHANGES.md 2015-06-26 08:04:55.000000000 +0200 @@ -1,3 +1,7 @@ +## Version 1.2.3.3 + + * Support integer-simple. + ## Version 1.2.3.2 * Add support for GHC 7.10 typeRepFingerprint diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hashable-1.2.3.2/Data/Hashable/Class.hs new/hashable-1.2.3.3/Data/Hashable/Class.hs --- old/hashable-1.2.3.2/Data/Hashable/Class.hs 2015-03-16 07:12:09.000000000 +0100 +++ new/hashable-1.2.3.3/Data/Hashable/Class.hs 2015-06-26 08:04:55.000000000 +0200 @@ -90,9 +90,14 @@ #endif #ifdef VERSION_integer_gmp + +# if MIN_VERSION_integer_gmp(1,0,0) +# define MIN_VERSION_integer_gmp_1_0_0 +# endif + import GHC.Exts (Int(..)) import GHC.Integer.GMP.Internals (Integer(..)) -# if MIN_VERSION_integer_gmp(1,0,0) +# if defined(MIN_VERSION_integer_gmp_1_0_0) import GHC.Exts (sizeofByteArray#) import GHC.Integer.GMP.Internals (BigNat(BN#)) # endif @@ -253,20 +258,18 @@ hash = fromEnum hashWithSalt = defaultHashWithSalt -#if defined(VERSION_integer_gmp) -# if MIN_VERSION_integer_gmp(1,0,0) +#if defined(MIN_VERSION_integer_gmp_1_0_0) instance Hashable BigNat where hashWithSalt salt (BN# ba) = hashByteArrayWithSalt ba 0 numBytes salt `hashWithSalt` size where size = numBytes `quot` SIZEOF_HSWORD numBytes = I# (sizeofByteArray# ba) -# endif #endif #if MIN_VERSION_base(4,8,0) instance Hashable Natural where -# if MIN_VERSION_integer_gmp(1,0,0) +# if defined(MIN_VERSION_integer_gmp_1_0_0) hash (NatS# n) = hash (W# n) hash (NatJ# bn) = hash bn @@ -281,7 +284,7 @@ instance Hashable Integer where #if defined(VERSION_integer_gmp) -# if MIN_VERSION_integer_gmp(1,0,0) +# if defined(MIN_VERSION_integer_gmp_1_0_0) hash (S# n) = (I# n) hash (Jp# bn) = hash bn hash (Jn# bn) = negate (hash bn) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hashable-1.2.3.2/hashable.cabal new/hashable-1.2.3.3/hashable.cabal --- old/hashable-1.2.3.2/hashable.cabal 2015-03-16 07:12:09.000000000 +0100 +++ new/hashable-1.2.3.3/hashable.cabal 2015-06-26 08:04:55.000000000 +0200 @@ -1,5 +1,5 @@ Name: hashable -Version: 1.2.3.2 +Version: 1.2.3.3 Synopsis: A class for types that can be converted to a hash value Description: This package defines a class, 'Hashable', for types that can be converted to a hash value. This class
