diff --git a/attoparsec-0.13.2.3.tar.gz b/attoparsec-0.13.2.3.tar.gz deleted file mode 100644 index 0452e4c..0000000 --- a/attoparsec-0.13.2.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3d1ac6713505e520ebb51f26cfb5f6e5a0825e25394a51419c7e035b60b2f2d9 -size 162346 diff --git a/attoparsec-0.13.2.4.tar.gz b/attoparsec-0.13.2.4.tar.gz new file mode 100644 index 0000000..49c2e4e --- /dev/null +++ b/attoparsec-0.13.2.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba66cd6de1749ec92568db1b9c905b43a849f0ad918d45d7b594407a02ebefb2 +size 163431 diff --git a/attoparsec.cabal b/attoparsec.cabal deleted file mode 100644 index c5e6f30..0000000 --- a/attoparsec.cabal +++ /dev/null @@ -1,194 +0,0 @@ -name: attoparsec -version: 0.13.2.3 -x-revision: 1 -license: BSD3 -license-file: LICENSE -category: Text, Parsing -author: Bryan O'Sullivan -maintainer: Bryan O'Sullivan , Ben Gamari -stability: experimental -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 -synopsis: Fast combinator parsing for bytestrings and text -cabal-version: >= 1.8 -homepage: https://github.com/bos/attoparsec -bug-reports: https://github.com/bos/attoparsec/issues -build-type: Simple -description: - A fast parser combinator library, aimed particularly at dealing - efficiently with network protocols and complicated text/binary - file formats. -extra-source-files: - README.markdown - benchmarks/*.cabal - benchmarks/*.hs - benchmarks/*.txt - benchmarks/json-data/*.json - benchmarks/Makefile - benchmarks/med.txt.bz2 - changelog.md - examples/*.c - examples/*.hs - examples/Makefile - tests/*.hs - tests/QC/*.hs - tests/QC/IPv6/*.hs - -Flag developer - Description: Whether to build the library in development mode - Default: False - Manual: True - -library - build-depends: array, - base >= 4.3 && < 5, - bytestring, - containers, - deepseq, - scientific >= 0.3.1 && < 0.4, - transformers, - text >= 1.1.1.3 - if impl(ghc < 7.4) - build-depends: - bytestring < 0.10.4.0 - - if !impl(ghc >= 8.0) - -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+ - build-depends: fail == 4.9.*, - semigroups >=0.16.1 && <0.20 - - exposed-modules: Data.Attoparsec - Data.Attoparsec.ByteString - Data.Attoparsec.ByteString.Char8 - Data.Attoparsec.ByteString.Lazy - Data.Attoparsec.Char8 - Data.Attoparsec.Combinator - Data.Attoparsec.Internal - Data.Attoparsec.Internal.Types - Data.Attoparsec.Lazy - Data.Attoparsec.Number - Data.Attoparsec.Text - Data.Attoparsec.Text.Lazy - Data.Attoparsec.Types - Data.Attoparsec.Zepto - other-modules: Data.Attoparsec.ByteString.Buffer - Data.Attoparsec.ByteString.FastSet - Data.Attoparsec.ByteString.Internal - Data.Attoparsec.Internal.Fhthagn - Data.Attoparsec.Text.Buffer - Data.Attoparsec.Text.FastSet - Data.Attoparsec.Text.Internal - ghc-options: -O2 -Wall - - if flag(developer) - ghc-prof-options: -auto-all - ghc-options: -Werror - -test-suite tests - type: exitcode-stdio-1.0 - hs-source-dirs: tests . - main-is: QC.hs - other-modules: QC.Buffer - QC.ByteString - QC.Combinator - QC.Common - QC.IPv6.Internal - QC.IPv6.Types - QC.Rechunked - QC.Simple - QC.Text - QC.Text.FastSet - QC.Text.Regressions - - other-modules: Data.Attoparsec.ByteString - Data.Attoparsec.ByteString.Buffer - Data.Attoparsec.ByteString.Char8 - Data.Attoparsec.ByteString.FastSet - Data.Attoparsec.ByteString.Internal - Data.Attoparsec.ByteString.Lazy - Data.Attoparsec.Combinator - Data.Attoparsec.Internal - Data.Attoparsec.Internal.Fhthagn - Data.Attoparsec.Internal.Types - Data.Attoparsec.Number - Data.Attoparsec.Text - Data.Attoparsec.Text.Buffer - Data.Attoparsec.Text.FastSet - Data.Attoparsec.Text.Internal - Data.Attoparsec.Text.Lazy - Data.Attoparsec.Zepto - - ghc-options: - -Wall -threaded -rtsopts - - if flag(developer) - ghc-options: -Werror - - build-depends: - array, - base, - bytestring, - deepseq >= 1.1, - QuickCheck >= 2.13.2 && < 2.14, - quickcheck-unicode, - scientific, - tasty >= 0.11, - tasty-quickcheck >= 0.8, - text, - transformers, - vector - - if !impl(ghc >= 8.0) - -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+ - build-depends: fail == 4.9.*, - semigroups >=0.16.1 && <0.19 - -benchmark benchmarks - type: exitcode-stdio-1.0 - hs-source-dirs: benchmarks benchmarks/warp-3.0.1.1 . - ghc-options: -O2 -Wall -rtsopts - main-is: Benchmarks.hs - other-modules: - Common - HeadersByteString - HeadersByteString.Atto - HeadersText - Links - Network.Wai.Handler.Warp.ReadInt - Network.Wai.Handler.Warp.RequestHeader - Numbers - Sets - TextFastSet - Warp - ghc-options: -O2 -Wall - - if flag(developer) - ghc-options: -Werror - - build-depends: - array, - base == 4.*, - bytestring >= 0.10.4.0, - case-insensitive, - containers, - criterion >= 1.0, - deepseq >= 1.1, - directory, - filepath, - ghc-prim, - http-types, - parsec >= 3.1.2, - scientific, - text >= 1.1.1.0, - transformers, - unordered-containers, - vector - - if !impl(ghc >= 8.0) - -- Data.Semigroup && Control.Monad.Fail are available in base-4.9+ - build-depends: fail == 4.9.*, - semigroups >=0.16.1 && <0.19 - -source-repository head - type: git - location: https://github.com/bos/attoparsec - diff --git a/ghc-attoparsec.changes b/ghc-attoparsec.changes index 298845a..e375fc3 100644 --- a/ghc-attoparsec.changes +++ b/ghc-attoparsec.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Aug 18 10:44:02 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +------------------------------------------------------------------- +Tue Jun 16 11:13:45 UTC 2020 - Peter Simons + +- Re-generate file with latest version of spec-cleaner. + +------------------------------------------------------------------- +Wed May 6 06:54:13 UTC 2020 - psimons@suse.com + +- Update attoparsec to version 0.13.2.4. + Upstream has not updated the file "changelog.md" since the last + release. + ------------------------------------------------------------------- Fri Nov 8 16:13:14 UTC 2019 - Peter Simons diff --git a/ghc-attoparsec.spec b/ghc-attoparsec.spec index ae8db4c..b18b574 100644 --- a/ghc-attoparsec.spec +++ b/ghc-attoparsec.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-attoparsec # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,13 +19,12 @@ %global pkg_name attoparsec %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.13.2.3 +Version: 0.13.2.4 Release: 0 Summary: Fast combinator parsing for bytestrings and text License: BSD-3-Clause URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-array-devel BuildRequires: ghc-bytestring-devel @@ -58,8 +57,7 @@ Requires(postun): ghc-compiler = %{ghc_version} This package provides the Haskell %{pkg_name} library development files. %prep -%setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal +%autosetup -n %{pkg_name}-%{version} %build %ghc_lib_build