diff --git a/.gitignore b/.gitignore index a70dc75..defb6fd 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /cereal-0.5.5.0.tar.gz /cereal-0.5.7.0.tar.gz /cereal-0.5.8.1.tar.gz +/cereal-0.5.8.2.tar.gz diff --git a/cereal-0.5.8.2.cabal b/cereal-0.5.8.2.cabal new file mode 100644 index 0000000..90ac107 --- /dev/null +++ b/cereal-0.5.8.2.cabal @@ -0,0 +1,79 @@ +name: cereal +version: 0.5.8.2 +x-revision: 1 +license: BSD3 +license-file: LICENSE +author: Lennart Kolmodin , + Galois Inc., + Lemmih , + Bas van Dijk +maintainer: Eric Mertens +category: Data, Parsing +stability: provisional +build-type: Simple +cabal-version: >= 1.10 +synopsis: A binary serialization library +homepage: https://github.com/GaloisInc/cereal +tested-with: GHC == 7.2.2, GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.2 + +description: + A binary serialization library, similar to binary, that introduces an isolate + primitive for parser isolation, and labeled blocks for better error messages. + +extra-source-files: CHANGELOG.md + +source-repository head + type: git + location: git://github.com/GaloisInc/cereal.git + +flag bytestring-builder + description: + Decides whether to use an older version of bytestring along with bytestring-builder or just a newer version of bytestring. + . + This flag normally toggles automatically but you can use `-fbytestring-builder` or `-f-bytestring-builder` to explicitly change it. + default: False + manual: False + +library + default-language: Haskell2010 + + build-depends: base >= 4.4 && < 4.17, containers, array, + ghc-prim >= 0.2 + + if !impl(ghc >= 8.0) + build-depends: fail == 4.9.* + + if flag(bytestring-builder) + build-depends: bytestring >= 0.9 && < 0.10.4, + bytestring-builder >= 0.10.4 && < 1 + else + build-depends: bytestring >= 0.10.4 && < 1 + + hs-source-dirs: src + + exposed-modules: Data.Serialize, + Data.Serialize.Put, + Data.Serialize.Get, + Data.Serialize.IEEE754 + + ghc-options: -Wall -O2 -funbox-strict-fields + + + +test-suite test-cereal + default-language: Haskell2010 + + type: exitcode-stdio-1.0 + + build-depends: base == 4.*, + bytestring >= 0.9, + QuickCheck, + test-framework, + test-framework-quickcheck2, + cereal + + main-is: Main.hs + other-modules: RoundTrip + GetTests + + hs-source-dirs: tests diff --git a/ghc-cereal.spec b/ghc-cereal.spec index fde4b17..c1e8e78 100644 --- a/ghc-cereal.spec +++ b/ghc-cereal.spec @@ -7,17 +7,19 @@ # testsuite missing deps: test-framework test-framework-quickcheck2 Name: ghc-%{pkg_name} -Version: 0.5.8.1 -Release: 8%{?dist} +Version: 0.5.8.2 +Release: 1%{?dist} Summary: A binary serialization library 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: +BuildRequires: dos2unix BuildRequires: ghc-Cabal-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-array-prof @@ -69,6 +71,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 # End cabal-rpm setup @@ -106,6 +109,9 @@ This package provides the Haskell %{pkg_name} profiling library. %changelog +* Tue Jun 07 2022 Jens Petersen - 0.5.8.2-1 +- https://hackage.haskell.org/package/cereal-0.5.8.2/changelog + * Thu Jan 20 2022 Fedora Release Engineering - 0.5.8.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index ae4787a..c16d49e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cereal-0.5.8.1.tar.gz) = aced40e81301fbc73c6029be2c4045cf63f81d40361d5939713f3d60db196dc25a70e556e9e74e194e6a3b6cac86997d2bfc8b1f91c630676af7d066268a25b4 +SHA512 (cereal-0.5.8.2.tar.gz) = c9767b1508931b6f4f4555a813a4ef8338d728c26556f25201d977f8e4eec918aaec1561fd7996b1bb2c7375b57880d49ab9fc3a4ceeae5a629397ab4b9953a2