update to 0.12.11

This commit is contained in:
Jens Petersen 2023-01-23 01:30:10 +08:00
parent d77a129120
commit cf8142512e
4 changed files with 24 additions and 123 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/parsers-0.12.10.tar.gz
/parsers-0.12.11.tar.gz

View File

@ -1,4 +1,4 @@
# 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 parsers
@ -7,21 +7,32 @@
# testsuite missing deps: quickcheck-instances
Name: ghc-%{pkg_name}
Version: 0.12.10
Release: 11%{?dist}
Version: 0.12.11
Release: 1%{?dist}
Summary: Parsing combinators
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-attoparsec-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-orphans-devel
BuildRequires: ghc-binary-devel
BuildRequires: ghc-charset-devel
BuildRequires: ghc-containers-devel
BuildRequires: ghc-mtl-devel
BuildRequires: ghc-parsec-devel
BuildRequires: ghc-scientific-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-transformers-devel
BuildRequires: ghc-unordered-containers-devel
%if %{with ghc_prof}
BuildRequires: ghc-attoparsec-prof
BuildRequires: ghc-base-prof
BuildRequires: ghc-base-orphans-prof
@ -31,10 +42,10 @@ BuildRequires: ghc-containers-prof
BuildRequires: ghc-mtl-prof
BuildRequires: ghc-parsec-prof
BuildRequires: ghc-scientific-prof
BuildRequires: ghc-semigroups-prof
BuildRequires: ghc-text-prof
BuildRequires: ghc-transformers-prof
BuildRequires: ghc-unordered-containers-prof
%endif
# End cabal-rpm deps
%description
@ -85,7 +96,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
@ -123,6 +133,10 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
%changelog
* Sun Jan 22 2023 Jens Petersen <petersen@redhat.com> - 0.12.11-1
- https://hackage.haskell.org/package/parsers-0.12.11/changelog
- refresh to cabal-rpm-2.1.0 with SPDX migration
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.10-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

View File

@ -1,114 +0,0 @@
name: parsers
category: Text, Parsing
version: 0.12.10
x-revision: 2
license: BSD3
cabal-version: >= 1.10
license-file: LICENSE
author: Edward A. Kmett
maintainer: Edward A. Kmett <ekmett@gmail.com>
stability: experimental
homepage: http://github.com/ekmett/parsers/
bug-reports: http://github.com/ekmett/parsers/issues
copyright: Copyright (C) 2010-2013 Edward A. Kmett
synopsis: Parsing combinators
description:
This library provides convenient combinators for working with and building parsing combinator libraries.
.
Given a few simple instances, e.g. for the class 'Text.Parser.Combinators.Parsing' in "Text.Parser.Combinators.Parsing" you
get access to a large number of canned definitions. Instances exist for the parsers provided by @parsec@,
@attoparsec@ and bases "Text.Read".
build-type: Simple
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.1
extra-source-files:
.travis.yml
CHANGELOG.markdown
README.markdown
HLint.hs
source-repository head
type: git
location: git://github.com/ekmett/parsers.git
flag binary
default: True
description:
You can disable the use of the `binary` package using `-f-binary`.
flag parsec
default: True
description:
You can disable the use of the `parsec` package using `-f-parsec`.
flag attoparsec
default: True
description:
You can disable the use of the `attoparsec` package using `-f-attoparsec`.
library
default-language: Haskell2010
exposed-modules:
Text.Parser.Char
Text.Parser.Combinators
Text.Parser.LookAhead
Text.Parser.Permutation
Text.Parser.Expression
Text.Parser.Token
Text.Parser.Token.Style
Text.Parser.Token.Highlight
hs-source-dirs: src
ghc-options: -Wall -fno-warn-wrong-do-bind -fwarn-monomorphism-restriction -fwarn-incomplete-record-updates
if impl(ghc >= 7.2)
ghc-options: -fwarn-identities -fwarn-incomplete-uni-patterns
if impl(ghc >= 7.10)
ghc-options: -fno-warn-trustworthy-safe
build-depends:
base >= 4.3 && < 5,
base-orphans >= 0.3 && < 1,
charset >= 0.3 && < 1,
containers >= 0.4 && < 0.7,
semigroups >= 0.12 && < 1,
text >= 0.10 && < 2.1,
transformers >= 0.2 && < 0.6,
mtl >= 2.0.1 && < 2.3,
scientific >= 0.3 && < 0.4,
unordered-containers >= 0.2 && < 0.3
if flag(binary)
build-depends: binary >= 0.7.2 && < 1
if flag(parsec)
build-depends: parsec >= 3.1 && < 3.2
if flag(attoparsec)
build-depends: attoparsec >= 0.12.1.4 && < 0.15
test-suite quickcheck
type: exitcode-stdio-1.0
main-is: QuickCheck.hs
default-language: Haskell2010
build-depends:
base == 4.*,
bytestring,
parsers,
QuickCheck,
quickcheck-instances
ghc-options: -Wall -threaded
hs-source-dirs: tests
if flag(parsec)
build-depends: parsec >= 3
if flag(attoparsec)
build-depends: attoparsec

View File

@ -1 +1 @@
SHA512 (parsers-0.12.10.tar.gz) = 99ff90de4e60be3c03c8e1e5ae7902a37424c3139ccf566ff1cbc363d176787bd60bb709ef6c56f5b446f1f1b7eca65aa5d431897a0f82a9d6f7fe77fd2ee49f
SHA512 (parsers-0.12.11.tar.gz) = 7ffa8b092aa731dc263151f755b52126924a8dd0a6c51aa52b044937976ad6410dd0755af5d361f5255c212e6cadc5793d15fa3a3fe26514c1324eeee71b4019