Hello community,

here is the log from the commit of package ghc-binary-tagged for 
openSUSE:Factory checked in at 2016-11-05 21:27:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-binary-tagged (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-binary-tagged.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-binary-tagged"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-binary-tagged/ghc-binary-tagged.changes      
2016-09-07 11:44:29.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-binary-tagged.new/ghc-binary-tagged.changes 
2016-11-05 21:27:27.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Oct 27 15:55:12 UTC 2016 - [email protected]
+
+- Update to version 0.1.4.1 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  1.cabal
  binary-tagged-0.1.4.0.tar.gz

New:
----
  binary-tagged-0.1.4.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-binary-tagged.spec ++++++
--- /var/tmp/diff_new_pack.OWgboX/_old  2016-11-05 21:27:28.000000000 +0100
+++ /var/tmp/diff_new_pack.OWgboX/_new  2016-11-05 21:27:28.000000000 +0100
@@ -19,18 +19,18 @@
 %global pkg_name binary-tagged
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.1.4.0
+Version:        0.1.4.1
 Release:        0
 Summary:        Tagged binary serialisation
 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/1.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-SHA-devel
 BuildRequires:  ghc-aeson-devel
 BuildRequires:  ghc-array-devel
+BuildRequires:  ghc-base16-bytestring-devel
 BuildRequires:  ghc-binary-devel
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-containers-devel
@@ -70,7 +70,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ binary-tagged-0.1.4.0.tar.gz -> binary-tagged-0.1.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/binary-tagged-0.1.4.0/CHANGELOG.md 
new/binary-tagged-0.1.4.1/CHANGELOG.md
--- old/binary-tagged-0.1.4.0/CHANGELOG.md      2016-04-12 09:16:53.000000000 
+0200
+++ new/binary-tagged-0.1.4.1/CHANGELOG.md      2016-10-20 13:33:46.000000000 
+0200
@@ -1,3 +1,5 @@
+- 0.1.4.1 (2016-09-20)
+    - Print mismatching hashes in base16 encoding
 - 0.1.4.0 (2016-04-12)
     - Add semigroups types
     - Add Natural
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/binary-tagged-0.1.4.0/binary-tagged.cabal 
new/binary-tagged-0.1.4.1/binary-tagged.cabal
--- old/binary-tagged-0.1.4.0/binary-tagged.cabal       2016-04-12 
09:16:53.000000000 +0200
+++ new/binary-tagged-0.1.4.1/binary-tagged.cabal       2016-10-20 
13:33:46.000000000 +0200
@@ -1,9 +1,9 @@
--- This file has been generated from package.yaml by hpack version 0.11.2.
+-- This file has been generated from package.yaml by hpack version 0.14.1.
 --
 -- see: https://github.com/sol/hpack
 
 name:           binary-tagged
-version:        0.1.4.0
+version:        0.1.4.1
 synopsis:       Tagged binary serialisation.
 description:    Check <https://github.com/phadej/binary-tagged#readme README 
on Github>
 category:       Web
@@ -31,8 +31,9 @@
   ghc-options: -Wall
   build-depends:
       base                     >=4.7  && <4.10
-    , aeson                    >=0.8  && <0.12
+    , aeson                    >=0.8  && <1.1
     , array                    >=0.5  && <0.6
+    , base16-bytestring        >=0.1.1.6 && <0.2
     , binary                   >=0.7  && <0.9
     , bytestring               >=0.10 && <0.11
     , containers               >=0.5  && <0.6
@@ -59,8 +60,9 @@
   ghc-options: -Wall
   build-depends:
       base                     >=4.7  && <4.10
-    , aeson                    >=0.8  && <0.12
+    , aeson                    >=0.8  && <1.1
     , array                    >=0.5  && <0.6
+    , base16-bytestring        >=0.1.1.6 && <0.2
     , binary                   >=0.7  && <0.9
     , bytestring               >=0.10 && <0.11
     , containers               >=0.5  && <0.6
@@ -95,8 +97,9 @@
   ghc-options: -Wall
   build-depends:
       base                     >=4.7  && <4.10
-    , aeson                    >=0.8  && <0.12
+    , aeson                    >=0.8  && <1.1
     , array                    >=0.5  && <0.6
+    , base16-bytestring        >=0.1.1.6 && <0.2
     , binary                   >=0.7  && <0.9
     , bytestring               >=0.10 && <0.11
     , containers               >=0.5  && <0.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/binary-tagged-0.1.4.0/src/Data/Binary/Tagged.hs 
new/binary-tagged-0.1.4.1/src/Data/Binary/Tagged.hs
--- old/binary-tagged-0.1.4.0/src/Data/Binary/Tagged.hs 2016-04-12 
09:16:53.000000000 +0200
+++ new/binary-tagged-0.1.4.1/src/Data/Binary/Tagged.hs 2016-10-20 
13:33:46.000000000 +0200
@@ -97,6 +97,7 @@
 import           Data.Binary.Get (ByteOffset)
 import           Data.ByteString as BS
 import           Data.ByteString.Lazy as LBS
+import qualified Data.ByteString.Base16.Lazy as Base16
 import           Data.Digest.Pure.SHA
 import           Data.Monoid ((<>))
 import           Data.Proxy
@@ -222,7 +223,7 @@
          then do hash <- get
                  if hash == hash'
                     then fmap BinaryTagged get
-                    else fail $ "Non matching structure hashes: got" <> show 
hash <> "; expected: " <> show hash'
+                    else fail $ "Non matching structure hashes: got" <> show 
(Base16.encode hash) <> "; expected: " <> show (Base16.encode hash')
          else fail $ "Non matching versions: got " <> show ver <> "; expected: 
" <> show ver'
     where
       proxyV = Proxy :: Proxy v


Reply via email to