From 2cd16ee5317928c1bd9aaa9c2f4bfb0bc3edd7d7 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 8 Jul 2021 11:39:00 +0800 Subject: [PATCH] update to 0.2.5.2 --- .gitignore | 1 + ghc-vector-binary-instances.spec | 15 ++--- sources | 2 +- vector-binary-instances-0.2.5.1.cabal | 87 --------------------------- 4 files changed, 10 insertions(+), 95 deletions(-) delete mode 100644 vector-binary-instances-0.2.5.1.cabal diff --git a/.gitignore b/.gitignore index 3ed2d17..b853519 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /vector-binary-instances-0.2.3.5.tar.gz /vector-binary-instances-0.2.4.tar.gz /vector-binary-instances-0.2.5.1.tar.gz +/vector-binary-instances-0.2.5.2.tar.gz diff --git a/ghc-vector-binary-instances.spec b/ghc-vector-binary-instances.spec index 6cea2b7..2ddf9d1 100644 --- a/ghc-vector-binary-instances.spec +++ b/ghc-vector-binary-instances.spec @@ -4,18 +4,17 @@ %global pkg_name vector-binary-instances %global pkgver %{pkg_name}-%{version} -%bcond_with tests +%bcond_without tests Name: ghc-%{pkg_name} -Version: 0.2.5.1 -Release: 10%{?dist} -Summary: Binary and Serialize instances for vector +Version: 0.2.5.2 +Release: 1%{?dist} +Summary: Instances of Data.Binary for vector 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: @@ -32,7 +31,7 @@ BuildRequires: ghc-tasty-quickcheck-devel %description Instances for Binary for the types defined in the vector package, making it -easy to serialize vectors to and from disk. Uses the generic interface to +easy to serialize vectors to and from disk. We use the generic interface to vectors, so all vector types are supported. Specific instances are provided for unboxed, boxed and storable vectors. @@ -78,7 +77,6 @@ library. %prep # Begin cabal-rpm setup: %setup -q -n %{pkgver} -cp -bp %{SOURCE1} %{pkg_name}.cabal # End cabal-rpm setup @@ -121,6 +119,9 @@ cp -bp %{SOURCE1} %{pkg_name}.cabal %changelog +* Thu Aug 5 2021 Jens Petersen - 0.2.5.2-1 +- update to 0.2.5.2 + * Thu Jul 22 2021 Fedora Release Engineering - 0.2.5.1-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index f48f330..da13c16 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (vector-binary-instances-0.2.5.1.tar.gz) = a16202b8ca3f88df82c27b37511087008579296363c73fe09ab19b00dee0fbaf98699b79b08d7e7410fcd062c03f2c5d1560f6b1c9ebf1ab8290596a35758be0 +SHA512 (vector-binary-instances-0.2.5.2.tar.gz) = 885dff7f6508113c355bb125c3949fd722ea5c6e834beb3083e1e6cc16f84bba1b8fd44cd41990af79f095a18fd282dd1ccd94ccf586c5ca08e54b0454575d03 diff --git a/vector-binary-instances-0.2.5.1.cabal b/vector-binary-instances-0.2.5.1.cabal deleted file mode 100644 index 8bb38fd..0000000 --- a/vector-binary-instances-0.2.5.1.cabal +++ /dev/null @@ -1,87 +0,0 @@ -Name: vector-binary-instances -Version: 0.2.5.1 -x-revision: 2 -Synopsis: Instances of Data.Binary for vector -Description: - Instances for Binary for the types defined in the vector package, - making it easy to serialize vectors to and from disk. We use the - generic interface to vectors, so all vector types are supported. - Specific instances are provided for unboxed, boxed and storable - vectors. - . - To serialize a vector: - . - > *Data.Vector.Binary> let v = Data.Vector.fromList [1..10] - > *Data.Vector.Binary> v - > fromList [1,2,3,4,5,6,7,8,9,10] :: Data.Vector.Vector - > *Data.Vector.Binary> encode v - > Chunk "\NUL\NUL\NUL\NUL\NUL...\NUL\NUL\NUL\t\NUL\NUL\NUL\NUL\n" Empty - . - Which you can in turn compress before writing to disk: - . - > compress . encode $ v - > Chunk "\US\139\b\NUL\NUL\N...\229\240,\254:\NUL\NUL\NUL" Empty - . - Try the cereal-vector package if you are looking for Data.Serialize - instances. - --- URL for the project homepage or repository. -Homepage: https://github.com/bos/vector-binary-instances -bug-reports: https://github.com/bos/vector-binary-instances/issues -License: BSD3 -License-file: LICENSE -Author: Don Stewart -Maintainer: dons00@gmail.com, bos@serpentine.com, Ben Gamari -Tested-With: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2 - --- A copyright notice. --- Copyright: - --- Stability of the pakcage (experimental, provisional, stable...) -Stability: Experimental -Category: Data -Build-type: Simple - --- Constraint on the version of Cabal needed to build this package. -Cabal-version: >=1.8 - - -Library - Ghc-options: -Wall - -- Modules exported by the library. - Exposed-modules: - Data.Vector.Binary - - -- Packages needed in order to build this package. - Build-depends: - base > 3 && < 4.15, - vector >= 0.6 && < 0.13, - binary >= 0.5 && < 0.11 - -Benchmark benchmarks - Type: exitcode-stdio-1.0 - Main-is: Benchmarks.hs - Build-depends: - base >= 4.7, - vector-binary-instances, - vector, - bytestring, - binary, - gauge, - deepseq - hs-source-dirs: benchmarks - -Test-Suite tests - Type: exitcode-stdio-1.0 - Main-is: test/Main.hs - Build-depends: - base, - vector-binary-instances, - vector, - binary, - tasty, - tasty-quickcheck - -source-repository head - type: git - location: https://github.com/bos/vector-binary-instances