From 77774cb9cc7b620f719dae4cf5d885b4c4cab908 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Sun, 22 Jan 2023 22:21:52 +0800 Subject: [PATCH] update to 0.17.2 --- .gitignore | 1 + bytes-0.17.1.cabal => bytes-0.17.2.cabal | 162 ++++++++++++----------- ghc-bytes.spec | 11 +- sources | 2 +- 4 files changed, 91 insertions(+), 85 deletions(-) rename bytes-0.17.1.cabal => bytes-0.17.2.cabal (87%) diff --git a/.gitignore b/.gitignore index f0bc8e5..09efd77 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /bytes-0.17.1.tar.gz +/bytes-0.17.2.tar.gz diff --git a/bytes-0.17.1.cabal b/bytes-0.17.2.cabal similarity index 87% rename from bytes-0.17.1.cabal rename to bytes-0.17.2.cabal index 845d656..dde454a 100644 --- a/bytes-0.17.1.cabal +++ b/bytes-0.17.2.cabal @@ -1,80 +1,82 @@ -name: bytes -category: Data, Serialization -version: 0.17.1 -x-revision: 3 -license: BSD3 -cabal-version: >= 1.10 -license-file: LICENSE -author: Edward A. Kmett -maintainer: Edward A. Kmett -stability: experimental -homepage: https://github.com/ekmett/bytes -bug-reports: https://github.com/ekmett/bytes/issues -copyright: Copyright (C) 2013-2015 Edward A. Kmett -build-type: Simple -tested-with: 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.4 - , GHC == 8.10.3 -synopsis: Sharing code for serialization between binary and cereal -description: Sharing code for serialization between binary and cereal. - -extra-source-files: - .gitignore - .hlint.yaml - .vim.custom - AUTHORS.markdown - README.markdown - CHANGELOG.markdown - -source-repository head - type: git - location: git://github.com/ekmett/bytes.git - -library - build-depends: - base >= 4.5 && < 5, - binary >= 0.5.1 && < 0.9, - binary-orphans >= 1.0.1 && < 1.1, - bytestring >= 0.9 && < 0.12, - cereal >= 0.5.2 && < 0.6, - containers >= 0.3 && < 1, - hashable >= 1.0.1.1 && < 1.5, - mtl >= 2.0 && < 2.3, - text >= 0.2 && < 2.1, - time >= 1.2 && < 1.12, - transformers >= 0.2 && < 0.6, - transformers-compat >= 0.6.5 && < 1, - unordered-containers >= 0.2 && < 0.3, - scientific >= 0.0 && < 1, - void >= 0.6 && < 1 - - if impl(ghc >= 7.4 && < 7.6) - build-depends: ghc-prim - - if !impl(ghc >= 7.10) - build-depends: nats >= 1.1.2 && < 1.2 - - if !impl(ghc >= 8.0) - build-depends: semigroups >= 0.5 && < 1 - , fail >= 4.9.0.0 && < 4.10 - - exposed-modules: - Data.Bytes.Get - Data.Bytes.Put - Data.Bytes.Serial - Data.Bytes.Signed - Data.Bytes.VarInt - - ghc-options: -Wall -fwarn-tabs -O2 - if impl(ghc >= 8.6) - ghc-options: -Wno-star-is-type - c-sources: cbits/i2d.c - hs-source-dirs: src - default-language: Haskell2010 +name: bytes +category: Data, Serialization +version: 0.17.2 +x-revision: 1 +license: BSD3 +cabal-version: >= 1.10 +license-file: LICENSE +author: Edward A. Kmett +maintainer: Edward A. Kmett +stability: experimental +homepage: https://github.com/ekmett/bytes +bug-reports: https://github.com/ekmett/bytes/issues +copyright: Copyright (C) 2013-2015 Edward A. Kmett +build-type: Simple +tested-with: 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.4 + , GHC == 8.10.7 + , GHC == 9.0.2 + , GHC == 9.2.2 +synopsis: Sharing code for serialization between binary and cereal +description: Sharing code for serialization between binary and cereal. + +extra-source-files: + .gitignore + .hlint.yaml + .vim.custom + AUTHORS.markdown + README.markdown + CHANGELOG.markdown + +source-repository head + type: git + location: git://github.com/ekmett/bytes.git + +library + build-depends: + base >= 4.5 && < 5, + binary >= 0.5.1 && < 0.9, + binary-orphans >= 1.0.1 && < 1.1, + bytestring >= 0.9 && < 0.12, + cereal >= 0.5.2 && < 0.6, + containers >= 0.3 && < 1, + hashable >= 1.0.1.1 && < 1.5, + mtl >= 2.0 && < 2.4, + text >= 0.2 && < 2.1, + time >= 1.2 && < 1.13, + transformers >= 0.2 && < 0.7, + transformers-compat >= 0.6.5 && < 1, + unordered-containers >= 0.2 && < 0.3, + scientific >= 0.0 && < 1, + void >= 0.6 && < 1 + + if impl(ghc >= 7.4 && < 7.6) + build-depends: ghc-prim + + if !impl(ghc >= 7.10) + build-depends: nats >= 1.1.2 && < 1.2 + + if !impl(ghc >= 8.0) + build-depends: semigroups >= 0.5 && < 1 + , fail >= 4.9.0.0 && < 4.10 + + exposed-modules: + Data.Bytes.Get + Data.Bytes.Put + Data.Bytes.Serial + Data.Bytes.Signed + Data.Bytes.VarInt + + ghc-options: -Wall -fwarn-tabs -O2 + if impl(ghc >= 8.6) + ghc-options: -Wno-star-is-type + c-sources: cbits/i2d.c + hs-source-dirs: src + default-language: Haskell2010 diff --git a/ghc-bytes.spec b/ghc-bytes.spec index 2b1a61b..a0dfbb8 100644 --- a/ghc-bytes.spec +++ b/ghc-bytes.spec @@ -5,8 +5,8 @@ %global pkgver %{pkg_name}-%{version} Name: ghc-%{pkg_name} -Version: 0.17.1 -Release: 4%{?dist} +Version: 0.17.2 +Release: 1%{?dist} Summary: Sharing code for serialization between binary and cereal License: BSD-3-Clause @@ -17,7 +17,6 @@ Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal# # End cabal-rpm sources # Begin cabal-rpm deps: -BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-base-devel @@ -96,7 +95,7 @@ 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 +cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -134,6 +133,10 @@ dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal %changelog +* Sun Jan 22 2023 Jens Petersen - 0.17.2-1 +- https://hackage.haskell.org/package/bytes-0.17.2/changelog +- refresh to cabal-rpm-2.1.0 with SPDX migration + * Thu Jul 21 2022 Fedora Release Engineering - 0.17.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 0113f59..2eaec9a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bytes-0.17.1.tar.gz) = 20499ec1cbadb5aafa05ecb119c9cbc6b55101820b4216bce2f17887e8aab02bf07af04b2dda69a33f2062aa61847c090f8876dd74aafa1aee7fdc0d1714f055 +SHA512 (bytes-0.17.2.tar.gz) = 5caf2aafde7b1fff6ce62aa6e2390b11fa4bc81f6cc137a13843482913bcbae3a650a0de97988959a243c7fe1d7c907d89b4120f0e29cca5b913d13c427aa3c8