Hello community,
here is the log from the commit of package ghc-binary-orphans for
openSUSE:Factory checked in at 2017-03-18 20:50:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-binary-orphans (Old)
and /work/SRC/openSUSE:Factory/.ghc-binary-orphans.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-binary-orphans"
Sat Mar 18 20:50:04 2017 rev:4 rq:454892 version:0.1.6.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-binary-orphans/ghc-binary-orphans.changes
2016-10-13 11:31:51.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-binary-orphans.new/ghc-binary-orphans.changes
2017-03-18 20:50:05.325803598 +0100
@@ -1,0 +2,15 @@
+Thu Jan 26 16:21:58 UTC 2017 - [email protected]
+
+- Update to version 0.1.6.0 with cabal2obs.
+
+-------------------------------------------------------------------
+Mon Jan 16 10:01:02 UTC 2017 - [email protected]
+
+- Update to version 0.1.5.2 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------
+Sun Jan 8 21:14:01 UTC 2017 - [email protected]
+
+- Update to version 0.1.5.2 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
binary-orphans-0.1.5.1.tar.gz
binary-orphans.cabal
New:
----
binary-orphans-0.1.6.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-binary-orphans.spec ++++++
--- /var/tmp/diff_new_pack.SGYgjk/_old 2017-03-18 20:50:06.093694814 +0100
+++ /var/tmp/diff_new_pack.SGYgjk/_new 2017-03-18 20:50:06.097694248 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-binary-orphans
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,14 +19,13 @@
%global pkg_name binary-orphans
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.1.5.1
+Version: 0.1.6.0
Release: 0
Summary: Orphan instances for binary
License: BSD-3-Clause
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
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/4.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-aeson-devel
BuildRequires: ghc-binary-devel
@@ -65,7 +64,6 @@
%prep
%setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
@@ -88,5 +86,6 @@
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
+%doc CHANGELOG.md README.md
%changelog
++++++ binary-orphans-0.1.5.1.tar.gz -> binary-orphans-0.1.6.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/binary-orphans-0.1.5.1/CHANGELOG.md
new/binary-orphans-0.1.6.0/CHANGELOG.md
--- old/binary-orphans-0.1.5.1/CHANGELOG.md 2016-07-16 22:18:52.000000000
+0200
+++ new/binary-orphans-0.1.6.0/CHANGELOG.md 2017-01-21 10:39:26.000000000
+0100
@@ -1,3 +1,9 @@
+- 0.1.6.0
+ - Add instance for `hashed` in `hashable >=1.2.5.0`
+
+- 0.1.5.2
+ - Fix issue with binary-0.5.*
+
- 0.1.5.1
- Fix issue with binary-0.8.4.* and GHC-7.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/binary-orphans-0.1.5.1/binary-orphans.cabal
new/binary-orphans-0.1.6.0/binary-orphans.cabal
--- old/binary-orphans-0.1.5.1/binary-orphans.cabal 2016-07-16
22:18:52.000000000 +0200
+++ new/binary-orphans-0.1.6.0/binary-orphans.cabal 2017-01-21
10:39:26.000000000 +0100
@@ -1,9 +1,5 @@
--- This file has been generated from package.yaml by hpack version 0.14.0.
---
--- see: https://github.com/sol/hpack
-
name: binary-orphans
-version: 0.1.5.1
+version: 0.1.6.0
synopsis: Orphan instances for binary
description: `binary-orphans` defines orphan instances for types in some
popular packages.
category: Web
@@ -31,21 +27,21 @@
ghc-options: -Wall -fno-warn-orphans
build-depends:
base >=4.6.0.1 && <4.10
- , aeson >=0.7.0.6 && <0.11.3
+ , aeson >=0.7.0.6 && <1.2
, binary >=0.5.1.1 && <0.8.5
, case-insensitive >=1.2.0.4 && <1.2.1
, hashable >=1.2.3.3 && <1.3
, scientific >=0.3.3.8 && <0.4
- , tagged >=0.7.3 && <0.8.5
+ , tagged >=0.7.3 && <0.8.6
, text >=1.2.0.6 && <1.3
, time >=1.4.0.1 && <1.6.1
, unordered-containers >=0.2.5.1 && <0.3
- , vector >=0.10.12.3 && <0.12
+ , vector >=0.10.12.3 && <0.13
, text-binary >=0.1.0 && <0.3
, vector-binary-instances >=0.2.1.0 && <0.3
if !impl(ghc >= 8.0)
build-depends:
- semigroups >=0.16.2.2 && <0.18.2
+ semigroups >=0.16.2.2 && <0.18.3
if !impl(ghc >= 7.10)
build-depends:
void >=0.7 && <0.8
@@ -61,25 +57,25 @@
test
ghc-options: -Wall -fno-warn-orphans
build-depends:
- base >=4.6.0.1 && <4.10
- , aeson >=0.7.0.6 && <0.11.3
- , binary >=0.5.1.1 && <0.8.5
- , case-insensitive >=1.2.0.4 && <1.2.1
- , hashable >=1.2.3.3 && <1.3
- , scientific >=0.3.3.8 && <0.4
- , tagged >=0.7.3 && <0.8.5
- , text >=1.2.0.6 && <1.3
- , time >=1.4.0.1 && <1.6.1
- , unordered-containers >=0.2.5.1 && <0.3
- , vector >=0.10.12.3 && <0.12
+ base
+ , aeson
+ , binary
+ , case-insensitive
+ , hashable
+ , scientific
+ , tagged
+ , text
+ , time
+ , unordered-containers
+ , vector
, binary-orphans
- , QuickCheck >=2.7 && <2.9.2
+ , QuickCheck >=2.7 && <2.9.3
, quickcheck-instances >=0.3.11 && <0.3.13
, tasty >=0.10.1.2 && <0.12
, tasty-quickcheck >=0.8.3.2 && <0.9
if !impl(ghc >= 8.0)
build-depends:
- semigroups >=0.16.2.2 && <0.18.2
+ semigroups >=0.16.2.2 && <0.18.3
if !impl(ghc >= 7.10)
build-depends:
void >=0.7 && <0.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/binary-orphans-0.1.5.1/src/Data/Binary/Orphans.hs
new/binary-orphans-0.1.6.0/src/Data/Binary/Orphans.hs
--- old/binary-orphans-0.1.5.1/src/Data/Binary/Orphans.hs 2016-07-16
22:18:52.000000000 +0200
+++ new/binary-orphans-0.1.6.0/src/Data/Binary/Orphans.hs 2017-01-21
10:39:26.000000000 +0100
@@ -33,7 +33,7 @@
module Data.Binary,
) where
-import Control.Monad (liftM, liftM2, liftM3, mzero)
+import Control.Monad (liftM, liftM2, liftM3)
import qualified Data.Aeson as A
import Data.Bits
import Data.Binary
@@ -41,7 +41,7 @@
import qualified Data.Fixed as Fixed
import qualified Data.HashMap.Lazy as HM
import qualified Data.HashSet as HS
-import Data.Hashable (Hashable)
+import qualified Data.Hashable as Hashable
import Data.List (unfoldr, foldl')
import qualified Data.List.NonEmpty as NE
import qualified Data.Monoid as Monoid
@@ -82,14 +82,20 @@
put A.Null = put (5 :: Int)
-instance (Hashable k, Eq k, Binary k, Binary v) => Binary (HM.HashMap k v)
where
+instance (Hashable.Hashable k, Eq k, Binary k, Binary v) => Binary
(HM.HashMap k v) where
get = fmap HM.fromList get
put = put . HM.toList
-instance (Hashable v, Eq v, Binary v) => Binary (HS.HashSet v) where
+instance (Hashable.Hashable v, Eq v, Binary v) => Binary (HS.HashSet v) where
get = fmap HS.fromList get
put = put . HS.toList
+#if MIN_VERSION_hashable(1,2,5)
+instance (Hashable.Hashable a, Binary a) => Binary (Hashable.Hashed a) where
+ get = fmap Hashable.hashed get
+ put = put . Hashable.unhashed
+#endif
+
#if !(MIN_VERSION_scientific(0,3,4))
instance Binary S.Scientific where
get = liftM2 S.scientific get get
@@ -243,7 +249,7 @@
instance Binary m => Binary (Semigroup.WrappedMonoid m) where
get = fmap Semigroup.WrapMonoid get
put = put . Semigroup.unwrapMonoid
-
+
-- | /Since: binary-orphans-0.1.5.0/
instance (Binary a, Binary b) => Binary (Semigroup.Arg a b) where
get = liftM2 Semigroup.Arg get get
@@ -266,7 +272,7 @@
#if !MIN_VERSION_binary(0,8,0)
instance Binary Void.Void where
put = Void.absurd
- get = mzero
+ get = fail "Binary.get @Void"
#endif
-------------------------------------------------------------------------------