update to 0.20

This commit is contained in:
Jens Petersen 2023-01-23 01:36:48 +08:00
parent 306feaae06
commit 72fb18376f
4 changed files with 13 additions and 198 deletions

1
.gitignore vendored
View File

@ -11,3 +11,4 @@
/semigroups-0.18.5.tar.gz
/semigroups-0.19.1.tar.gz
/semigroups-0.19.2.tar.gz
/semigroups-0.20.tar.gz

View File

@ -1,26 +1,27 @@
# generated by cabal-rpm-2.0.9
# generated by cabal-rpm-2.1.0
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/
%global pkg_name semigroups
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 0.19.2
Release: 2%{?dist}
Version: 0.20
Release: 1%{?dist}
Summary: Anything that associates
License: BSD
License: BSD-3-Clause
Url: https://hackage.haskell.org/package/%{pkg_name}
# Begin cabal-rpm sources:
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
# End cabal-rpm sources
# Begin cabal-rpm deps:
BuildRequires: dos2unix
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-base-devel
%if %{with ghc_prof}
BuildRequires: ghc-base-prof
%endif
# End cabal-rpm deps
%description
@ -69,7 +70,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
# Begin cabal-rpm setup:
%setup -q -n %{pkgver}
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
# End cabal-rpm setup
@ -107,6 +107,10 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
%changelog
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 0.20-1
- https://hackage.haskell.org/package/semigroups-0.20/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1,190 +0,0 @@
name: semigroups
category: Algebra, Data, Data Structures, Math
version: 0.19.2
x-revision: 2
license: BSD3
cabal-version: >= 1.10
license-file: LICENSE
author: Edward A. Kmett
maintainer: Edward A. Kmett <ekmett@gmail.com>
stability: provisional
homepage: http://github.com/ekmett/semigroups/
bug-reports: http://github.com/ekmett/semigroups/issues
copyright: Copyright (C) 2011-2015 Edward A. Kmett
synopsis: Anything that associates
description:
In mathematics, a semigroup is an algebraic structure consisting of a set together with an associative binary operation. A semigroup generalizes a monoid in that there might not exist an identity element. It also (originally) generalized a group (a monoid with all inverses) to a type where every element did not have to have an inverse, thus the name semigroup.
build-type: Simple
extra-source-files: README.markdown CHANGELOG.markdown
tested-with: GHC == 7.0.4
, GHC == 7.2.2
, GHC == 7.4.2
, GHC == 7.6.3
, GHC == 7.8.4
, GHC == 7.10.3
, GHC == 8.0.2
, GHC == 8.2.2
, GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.4
, GHC == 8.10.7
, GHC == 9.0.1
, GHC == 9.2.*
source-repository head
type: git
location: git://github.com/ekmett/semigroups.git
flag hashable
description:
You can disable the use of the `hashable` package using `-f-hashable`.
.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
.
If disabled we will not supply instances of `Hashable`
.
Note: `-f-hashable` implies `-f-unordered-containers`, as we are necessarily not able to supply those instances as well.
default: True
manual: True
flag binary
description:
You can disable the use of the `binary` package using `-f-binary`.
.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
default: True
manual: True
flag bytestring
description:
You can disable the use of the `bytestring` package using `-f-bytestring`.
.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
default: True
manual: True
flag bytestring-builder
description:
Decides whether to use an older version of bytestring along with bytestring-builder or just a newer version of bytestring.
.
This flag normally toggles automatically but you can use `-fbytestring-builder` or `-f-bytestring-builder` to explicitly change it.
default: False
manual: False
flag containers
description:
You can disable the use of the `containers` package using `-f-containers`.
.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
default: True
manual: True
flag deepseq
description:
You can disable the use of the `deepseq` package using `-f-deepseq`.
.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
default: True
manual: True
flag tagged
description:
You can disable the use of the `tagged` package using `-f-tagged`.
.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
default: True
manual: True
flag template-haskell
description:
You can disable the use of the `template-haskell` package using `-f-template-haskell`.
.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
default: True
manual: True
flag text
description:
You can disable the use of the `text` package using `-f-text`.
.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
default: True
manual: True
flag transformers
description:
You can disable the use of the `transformers` and `transformers-compat` packages using `-f-transformers`.
.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
default: True
manual: True
flag unordered-containers
description:
You can disable the use of the `unordered-containers` package using `-f-unordered-containers`.
.
Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users.
default: True
manual: True
library
default-language: Haskell98
hs-source-dirs: src
ghc-options: -Wall
build-depends: base >= 2 && < 5
if impl(ghc >= 7.2)
exposed-modules:
Data.Semigroup.Generic
-- legacy configuration
if impl(ghc < 7.11.20151002)
-- starting with GHC 8 these modules are provided by `base`
hs-source-dirs: src-ghc7
exposed-modules:
Data.Semigroup
Data.List.NonEmpty
-- Not needed anymore since GHC 7.10
if impl(ghc < 7.10)
build-depends: nats >= 0.1 && < 2
if impl(ghc >= 7.2 && < 7.5)
build-depends: ghc-prim
if flag(binary)
build-depends: binary
if flag(bytestring)
if flag(bytestring-builder)
build-depends: bytestring >= 0.9 && < 0.10.4,
bytestring-builder >= 0.10.4 && < 1
else
build-depends: bytestring >= 0.10.4 && < 1
if flag(containers)
build-depends: containers >= 0.3 && < 0.7
if flag(deepseq)
build-depends: deepseq >= 1.1 && < 1.5
if flag(tagged)
build-depends: tagged >= 0.4.4 && < 1
if flag(text)
build-depends: text >= 0.10 && < 2
if flag(hashable)
build-depends: hashable >= 1.2.5.0 && < 1.4
if flag(hashable) && flag(unordered-containers)
build-depends: unordered-containers >= 0.2 && < 0.3
if flag(transformers)
build-depends: transformers >= 0.2 && < 0.7
, transformers-compat >= 0.5 && < 1
if flag(template-haskell)
build-depends: template-haskell >=2.5.0.0 && <2.11
other-modules: Paths_semigroups

View File

@ -1 +1 @@
SHA512 (semigroups-0.19.2.tar.gz) = fee8104828fa709cbfceef5e55101a3f967cb16da83a3004bc4ebebded9318dd97329934de69e451298d7828ee2f97b0e989b3f61757e8da539b97b5a51aeaa5
SHA512 (semigroups-0.20.tar.gz) = 76e61ffb854276a7760619acd093df0c80c17a58a553ba9f9be3148998c4905784ca5840041a9afb800eab220c62b59567d1be95be478c21b4446021bab7b923