diff --git a/ghc-hashtables.changes b/ghc-hashtables.changes index 8b983df..4a7f62c 100644 --- a/ghc-hashtables.changes +++ b/ghc-hashtables.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Sun Oct 2 08:15:35 UTC 2022 - Peter Simons + +- Update hashtables to version 1.3.1. + ## 1.3.1 + + Fix Noncanonical mappend definition warning. + Support more recent compilers. + + ## 1.3 + + Support Hashable 1.4. This new version of Hashable drops the Eq constraint, so the Eq constraint + needs to be dropped in the SPECIALIZE statements in Hashtables. + + ## 1.2.4.2 + + Cabal file: add missing other-modules + Silence import warnings. Know that we require ghc >= 7.8. + Fix build with GHC 9.2 + ------------------------------------------------------------------- Wed Nov 3 15:52:50 UTC 2021 - psimons@suse.com diff --git a/ghc-hashtables.spec b/ghc-hashtables.spec index 13a0e4b..82de78d 100644 --- a/ghc-hashtables.spec +++ b/ghc-hashtables.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-hashtables # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,27 +17,39 @@ %global pkg_name hashtables +%global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.2.4.2 +Version: 1.3.1 Release: 0 Summary: Mutable hash tables in the ST monad 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 BuildRequires: ghc-Cabal-devel +BuildRequires: ghc-base-devel +BuildRequires: ghc-base-prof BuildRequires: ghc-hashable-devel +BuildRequires: ghc-hashable-prof BuildRequires: ghc-primitive-devel +BuildRequires: ghc-primitive-prof BuildRequires: ghc-rpm-macros BuildRequires: ghc-vector-devel +BuildRequires: ghc-vector-prof ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-HUnit-devel +BuildRequires: ghc-HUnit-prof BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-QuickCheck-prof BuildRequires: ghc-mwc-random-devel +BuildRequires: ghc-mwc-random-prof BuildRequires: ghc-test-framework-devel BuildRequires: ghc-test-framework-hunit-devel +BuildRequires: ghc-test-framework-hunit-prof +BuildRequires: ghc-test-framework-prof BuildRequires: ghc-test-framework-quickcheck2-devel +BuildRequires: ghc-test-framework-quickcheck2-prof %endif %description @@ -124,6 +136,22 @@ Requires(postun): ghc-compiler = %{ghc_version} %description devel This package provides the Haskell %{pkg_name} library development files. +%package -n ghc-%{pkg_name}-doc +Summary: Haskell %{pkg_name} library documentation +Requires: ghc-filesystem +BuildArch: noarch + +%description -n ghc-%{pkg_name}-doc +This package provides the Haskell %{pkg_name} library documentation. + +%package -n ghc-%{pkg_name}-prof +Summary: Haskell %{pkg_name} profiling library +Requires: ghc-%{pkg_name}-devel = %{version}-%{release} +Supplements: (ghc-%{pkg_name}-devel and ghc-prof) + +%description -n ghc-%{pkg_name}-prof +This package provides the Haskell %{pkg_name} profiling library. + %prep %autosetup -n %{pkg_name}-%{version} @@ -148,4 +176,9 @@ This package provides the Haskell %{pkg_name} library development files. %files devel -f %{name}-devel.files %doc README.md changelog.md +%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files +%license LICENSE + +%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files + %changelog diff --git a/hashtables-1.2.4.2.tar.gz b/hashtables-1.2.4.2.tar.gz deleted file mode 100644 index 90ecf67..0000000 --- a/hashtables-1.2.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a8e7220352500fdc90e80422c9fa3b47e1f7ad7f6f9da07f929fc7c5011470fc -size 58466 diff --git a/hashtables-1.3.1.tar.gz b/hashtables-1.3.1.tar.gz new file mode 100644 index 0000000..058b1bd --- /dev/null +++ b/hashtables-1.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f3d40eb22ab87279b9a0bf51c22307706b240c90a664c82bfae2392268c59c3 +size 58697