diff --git a/ghc-hashtables.changes b/ghc-hashtables.changes index cbedbfe..ccc4011 100644 --- a/ghc-hashtables.changes +++ b/ghc-hashtables.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Wed Sep 9 02:00:37 UTC 2020 - psimons@suse.com + +- Update hashtables to version 1.2.4.1. + Upstream has edited the change log file since the last release in + a non-trivial way, i.e. they did more than just add a new entry + at the top. You can review the file at: + http://hackage.haskell.org/package/hashtables-1.2.4.1/src/changelog.md + +------------------------------------------------------------------- +Tue Sep 8 02:00:37 UTC 2020 - psimons@suse.com + +- Update hashtables to version 1.2.4.0. + ## 1.2.4.0 + + Fix a [correctness bug](https://github.com/gregorycollins/hashtables/issues/55) + with cuckoo hash tables and the new `mutate` function introduced in 1.2.3.0. + ------------------------------------------------------------------- Tue Aug 18 10:44:58 UTC 2020 - Peter Simons diff --git a/ghc-hashtables.spec b/ghc-hashtables.spec index e54afe1..f0ef656 100644 --- a/ghc-hashtables.spec +++ b/ghc-hashtables.spec @@ -17,8 +17,9 @@ %global pkg_name hashtables +%bcond_with tests Name: ghc-%{pkg_name} -Version: 1.2.3.4 +Version: 1.2.4.1 Release: 0 Summary: Mutable hash tables in the ST monad License: BSD-3-Clause @@ -29,6 +30,14 @@ BuildRequires: ghc-hashable-devel BuildRequires: ghc-primitive-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-vector-devel +%if %{with tests} +BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-mwc-random-devel +BuildRequires: ghc-test-framework-devel +BuildRequires: ghc-test-framework-hunit-devel +BuildRequires: ghc-test-framework-quickcheck2-devel +%endif %description This package provides a couple of different implementations of mutable hash @@ -123,6 +132,9 @@ This package provides the Haskell %{pkg_name} library development files. %install %ghc_lib_install +%check +%cabal_test + %post devel %ghc_pkg_recache diff --git a/hashtables-1.2.3.4.tar.gz b/hashtables-1.2.3.4.tar.gz deleted file mode 100644 index f728834..0000000 --- a/hashtables-1.2.3.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:125ce62701fba3f666609f5c75f452005aa5d32dff4eeee3f3903c30b2ed55e6 -size 58458 diff --git a/hashtables-1.2.4.1.tar.gz b/hashtables-1.2.4.1.tar.gz new file mode 100644 index 0000000..4e2dd96 --- /dev/null +++ b/hashtables-1.2.4.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ac3bf86030eeb1dd0f3d0cd1967cb610ee9564251622371fda560bc4e7def6d +size 58425