Hello community,

here is the log from the commit of package hpack for openSUSE:Factory checked 
in at 2018-11-09 07:53:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hpack (Old)
 and      /work/SRC/openSUSE:Factory/.hpack.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hpack"

Fri Nov  9 07:53:17 2018 rev:14 rq:646367 version:0.31.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/hpack/hpack.changes      2018-10-25 
08:19:44.303981231 +0200
+++ /work/SRC/openSUSE:Factory/.hpack.new/hpack.changes 2018-11-09 
07:53:23.971781311 +0100
@@ -1,0 +2,8 @@
+Sun Nov  4 03:01:29 UTC 2018 - [email protected]
+
+- Update hpack to version 0.31.1.
+  ## Changes in 0.31.1
+    - Show the header when printing to stdout (see #331)
+    - Add help for `--numeric-version`(see #337)
+
+-------------------------------------------------------------------

Old:
----
  hpack-0.31.0.tar.gz

New:
----
  hpack-0.31.1.tar.gz

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

Other differences:
------------------
++++++ hpack.spec ++++++
--- /var/tmp/diff_new_pack.gDTgOu/_old  2018-11-09 07:53:24.659780522 +0100
+++ /var/tmp/diff_new_pack.gDTgOu/_new  2018-11-09 07:53:24.659780522 +0100
@@ -19,7 +19,7 @@
 %global pkg_name hpack
 %bcond_with tests
 Name:           %{pkg_name}
-Version:        0.31.0
+Version:        0.31.1
 Release:        0
 Summary:        A modern format for Haskell packages
 License:        MIT

++++++ hpack-0.31.0.tar.gz -> hpack-0.31.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.31.0/CHANGELOG.md 
new/hpack-0.31.1/CHANGELOG.md
--- old/hpack-0.31.0/CHANGELOG.md       2018-09-09 16:14:32.000000000 +0200
+++ new/hpack-0.31.1/CHANGELOG.md       2018-11-03 21:11:49.000000000 +0100
@@ -1,3 +1,7 @@
+## Changes in 0.31.1
+  - Show the header when printing to stdout (see #331)
+  - Add help for `--numeric-version`(see #337)
+
 ## Changes in 0.31.0
   - Add `mixin` to the fields read by dependencies when they are
     objects (see #318)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.31.0/hpack.cabal new/hpack-0.31.1/hpack.cabal
--- old/hpack-0.31.0/hpack.cabal        2018-09-09 16:14:32.000000000 +0200
+++ new/hpack-0.31.1/hpack.cabal        2018-11-03 21:11:49.000000000 +0100
@@ -1,13 +1,13 @@
 cabal-version: 1.12
 
--- This file has been generated from package.yaml by hpack version 0.30.0.
+-- This file has been generated from package.yaml by hpack version 0.31.0.
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: 3d155641237ff3e777fbdcb7ea2f36ada952f78ea89a02794019752f6b0705a9
+-- hash: d0e64e7193dd79e7d688f56350272b988a08b6f0f9706767a37f122ceeae72ee
 
 name:           hpack
-version:        0.31.0
+version:        0.31.1
 synopsis:       A modern format for Haskell packages
 description:    See README at <https://github.com/sol/hpack#readme>
 category:       Development
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hpack-0.31.0/src/Hpack.hs 
new/hpack-0.31.1/src/Hpack.hs
--- old/hpack-0.31.0/src/Hpack.hs       2018-09-09 16:14:32.000000000 +0200
+++ new/hpack-0.31.1/src/Hpack.hs       2018-11-03 21:11:49.000000000 +0100
@@ -101,6 +101,7 @@
   Utf8.hPutStrLn stderr $ unlines [
       "Usage: " ++ name ++ " [ --silent ] [ --force | -f ] [ PATH ] [ - ]"
     , "       " ++ name ++ " --version"
+    , "       " ++ name ++ " --numeric-version"
     , "       " ++ name ++ " --help"
     ]
 
@@ -181,9 +182,10 @@
   case status of
     Generated -> do
       let hash = sha256 withoutHeader
+          out  = cabalVersion ++ header (decodeOptionsTarget options) v hash 
++ body
       if toStdout
-        then Utf8.putStr withoutHeader
-        else Utf8.writeFile cabalFile (cabalVersion ++ header 
(decodeOptionsTarget options) v hash ++ body)
+        then Utf8.putStr out
+        else Utf8.writeFile cabalFile out
     _ -> return ()
   return Result {
       resultWarnings = warnings


Reply via email to