osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-hashtables revision:7, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-hashtables?expand=0&rev=15
This commit is contained in:
Peter Simons 2023-03-30 08:26:24 +00:00 committed by Git OBS Bridge
parent 5f1537f3f2
commit 8418692733
4 changed files with 58 additions and 5 deletions

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sun Oct 2 08:15:35 UTC 2022 - Peter Simons <psimons@suse.com>
- 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 Wed Nov 3 15:52:50 UTC 2021 - psimons@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-hashtables # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,27 +17,39 @@
%global pkg_name hashtables %global pkg_name hashtables
%global pkgver %{pkg_name}-%{version}
%bcond_with tests %bcond_with tests
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 1.2.4.2 Version: 1.3.1
Release: 0 Release: 0
Summary: Mutable hash tables in the ST monad Summary: Mutable hash tables in the ST monad
License: BSD-3-Clause License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name} URL: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
BuildRequires: ghc-hashable-devel BuildRequires: ghc-hashable-devel
BuildRequires: ghc-hashable-prof
BuildRequires: ghc-primitive-devel BuildRequires: ghc-primitive-devel
BuildRequires: ghc-primitive-prof
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
BuildRequires: ghc-vector-devel BuildRequires: ghc-vector-devel
BuildRequires: ghc-vector-prof
ExcludeArch: %{ix86} ExcludeArch: %{ix86}
%if %{with tests} %if %{with tests}
BuildRequires: ghc-HUnit-devel BuildRequires: ghc-HUnit-devel
BuildRequires: ghc-HUnit-prof
BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-QuickCheck-devel
BuildRequires: ghc-QuickCheck-prof
BuildRequires: ghc-mwc-random-devel BuildRequires: ghc-mwc-random-devel
BuildRequires: ghc-mwc-random-prof
BuildRequires: ghc-test-framework-devel BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-hunit-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-devel
BuildRequires: ghc-test-framework-quickcheck2-prof
%endif %endif
%description %description
@ -124,6 +136,22 @@ Requires(postun): ghc-compiler = %{ghc_version}
%description devel %description devel
This package provides the Haskell %{pkg_name} library development files. 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 %prep
%autosetup -n %{pkg_name}-%{version} %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 %files devel -f %{name}-devel.files
%doc README.md changelog.md %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 %changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a8e7220352500fdc90e80422c9fa3b47e1f7ad7f6f9da07f929fc7c5011470fc
size 58466

3
hashtables-1.3.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6f3d40eb22ab87279b9a0bf51c22307706b240c90a664c82bfae2392268c59c3
size 58697