Hello community,
here is the log from the commit of package ghc-vector-binary-instances for openSUSE:Factory checked in at 2016-12-06 14:26:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-vector-binary-instances (Old)
and /work/SRC/openSUSE:Factory/.ghc-vector-binary-instances.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-vector-binary-instances"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-vector-binary-instances/ghc-vector-binary-instances.changes 2016-07-21 08:13:07.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-vector-binary-instances.new/ghc-vector-binary-instances.changes 2016-12-06 14:26:15.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Nov 14 09:30:00 UTC 2016 - psimons@suse.com
+
+- Update to version 0.2.3.3 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
vector-binary-instances-0.2.3.2.tar.gz
New:
----
vector-binary-instances-0.2.3.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-vector-binary-instances.spec ++++++
--- /var/tmp/diff_new_pack.Xbjlln/_old 2016-12-06 14:26:16.000000000 +0100
+++ /var/tmp/diff_new_pack.Xbjlln/_new 2016-12-06 14:26:16.000000000 +0100
@@ -19,15 +19,14 @@
%global pkg_name vector-binary-instances
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.2.3.2
+Version: 0.2.3.3
Release: 0
Summary: Instances of Data.Binary and Data.Serialize for vector
License: BSD-3-Clause
-Group: System/Libraries
+Group: Development/Languages/Other
Url: https://hackage.haskell.org/package/%{pkg_name}
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
BuildRequires: ghc-Cabal-devel
-# Begin cabal-rpm deps:
BuildRequires: ghc-binary-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-vector-devel
@@ -36,7 +35,6 @@
BuildRequires: ghc-tasty-devel
BuildRequires: ghc-tasty-quickcheck-devel
%endif
-# End cabal-rpm deps
%description
Instances for Binary for the types defined in the vector package, making it
@@ -70,20 +68,14 @@
%prep
%setup -q -n %{pkg_name}-%{version}
-
%build
%ghc_lib_build
-
%install
%ghc_lib_install
-
%check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
%post devel
%ghc_pkg_recache
++++++ vector-binary-instances-0.2.3.2.tar.gz -> vector-binary-instances-0.2.3.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vector-binary-instances-0.2.3.2/benchmarks/Benchmarks.hs new/vector-binary-instances-0.2.3.3/benchmarks/Benchmarks.hs
--- old/vector-binary-instances-0.2.3.2/benchmarks/Benchmarks.hs 2016-04-21 21:46:41.000000000 +0200
+++ new/vector-binary-instances-0.2.3.3/benchmarks/Benchmarks.hs 2016-11-13 23:35:16.000000000 +0100
@@ -1,3 +1,5 @@
+{-# LANGUAGE CPP #-}
+
import Criterion.Main
import Data.Binary
import Data.Binary.Get
@@ -7,6 +9,15 @@
import qualified Data.Vector.Unboxed as U
import Data.Vector.Binary
+#if !(MIN_VERSION_bytestring(0,10,0))
+import Control.DeepSeq (NFData(..))
+import qualified Data.ByteString.Lazy.Internal as BS
+
+instance NFData BS.ByteString where
+ rnf BS.Empty = ()
+ rnf (BS.Chunk _ b) = rnf b
+#endif
+
-- We take care to avoid using the @Binary@ instances here to avoid issues with
-- overlapping instances as the install plan will involve two different versions
-- of k@vector-binary-instances@ (as @Criterion@ transitively depends upon
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vector-binary-instances-0.2.3.2/vector-binary-instances.cabal new/vector-binary-instances-0.2.3.3/vector-binary-instances.cabal
--- old/vector-binary-instances-0.2.3.2/vector-binary-instances.cabal 2016-04-21 21:46:41.000000000 +0200
+++ new/vector-binary-instances-0.2.3.3/vector-binary-instances.cabal 2016-11-13 23:35:16.000000000 +0100
@@ -1,5 +1,5 @@
Name: vector-binary-instances
-Version: 0.2.3.2
+Version: 0.2.3.3
Synopsis: Instances of Data.Binary and Data.Serialize for vector
Description:
Instances for Binary for the types defined in the vector package,
@@ -28,6 +28,7 @@
License-file: LICENSE
Author: Don Stewart
Maintainer: dons00@gmail.com, bos@serpentine.com, Ben Gamari