diff --git a/ghc-hashable.changes b/ghc-hashable.changes index a362bb7..7616b12 100644 --- a/ghc-hashable.changes +++ b/ghc-hashable.changes @@ -1,126 +1,5 @@ ------------------------------------------------------------------- -Fri Nov 8 16:13:49 UTC 2019 - Peter Simons +Tue May 21 15:36:04 UTC 2019 - psimons@suse.com -- Drop obsolete group attributes. +- Add hashable at version 1.3.0.0. -------------------------------------------------------------------- -Sat Oct 20 11:31:34 UTC 2018 - Peter Simons - -- Use https URL to refer to bugs.opensuse.org. - -------------------------------------------------------------------- -Fri Aug 17 14:30:43 UTC 2018 - psimons@suse.com - -- Update Cabal build information to support GHC 8.6.x. - -------------------------------------------------------------------- -Wed Jul 18 14:26:26 UTC 2018 - psimons@suse.com - -- Cosmetic: replace tabs with blanks, strip trailing white space, - and update copyright headers with spec-cleaner. - -------------------------------------------------------------------- -Mon May 14 17:02:11 UTC 2018 - psimons@suse.com - -- Update hashable to version 1.2.7.0. - - * Add `Hashable` and `Hashable1` instances for `Complex` - - * Fix undefined behavior in `hashable_fn_hash()` implementation - due to signed integer overflow (#152) - - * Mark `Data.Hashable.Lifted` as `Trustworthy` (re SafeHaskell) - - * Support GHC 8.4 - -------------------------------------------------------------------- -Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com - -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -------------------------------------------------------------------- -Sat Jul 8 03:02:09 UTC 2017 - psimons@suse.com - -- Update to version 1.2.6.1 revision 2. - -------------------------------------------------------------------- -Sun Jun 25 18:41:41 UTC 2017 - psimons@suse.com - -- Update to version 1.2.6.1 revision 1. - -------------------------------------------------------------------- -Mon Mar 27 12:41:05 UTC 2017 - psimons@suse.com - -- Update to version 1.2.6.0 revision 1 with cabal2obs. - -------------------------------------------------------------------- -Sun Feb 12 14:20:09 UTC 2017 - psimons@suse.com - -- Update to version 1.2.5.0 with cabal2obs. - -------------------------------------------------------------------- -Sun Jul 10 17:08:32 UTC 2016 - psimons@suse.com - -- Update to version 1.2.4.0 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Sun Jan 17 10:13:24 UTC 2016 - mimi.vx@gmail.com - -- update to 1.2.4.0 -* Add instances for: Unique, Version, Fixed, NonEmpty, Min, Max, Arg, - First, Last, WrappedMonoid, Option - -------------------------------------------------------------------- -Sun Jun 28 16:43:54 UTC 2015 - mimi.vx@gmail.com - -- update to 1.2.3.3 -* Support integer-simple. - -------------------------------------------------------------------- -Sun Apr 12 18:40:00 UTC 2015 - mimi.vx@gmail.com - -- update to 1.2.3.2 -+ disable SSE2 on i586 arch -* Add support for GHC 7.10 typeRepFingerprint -* Added support for random 1.1.*. -* Silence integer literal overflow warning -* Add support for GHC 7.10 `integer-gmp2` & `Natural` -* Add instance for Data.Void -* Make the SSE .cabal flags manual -* Add an upper bound on bytestring - -------------------------------------------------------------------- -Tue Sep 9 20:29:11 UTC 2014 - peter.trommler@ohm-hochschule.de - -- update to 1.2.2.0 -* several performance fixes including use of SSE and SSE2 -* Haskell Platform 2014.2.0.0 - -------------------------------------------------------------------- -Tue Sep 2 08:58:18 UTC 2014 - peter.trommler@ohm-hochschule.de - -- regenerate spec file - -------------------------------------------------------------------- -Sat Aug 23 00:11:47 UTC 2014 - peter.trommler@ohm-hochschule.de - -- enable PowerPC builds - -------------------------------------------------------------------- -Mon May 6 14:55:41 UTC 2013 - peter.trommler@ohm-hochschule.de - -- update to 1.1.2.5 from upstream -* changelog not updated since 1.1.1.0 -- version required for Haskell Platform 2013.2 -- more transparent packaging (fewer macros) - -------------------------------------------------------------------- -Thu Jun 7 19:07:50 UTC 2012 - herbert@graeber-clan.de - -- update to version 1.1.2.3 - spec file template generated by cabal2spec-0.25.5 - -------------------------------------------------------------------- -Sun Feb 5 16:47:19 UTC 2012 - herbert@graeber-clan.de - -- Initial package diff --git a/ghc-hashable.spec b/ghc-hashable.spec index 35943e6..b628c89 100644 --- a/ghc-hashable.spec +++ b/ghc-hashable.spec @@ -19,13 +19,12 @@ %global pkg_name hashable %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.2.7.0 +Version: 1.3.0.0 Release: 0 Summary: A class for types that can be converted to a hash value License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-deepseq-devel @@ -59,7 +58,6 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ifarch i586 diff --git a/hashable-1.2.7.0.tar.gz b/hashable-1.2.7.0.tar.gz deleted file mode 100644 index d19aea5..0000000 --- a/hashable-1.2.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ecb5efc0586023f5a0dc861100621c1dbb4cbb2f0516829a16ebac39f0432abf -size 30182 diff --git a/hashable-1.3.0.0.tar.gz b/hashable-1.3.0.0.tar.gz new file mode 100644 index 0000000..a4cf5ea --- /dev/null +++ b/hashable-1.3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:822e5413fbccca6ae884d3aba4066422c8b5d58d23d18b9ecb5c03273bb19ab4 +size 29835 diff --git a/hashable.cabal b/hashable.cabal deleted file mode 100644 index b09e9e0..0000000 --- a/hashable.cabal +++ /dev/null @@ -1,180 +0,0 @@ -Cabal-version: 1.12 -Name: hashable -Version: 1.2.7.0 -x-revision: 1 -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 - exists for the benefit of hashing-based data - structures. The package provides instances for - basic types and a way to combine hash values. -Homepage: http://github.com/tibbe/hashable -License: BSD3 -License-file: LICENSE -Author: Milan Straka - Johan Tibell -Maintainer: johan.tibell@gmail.com -bug-reports: https://github.com/tibbe/hashable/issues -Stability: Provisional -Category: Data -Build-type: Simple --- tests/Properties.hs shouldn't have to go here, but the source files --- for the test-suite stanzas don't get picked up by `cabal sdist`. -tested-with: GHC==8.4.1, GHC==8.2.2, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2 - -Extra-source-files: - CHANGES.md, README.md, tests/Properties.hs, - benchmarks/Benchmarks.hs, benchmarks/cbits/*.c, benchmarks/cbits/*.h - -Flag integer-gmp - Description: Are we using integer-gmp to provide fast Integer instances? - Default: True - -Flag sse2 - Description: Do we want to assume that a target supports SSE 2? - Default: True - Manual: True - -Flag sse41 - Description: Do we want to assume that a target supports SSE 4.1? - Default: False - Manual: True - -Flag examples - Description: Build example modules - Default: False - Manual: True - -Library - Exposed-modules: Data.Hashable - Data.Hashable.Lifted - Other-modules: Data.Hashable.Class - Build-depends: base >= 4.4 && < 4.13, - bytestring >= 0.9 && < 0.11, - deepseq >= 1.3 && < 1.5 - if impl(ghc) - Build-depends: ghc-prim, - text >= 0.11.0.5 - if impl(ghc) && flag(integer-gmp) - Build-depends: integer-gmp >= 0.2 - - if impl(ghc >= 7.2.1) - CPP-Options: -DGENERICS - Other-modules: Data.Hashable.Generic - - C-sources: - cbits/fnv.c - - Ghc-options: -Wall - if impl(ghc >= 6.8) - Ghc-options: -fwarn-tabs - else - c-sources: cbits/getRandomBytes.c - other-modules: Data.Hashable.RandomSource - if os(windows) - extra-libraries: advapi32 - - Default-Language: Haskell2010 - -Test-suite tests - Type: exitcode-stdio-1.0 - Hs-source-dirs: tests - Main-is: Main.hs - Other-modules: Properties Regress - Build-depends: base >= 4.0 && < 5.0, - bytestring, - ghc-prim, - hashable, - test-framework >= 0.3.3, - test-framework-hunit, - test-framework-quickcheck2 >= 0.2.9, - HUnit, - QuickCheck >= 2.4.0.1, - random >= 1.0 && < 1.2, - text >= 0.11.0.5 - if !os(windows) - Build-depends: unix - CPP-options: -DHAVE_MMAP - Other-modules: Regress.Mmap - - Ghc-options: -Wall -fno-warn-orphans - if impl(ghc >= 7.2.1) - CPP-Options: -DGENERICS - - Default-Language: Haskell2010 - -benchmark benchmarks - -- We cannot depend on the hashable library directly as that creates - -- a dependency cycle. - hs-source-dirs: . benchmarks - - main-is: Benchmarks.hs - other-modules: - Data.Hashable - Data.Hashable.Class - Data.Hashable.RandomSource - Data.Hashable.SipHash - type: exitcode-stdio-1.0 - - build-depends: - base, - bytestring, - criterion >= 1.0, - ghc-prim, - siphash, - text - - if impl(ghc) - Build-depends: ghc-prim, - text >= 0.11.0.5 - if impl(ghc) && flag(integer-gmp) - Build-depends: integer-gmp >= 0.2 - - if impl(ghc >= 7.2.1) - CPP-Options: -DGENERICS - - include-dirs: - benchmarks/cbits - - includes: - siphash.h - - c-sources: - benchmarks/cbits/inthash.c - benchmarks/cbits/siphash.c - benchmarks/cbits/wang.c - cbits/fnv.c - - if (arch(i386) || arch(x86_64)) && flag(sse2) - cpp-options: -DHAVE_SSE2 - c-sources: - benchmarks/cbits/siphash-sse2.c - - if flag(sse41) - cpp-options: -DHAVE_SSE41 - c-sources: - benchmarks/cbits/siphash-sse41.c - - Ghc-options: -Wall -O2 - if impl(ghc >= 6.8) - Ghc-options: -fwarn-tabs - else - c-sources: cbits/getRandomBytes.c - other-modules: Data.Hashable.RandomSource - if os(windows) - extra-libraries: advapi32 - - Default-Language: Haskell2010 - -Executable hashable-examples - if flag(examples) - build-depends: base, hashable - else - buildable: False - hs-source-dirs: examples - main-is: Main.hs - Default-Language: Haskell2010 - -source-repository head - type: git - location: https://github.com/tibbe/hashable.git