diff --git a/base64-0.4.2.2.tar.gz b/base64-0.4.2.2.tar.gz deleted file mode 100644 index cb869f2..0000000 --- a/base64-0.4.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d11494eba734a8ee2e82afa13ff5c421227951efee40f3dd232d981222d03616 -size 22071 diff --git a/base64-0.4.2.3.tar.gz b/base64-0.4.2.3.tar.gz new file mode 100644 index 0000000..68a3fbd --- /dev/null +++ b/base64-0.4.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bcbf21179841fbf657772792bef453773e01ea8229ed42a7422fcb073bd7b8c1 +size 22017 diff --git a/base64.cabal b/base64.cabal deleted file mode 100644 index 5be226e..0000000 --- a/base64.cabal +++ /dev/null @@ -1,110 +0,0 @@ -cabal-version: 2.0 -name: base64 -version: 0.4.2.2 -x-revision: 1 -synopsis: Fast RFC 4648-compliant Base64 encoding -description: - RFC 4648-compliant padded and unpadded base64 and base64url encoding and decoding. This library provides - performant encoding and decoding primitives, as well as support for textual values. - -homepage: https://github.com/emilypi/base64 -bug-reports: https://github.com/emilypi/base64/issues -license: BSD3 -license-file: LICENSE -author: Emily Pillmore -maintainer: emilypi@cohomolo.gy -copyright: (c) 2019-2020 Emily Pillmore -category: Data -build-type: Simple -extra-doc-files: - CHANGELOG.md - README.md - -tested-with: - GHC ==8.2.2 - || ==8.4.3 - || ==8.4.4 - || ==8.6.3 - || ==8.6.5 - || ==8.8.1 - || ==8.10.1 - -source-repository head - type: git - location: https://github.com/emilypi/base64.git - -library - exposed-modules: - Data.ByteString.Base64 - Data.ByteString.Base64.URL - Data.ByteString.Lazy.Base64 - Data.ByteString.Lazy.Base64.URL - Data.ByteString.Short.Base64 - Data.ByteString.Short.Base64.URL - Data.Text.Encoding.Base64 - Data.Text.Encoding.Base64.Error - Data.Text.Encoding.Base64.URL - Data.Text.Lazy.Encoding.Base64 - Data.Text.Lazy.Encoding.Base64.URL - Data.Text.Short.Encoding.Base64 - Data.Text.Short.Encoding.Base64.URL - - other-modules: - Data.ByteString.Base64.Internal - Data.ByteString.Base64.Internal.Head - Data.ByteString.Base64.Internal.Tables - Data.ByteString.Base64.Internal.Tail - Data.ByteString.Base64.Internal.Utils - Data.ByteString.Base64.Internal.W16.Loop - Data.ByteString.Base64.Internal.W32.Loop - Data.ByteString.Base64.Internal.W64.Loop - - build-depends: - base >=4.10 && <5 - , bytestring >=0.10 && <0.12 - , deepseq >=1.4.3.0 && <1.4.5.0 - , ghc-byteorder ^>=4.11.0.0 - , text ^>=1.2 - , text-short ^>=0.1 - - hs-source-dirs: src - default-language: Haskell2010 - ghc-options: -Wall - -test-suite tasty - default-language: Haskell2010 - type: exitcode-stdio-1.0 - hs-source-dirs: test - other-modules: Internal - main-is: Main.hs - build-depends: - base >=4.10 && <5 - , base64 - , base64-bytestring - , bytestring - , QuickCheck - , random-bytestring - , tasty - , tasty-hunit - , tasty-quickcheck - , text - , text-short - - ghc-options: -Wall -threaded -with-rtsopts=-N - -benchmark bench - default-language: Haskell2010 - type: exitcode-stdio-1.0 - hs-source-dirs: benchmarks - main-is: Base64Bench.hs - build-depends: - base >=4.10 && <5 - , base64 - , base64-bytestring - , bytestring - , criterion - , deepseq - , random-bytestring - , text - - ghc-options: -Wall -rtsopts diff --git a/ghc-base64.changes b/ghc-base64.changes index 4479960..f1f66e8 100644 --- a/ghc-base64.changes +++ b/ghc-base64.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Jan 27 19:35:33 UTC 2021 - psimons@suse.com + +- Update base64 to version 0.4.2.3. + ## 0.4.2.3 + + * Minor release for stackage, limiting memory usage in test suites. + * Transition to Github Actions CI + ------------------------------------------------------------------- Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup diff --git a/ghc-base64.spec b/ghc-base64.spec index c8a731c..52df268 100644 --- a/ghc-base64.spec +++ b/ghc-base64.spec @@ -1,7 +1,7 @@ # # spec file for package ghc-base64 # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 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 base64 %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.4.2.2 +Version: 0.4.2.3 Release: 0 -Summary: Fast RFC 4648-compliant Base64 encoding +Summary: A modern RFC 4648-compliant Base64 library 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-bytestring-devel BuildRequires: ghc-deepseq-devel @@ -44,9 +43,8 @@ BuildRequires: ghc-tasty-quickcheck-devel %endif %description -RFC 4648-compliant padded and unpadded base64 and base64url encoding and -decoding. This library provides performant encoding and decoding primitives, as -well as support for textual values. +RFC 4648-compliant Base64 with an eye towards performance and modernity +(additional support for RFC 7049 standards). %package devel Summary: Haskell %{pkg_name} library development files @@ -60,7 +58,6 @@ This package provides the Haskell %{pkg_name} library development files. %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build