1
0

Accepting request 1008465 from devel:languages:haskell

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1008465
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-generic-data?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2022-10-13 13:42:02 +00:00 committed by Git OBS Bridge
commit 50f897ebae
4 changed files with 27 additions and 8 deletions

View File

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

View File

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

View File

@ -1,3 +1,25 @@
-------------------------------------------------------------------
Sun Aug 14 10:57:54 UTC 2022 - Peter Simons <psimons@suse.com>
- Update generic-data to version 1.0.0.0.
# 1.0.0.0
- `Generically` and `Generically1` are in *base* 4.17 (GHC 9.4.1)!
+ *generic-data* reexports `Generically` and `Generically1` if using *base* >= 4.17.
The following instances remain as orphans: `Eq`, `Ord`, `Read`, `Show`,
`Enum`, `Ix`, `Bounded`, `Foldable`, `Traversable`, `Read1`, `Show1`.
+ base 4.17 includes instances for the non-stock-derivable classes:
`Semigroup` and `Monoid` for `Generically`; `Eq1`, `Ord1`, `Functor`,
`Applicative`, and `Alternative` for `Generically1`.
+ Note: the `Semigroup` and `Monoid` instances of *base*'s `Generically`
are those of *generic-data*'s `GenericProduct` (which is subtly different
from `Generically`'s previous instance in *generic-data*).
+ `Generically` and `Generically1` are no longer defined using record syntax,
so the `unGenerically`(`1`) field accessor no longer exists.
The field accessors for `FiniteEnumeration` and `GenericProduct` were also
removed for uniformity.
-------------------------------------------------------------------
Fri Oct 1 08:10:39 UTC 2021 - psimons@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-generic-data
#
# 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
@ -19,7 +19,7 @@
%global pkg_name generic-data
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.9.2.1
Version: 1.0.0.0
Release: 0
Summary: Deriving instances with GHC.Generics and related utilities
License: MIT
@ -35,12 +35,9 @@ BuildRequires: ghc-show-combinators-devel
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-generic-lens-devel
BuildRequires: ghc-inspection-testing-devel
BuildRequires: ghc-one-liner-devel
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-hunit-devel
BuildRequires: ghc-template-haskell-devel
BuildRequires: ghc-unordered-containers-devel
%endif
%description