Hello community, here is the log from the commit of package doctest for openSUSE:Factory checked in at 2017-04-13 10:44:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/doctest (Old) and /work/SRC/openSUSE:Factory/.doctest.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "doctest" Thu Apr 13 10:44:33 2017 rev:2 rq:455447 version:0.11.1 Changes: -------- --- /work/SRC/openSUSE:Factory/doctest/doctest.changes 2017-02-03 17:35:54.447933419 +0100 +++ /work/SRC/openSUSE:Factory/.doctest.new/doctest.changes 2017-04-13 10:44:34.705598956 +0200 @@ -1,0 +2,5 @@ +Thu Jan 26 16:22:07 UTC 2017 - [email protected] + +- Update to version 0.11.1 with cabal2obs. + +------------------------------------------------------------------- Old: ---- doctest-0.11.0.tar.gz New: ---- doctest-0.11.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ doctest.spec ++++++ --- /var/tmp/diff_new_pack.uwZWr9/_old 2017-04-13 10:44:35.393501675 +0200 +++ /var/tmp/diff_new_pack.uwZWr9/_new 2017-04-13 10:44:35.397501109 +0200 @@ -1,7 +1,7 @@ # # spec file for package doctest # -# 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,7 +19,7 @@ %global pkg_name doctest %bcond_with tests Name: %{pkg_name} -Version: 0.11.0 +Version: 0.11.1 Release: 0 Summary: Test interactive Haskell examples License: MIT @@ -29,6 +29,7 @@ BuildRequires: chrpath BuildRequires: ghc-Cabal-devel BuildRequires: ghc-base-compat-devel +BuildRequires: ghc-code-page-devel BuildRequires: ghc-deepseq-devel BuildRequires: ghc-directory-devel BuildRequires: ghc-filepath-devel @@ -76,20 +77,16 @@ %prep %setup -q - %build %ghc_lib_build - %install %ghc_lib_install -%ghc_fix_dynamic_rpath %{pkg_name} - +%ghc_fix_rpath %{pkg_name}-%{version} %check %cabal_test - %post -n ghc-%{name}-devel %ghc_pkg_recache ++++++ doctest-0.11.0.tar.gz -> doctest-0.11.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doctest-0.11.0/LICENSE new/doctest-0.11.1/LICENSE --- old/doctest-0.11.0/LICENSE 2016-03-30 18:47:36.000000000 +0200 +++ new/doctest-0.11.1/LICENSE 2017-01-25 04:45:41.000000000 +0100 @@ -1,4 +1,4 @@ -Copyright (c) 2009-2015 Simon Hengel <[email protected]> +Copyright (c) 2009-2017 Simon Hengel <[email protected]> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doctest-0.11.0/doctest.cabal new/doctest-0.11.1/doctest.cabal --- old/doctest-0.11.0/doctest.cabal 2016-03-30 18:47:36.000000000 +0200 +++ new/doctest-0.11.1/doctest.cabal 2017-01-25 04:45:41.000000000 +0100 @@ -1,5 +1,5 @@ name: doctest -version: 0.11.0 +version: 0.11.1 synopsis: Test interactive Haskell examples description: The doctest program checks examples in source code comments. It is modeled after doctest for Python @@ -12,7 +12,7 @@ homepage: https://github.com/sol/doctest#readme license: MIT license-file: LICENSE -copyright: (c) 2009-2015 Simon Hengel +copyright: (c) 2009-2017 Simon Hengel author: Simon Hengel <[email protected]> maintainer: Simon Hengel <[email protected]> build-type: Simple @@ -50,9 +50,10 @@ , Language.Haskell.GhciWrapper build-depends: base == 4.* - , base-compat >= 0.4.2 + , base-compat >= 0.7.0 , ghc >= 7.0 && < 8.2 , syb >= 0.3 + , code-page >= 0.1 , deepseq , directory , filepath @@ -88,6 +89,7 @@ base , ghc , syb + , code-page , deepseq , directory , filepath diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/doctest-0.11.0/src/Run.hs new/doctest-0.11.1/src/Run.hs --- old/doctest-0.11.0/src/Run.hs 2016-03-30 18:47:36.000000000 +0200 +++ new/doctest-0.11.1/src/Run.hs 2017-01-25 04:45:41.000000000 +0100 @@ -19,6 +19,7 @@ import System.Exit (exitFailure, exitSuccess) import System.FilePath ((</>), takeExtension) import System.IO +import System.IO.CodePage (withCP65001) import qualified Control.Exception as E import Panic @@ -144,5 +145,5 @@ -- get examples from Haddock comments modules <- getDocTests args - Interpreter.withInterpreter args $ \repl -> do + Interpreter.withInterpreter args $ \repl -> withCP65001 $ do runModules repl modules
