From 76eaf19606d7ba1358ee7e608435c5d41d843686 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 5 Aug 2021 09:50:45 +0800 Subject: [PATCH] update to 1.0.1.0 --- .gitignore | 1 + base16-bytestring-0.1.1.7.cabal | 54 --------------------------------- ghc-base16-bytestring.spec | 30 +++++++++--------- sources | 2 +- 4 files changed, 16 insertions(+), 71 deletions(-) delete mode 100644 base16-bytestring-0.1.1.7.cabal diff --git a/.gitignore b/.gitignore index 3ea98a8..7842de5 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /base16-bytestring-0.1.1.5.tar.gz /base16-bytestring-0.1.1.6.tar.gz /base16-bytestring-0.1.1.7.tar.gz +/base16-bytestring-1.0.1.0.tar.gz diff --git a/base16-bytestring-0.1.1.7.cabal b/base16-bytestring-0.1.1.7.cabal deleted file mode 100644 index b49dc6c..0000000 --- a/base16-bytestring-0.1.1.7.cabal +++ /dev/null @@ -1,54 +0,0 @@ -cabal-version: 1.12 -name: base16-bytestring -version: 0.1.1.7 -x-revision: 3 -synopsis: Fast base16 (hex) encoding and decoding for ByteStrings -description: This package provides support for encoding and decoding binary data according - to @base16@ (see also ) for - strict (see "Data.ByteString.Base16") and lazy @ByteString@s (see "Data.ByteString.Base16.Lazy"). - . - See also the package which - provides an uniform API providing conversion paths between more binary and textual types. -homepage: http://github.com/haskell/base16-bytestring -bug-reports: http://github.com/haskell/base16-bytestring/issues -license: BSD3 -license-file: LICENSE -copyright: Copyright 2011 MailRank, Inc.; - Copyright 2010-2020 Bryan O'Sullivan et al. -author: Bryan O'Sullivan -maintainer: Herbert Valerio Riedel , - Mikhail Glushenkov , - Emily Pillmore -category: Data -build-type: Simple -extra-source-files: README.md CHANGELOG.md -tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, - GHC==8.4.4, GHC==8.2.2, GHC==8.0.2, - GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, - GHC==7.4.2, GHC==7.2.2, GHC==7.0.4 - -library - exposed-modules: - Data.ByteString.Base16 - Data.ByteString.Base16.Lazy - - build-depends: - base == 4.*, - bytestring >= 0.9 && < 0.11, - ghc-prim - - ghc-options: -Wall -funbox-strict-fields - default-language: Haskell2010 - -source-repository head - type: git - location: http://github.com/haskell/base16-bytestring - -test-suite test - type: exitcode-stdio-1.0 - hs-source-dirs: tests - main-is: Tests.hs - default-language: Haskell2010 - build-depends: base - , base16-bytestring - , bytestring diff --git a/ghc-base16-bytestring.spec b/ghc-base16-bytestring.spec index 938fd8b..d4ec6b2 100644 --- a/ghc-base16-bytestring.spec +++ b/ghc-base16-bytestring.spec @@ -1,21 +1,20 @@ -# generated by cabal-rpm-2.0.9 +# generated by cabal-rpm-2.0.10 # https://docs.fedoraproject.org/en-US/packaging-guidelines/Haskell/ %global pkg_name base16-bytestring %global pkgver %{pkg_name}-%{version} -%bcond_without tests +# testsuite missing deps: test-framework test-framework-hunit test-framework-quickcheck2 Name: ghc-%{pkg_name} -Version: 0.1.1.7 -Release: 5%{?dist} -Summary: Fast hex encoding and decoding for ByteStrings +Version: 1.0.1.0 +Release: 1%{?dist} +Summary: RFC 4648-compliant Base16 encodings for ByteStrings License: BSD 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: @@ -31,9 +30,12 @@ to 'base16' (see also ) for strict (see "Data.ByteString.Base16") and lazy 'ByteString's (see "Data.ByteString.Base16.Lazy"). -See also the -package which provides an uniform API providing conversion paths between more -binary and textual types. +See the package which +provides superior encoding and decoding performance as well as support for +lazy, short, and strict variants of 'Text' and 'ByteString' values. +Additionally, see the package which provides an uniform API providing conversion paths +between more binary and textual types. %package devel @@ -75,7 +77,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 @@ -91,12 +92,6 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm install -%check -%if %{with tests} -%cabal_test -%endif - - %files -f %{name}.files # Begin cabal-rpm files: %license LICENSE @@ -119,6 +114,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Aug 5 2021 Jens Petersen - 1.0.1.0-1 +- update to 1.0.1.0 + * Thu Aug 5 2021 Jens Petersen - 0.1.1.7-5 - add revision diff --git a/sources b/sources index 1529f5f..50ea6a4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (base16-bytestring-0.1.1.7.tar.gz) = 33c4c1e35489cee42ced9fffed3ee11bfe976dc167adc3ab715c224e69025fd9634cb010ee09bf86aa71170e12172c823964fdc3bed4611c599f686beea2985e +SHA512 (base16-bytestring-1.0.1.0.tar.gz) = e95f4422c7442c8a8f05b98e0cc8c7ffe67b59f0e1b89e7016bea1cbad351a3766a0193d3499c721614aa4607cacc9aba9ed275b92188980ae67108abd28d6e6