Hello community, here is the log from the commit of package profiteur for openSUSE:Factory checked in at 2017-06-22 10:39:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/profiteur (Old) and /work/SRC/openSUSE:Factory/.profiteur.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "profiteur" Thu Jun 22 10:39:53 2017 rev:2 rq:504125 version:0.4.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/profiteur/profiteur.changes 2017-05-09 18:10:26.371086629 +0200 +++ /work/SRC/openSUSE:Factory/.profiteur.new/profiteur.changes 2017-06-22 10:39:55.097638391 +0200 @@ -1,0 +2,5 @@ +Wed May 31 14:01:09 UTC 2017 - [email protected] + +- Update to version 0.4.3.0. + +------------------------------------------------------------------- Old: ---- profiteur-0.4.2.2.tar.gz New: ---- profiteur-0.4.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ profiteur.spec ++++++ --- /var/tmp/diff_new_pack.NaehAi/_old 2017-06-22 10:39:55.601567344 +0200 +++ /var/tmp/diff_new_pack.NaehAi/_new 2017-06-22 10:39:55.605566779 +0200 @@ -17,7 +17,7 @@ Name: profiteur -Version: 0.4.2.2 +Version: 0.4.3.0 Release: 0 Summary: Treemap visualiser for GHC prof files License: BSD-3-Clause ++++++ profiteur-0.4.2.2.tar.gz -> profiteur-0.4.3.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profiteur-0.4.2.2/CHANGELOG.md new/profiteur-0.4.3.0/CHANGELOG.md --- old/profiteur-0.4.2.2/CHANGELOG.md 2017-03-23 13:47:10.000000000 +0100 +++ new/profiteur-0.4.3.0/CHANGELOG.md 2017-05-24 11:17:08.000000000 +0200 @@ -1,3 +1,7 @@ +- 0.4.3.0 + * Add `--version` flag + * Bump `aeson` dependency to 1.2 + - 0.4.2.2 * Bump `js-jquery` dependency to 3.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profiteur-0.4.2.2/profiteur.cabal new/profiteur-0.4.3.0/profiteur.cabal --- old/profiteur-0.4.2.2/profiteur.cabal 2017-03-23 13:47:10.000000000 +0100 +++ new/profiteur-0.4.3.0/profiteur.cabal 2017-05-24 11:17:08.000000000 +0200 @@ -1,5 +1,5 @@ Name: profiteur -Version: 0.4.2.2 +Version: 0.4.3.0 Synopsis: Treemap visualiser for GHC prof files Description: Treemap visualiser for GHC prof files Homepage: http://github.com/jaspervdj/profiteur @@ -45,7 +45,7 @@ Profiteur.Parser Build-depends: - aeson >= 0.6 && < 1.2, + aeson >= 0.6 && < 1.3, base >= 4.8 && < 5, bytestring >= 0.9 && < 0.11, containers >= 0.5 && < 0.6, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/profiteur-0.4.2.2/src/Main.hs new/profiteur-0.4.3.0/src/Main.hs --- old/profiteur-0.4.2.2/src/Main.hs 2017-03-23 13:47:10.000000000 +0100 +++ new/profiteur-0.4.3.0/src/Main.hs 2017-05-24 11:17:08.000000000 +0200 @@ -12,6 +12,7 @@ import qualified Data.Text as T import qualified Data.Text.Encoding as T import qualified Data.Text.Lazy.IO as TL +import Data.Version (showVersion) import qualified Language.Javascript.JQuery as JQuery import System.Environment (getArgs, getProgName) import System.Exit (exitFailure) @@ -20,7 +21,7 @@ -------------------------------------------------------------------------------- -import Paths_profiteur (getDataFileName) +import Paths_profiteur (getDataFileName, version) import Profiteur.Core import Profiteur.Parser @@ -87,6 +88,8 @@ progName <- getProgName args <- getArgs case args of + _ | "--version" `elem` args -> + putStrLn (showVersion version) [profFile] -> do profOrErr <- decode <$> TL.readFile profFile case profOrErr of @@ -95,6 +98,6 @@ Left err -> do putStrLn $ profFile ++ ": " ++ err exitFailure - _ -> do + _ -> do putStrLn $ "Usage: " ++ progName ++ " <prof file>" exitFailure
