diff --git a/.gitignore b/.gitignore index e304f83..43a7569 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /megaparsec-7.0.5.tar.gz /megaparsec-8.0.0.tar.gz /megaparsec-9.0.1.tar.gz +/megaparsec-9.2.2.tar.gz diff --git a/ghc-megaparsec.spec b/ghc-megaparsec.spec index d329cba..136ce21 100644 --- a/ghc-megaparsec.spec +++ b/ghc-megaparsec.spec @@ -1,24 +1,34 @@ -# 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 megaparsec %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 9.0.1 -Release: 4%{?dist} +Version: 9.2.2 +Release: 1%{?dist} Summary: Monadic parser combinators -License: BSD +License: BSD-2-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: ghc-Cabal-devel BuildRequires: ghc-rpm-macros +BuildRequires: ghc-base-devel +BuildRequires: ghc-bytestring-devel +BuildRequires: ghc-case-insensitive-devel +BuildRequires: ghc-containers-devel +BuildRequires: ghc-deepseq-devel +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-parser-combinators-devel +BuildRequires: ghc-scientific-devel +BuildRequires: ghc-text-devel +BuildRequires: ghc-transformers-devel +%if %{with ghc_prof} BuildRequires: ghc-base-prof BuildRequires: ghc-bytestring-prof BuildRequires: ghc-case-insensitive-prof @@ -29,6 +39,7 @@ BuildRequires: ghc-parser-combinators-prof BuildRequires: ghc-scientific-prof BuildRequires: ghc-text-prof BuildRequires: ghc-transformers-prof +%endif # End cabal-rpm deps %description @@ -75,7 +86,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -113,6 +123,10 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Sun Jan 22 2023 Jens Petersen - 9.2.2-1 +- https://hackage.haskell.org/package/megaparsec-9.2.2/changelog +- refresh to cabal-rpm-2.1.0 with SPDX migration + * Thu Jul 21 2022 Fedora Release Engineering - 9.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/megaparsec-9.0.1.cabal b/megaparsec-9.0.1.cabal deleted file mode 100644 index 35bd144..0000000 --- a/megaparsec-9.0.1.cabal +++ /dev/null @@ -1,117 +0,0 @@ -cabal-version: 1.18 -name: megaparsec -version: 9.0.1 -x-revision: 1 -license: BSD2 -license-file: LICENSE.md -maintainer: Mark Karpov -author: - Megaparsec contributors, - Paolo Martini , - Daan Leijen - -tested-with: ghc ==8.6.5 ghc ==8.8.4 ghc ==8.10.2 -homepage: https://github.com/mrkkrp/megaparsec -bug-reports: https://github.com/mrkkrp/megaparsec/issues -synopsis: Monadic parser combinators -description: - This is an industrial-strength monadic parser combinator library. - Megaparsec is a feature-rich package that tries to find a nice balance - between speed, flexibility, and quality of parse errors. - -category: Parsing -build-type: Simple -extra-doc-files: - CHANGELOG.md - README.md - -source-repository head - type: git - location: https://github.com/mrkkrp/megaparsec.git - -flag dev - description: Turn on development settings. - default: False - manual: True - -library - exposed-modules: - Text.Megaparsec - Text.Megaparsec.Byte - Text.Megaparsec.Byte.Lexer - Text.Megaparsec.Char - Text.Megaparsec.Char.Lexer - Text.Megaparsec.Debug - Text.Megaparsec.Error - Text.Megaparsec.Error.Builder - Text.Megaparsec.Internal - Text.Megaparsec.Pos - Text.Megaparsec.Stream - - other-modules: - Text.Megaparsec.Class - Text.Megaparsec.Common - Text.Megaparsec.Lexer - Text.Megaparsec.State - - default-language: Haskell2010 - build-depends: - base >=4.12 && <5.0, - bytestring >=0.2 && <0.12, - case-insensitive >=1.2 && <1.3, - containers >=0.5 && <0.7, - deepseq >=1.3 && <1.5, - mtl >=2.2.2 && <3.0, - parser-combinators >=1.0 && <2.0, - scientific >=0.3.1 && <0.4, - text >=0.2 && <1.3, - transformers >=0.4 && <0.6 - - if flag(dev) - ghc-options: -O0 -Wall -Werror - - else - ghc-options: -O2 -Wall - - if flag(dev) - ghc-options: - -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns - -Wnoncanonical-monad-instances -Wno-missing-home-modules - -benchmark bench-speed - type: exitcode-stdio-1.0 - main-is: Main.hs - hs-source-dirs: bench/speed - default-language: Haskell2010 - build-depends: - base >=4.12 && <5.0, - containers >=0.5 && <0.7, - criterion >=0.6.2.1 && <1.6, - deepseq >=1.3 && <1.5, - megaparsec -any, - text >=0.2 && <1.3 - - if flag(dev) - ghc-options: -O2 -Wall -Werror - - else - ghc-options: -O2 -Wall - -benchmark bench-memory - type: exitcode-stdio-1.0 - main-is: Main.hs - hs-source-dirs: bench/memory - default-language: Haskell2010 - build-depends: - base >=4.12 && <5.0, - containers >=0.5 && <0.7, - deepseq >=1.3 && <1.5, - megaparsec -any, - text >=0.2 && <1.3, - weigh >=0.0.4 - - if flag(dev) - ghc-options: -O2 -Wall -Werror - - else - ghc-options: -O2 -Wall diff --git a/sources b/sources index 14ff589..f4cfaca 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (megaparsec-9.0.1.tar.gz) = 24ae5f291611a06ff69199d642de32d6dc5efc40cf6c6ccddcc59ff9d210a7bbd061ca17f1b5e04c2dded72108f140785f4ccfa64898b41f4ac7e21784c7b074 +SHA512 (megaparsec-9.2.2.tar.gz) = 4cd759a91dcdd50a14ffca1f83afe1a2cb8b99f2afe589739f6fac2ad6ea7cbd7c7e8cb22924a1f8c5d64cbf1602f39b1e4137d9c8a2aeb005d8c970255d9fe4