Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-silently for openSUSE:Factory checked in at 2021-11-11 21:37:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-silently (Old) and /work/SRC/openSUSE:Factory/.ghc-silently.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-silently" Thu Nov 11 21:37:44 2021 rev:12 rq:930446 version:1.2.5.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-silently/ghc-silently.changes 2020-12-22 11:46:06.241845415 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-silently.new.1890/ghc-silently.changes 2021-11-11 21:38:37.644985159 +0100 @@ -1,0 +2,8 @@ +Tue Nov 9 08:00:21 UTC 2021 - psim...@suse.com + +- Update silently to version 1.2.5.2. + Upstream added a new change log file in this release. With no + previous version to compare against, the automatic updater cannot + reliable determine the relevante entries for this release. + +------------------------------------------------------------------- Old: ---- silently-1.2.5.1.tar.gz New: ---- silently-1.2.5.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-silently.spec ++++++ --- /var/tmp/diff_new_pack.Sludsu/_old 2021-11-11 21:38:38.028985440 +0100 +++ /var/tmp/diff_new_pack.Sludsu/_new 2021-11-11 21:38:38.032985442 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-silently # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # 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 silently %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.2.5.1 +Version: 1.2.5.2 Release: 0 Summary: Prevent or capture writing to stdout and other handles License: BSD-3-Clause @@ -36,7 +36,7 @@ %endif %description -Prevent or capture writing to stdout and other handles. +Prevent or capture writing to stdout, stderr, and other handles. %package devel Summary: Haskell %{pkg_name} library development files @@ -70,5 +70,6 @@ %license LICENSE %files devel -f %{name}-devel.files +%doc CHANGELOG.md README.md %changelog ++++++ silently-1.2.5.1.tar.gz -> silently-1.2.5.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/silently-1.2.5.1/CHANGELOG.md new/silently-1.2.5.2/CHANGELOG.md --- old/silently-1.2.5.1/CHANGELOG.md 1970-01-01 01:00:00.000000000 +0100 +++ new/silently-1.2.5.2/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 @@ -0,0 +1,9 @@ +# 1.2.5.2 November 2021 + +* Tested with GHC 7.0 - 9.2. +* Silence warning caused by missing `other-modules` in cabal file. +* Add README and CHANGELOG to dist. + +# 1.2.5.1 July 2019 + +No changelog for this and earlier versions. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/silently-1.2.5.1/README.md new/silently-1.2.5.2/README.md --- old/silently-1.2.5.1/README.md 1970-01-01 01:00:00.000000000 +0100 +++ new/silently-1.2.5.2/README.md 2001-09-09 03:46:40.000000000 +0200 @@ -0,0 +1,30 @@ +[![Hackage version](https://img.shields.io/hackage/v/silently.svg?label=Hackage&color=informational)](http://hackage.haskell.org/package/silently) +[![silently on Stackage Nightly](https://stackage.org/package/silently/badge/nightly)](https://stackage.org/nightly/package/silently) +[![Stackage LTS version](https://www.stackage.org/package/silently/badge/lts?label=Stackage)](https://www.stackage.org/package/silently) +[![Cabal build](https://github.com/hspec/silently/workflows/Haskell-CI/badge.svg)](https://github.com/hspec/silently/actions) + +# silently + +Silently is a package that allows you to run an `IO` action and +prevent it from writing to `stdout`, or any other handle, by using +`silence`. Or you can capture the output for yourself using `capture`. + +For example, the program +```haskell + import System.IO.Silently + + main = do + putStr "putStrLn: " >> putStrLn "puppies!" + putStr "silenced: " >> silence (putStrLn "kittens!") + putStrLn "" + (captured, result) <- capture (putStr "wookies!" >> return 123) + putStr "captured: " >> putStrLn captured + putStr "returned: " >> putStrLn (show result) +``` +will print: +``` + putStrLn: puppies! + silenced: + captured: wookies! + returned: 123 +``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/silently-1.2.5.1/silently.cabal new/silently-1.2.5.2/silently.cabal --- old/silently-1.2.5.1/silently.cabal 2019-07-21 06:25:46.000000000 +0200 +++ new/silently-1.2.5.2/silently.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,33 +1,54 @@ name: silently -version: 1.2.5.1 -cabal-version: >= 1.8 +version: 1.2.5.2 +cabal-version: >= 1.10 build-type: Simple license: BSD3 license-file: LICENSE copyright: (c) Trystan Spangler 2011 -maintainer: S??nke Hahn <soenkeh...@gmail.com>, Simon Hengel <s...@typeful.net> +maintainer: S??nke Hahn <soenkeh...@gmail.com>, Simon Hengel <s...@typeful.net>, Andreas Abel homepage: https://github.com/hspec/silently package-url: https://github.com/hspec/silently bug-reports: https://github.com/hspec/silently/issues synopsis: Prevent or capture writing to stdout and other handles. -description: Prevent or capture writing to stdout and other handles. +description: Prevent or capture writing to stdout, stderr, and other handles. category: System, Testing author: Trystan Spangler -tested-with: GHC ==7.0 +tested-with: + GHC == 7.0.4 + GHC == 7.2.2 + GHC == 7.4.2 + GHC == 7.6.3 + GHC == 7.8.4 + GHC == 7.10.3 + GHC == 8.0.2 + GHC == 8.2.2 + GHC == 8.4.4 + GHC == 8.6.5 + GHC == 8.8.4 + GHC == 8.10.7 + GHC == 9.0.1 + GHC == 9.2.1 + +extra-source-files: + CHANGELOG.md + README.md source-repository head type: git location: https://github.com/hspec/silently Library + hs-source-dirs: + src + default-language: + Haskell98 + exposed-modules: + System.IO.Silently + build-depends: base >=4 && <=5 , directory , deepseq - exposed-modules: System.IO.Silently - - hs-source-dirs: - src if os(windows) cpp-options: -DWINDOWS @@ -42,14 +63,16 @@ -- As a consequence we can not use Hspec for testing, as this would result in -- depending on two different versions of silently at the same time! test-suite spec-specific - main-is: - Spec.hs type: exitcode-stdio-1.0 - ghc-options: - -Wall -threaded hs-source-dirs: test + main-is: + Spec.hs + default-language: + Haskell98 + ghc-options: + -Wall -threaded build-depends: base , silently @@ -59,15 +82,19 @@ -- This tests the generic implementation, that should work on all platforms. test-suite spec-generic - main-is: - Spec.hs type: exitcode-stdio-1.0 - ghc-options: - -Wall -threaded hs-source-dirs: src , test + main-is: + Spec.hs + default-language: + Haskell98 + ghc-options: + -Wall -threaded + other-modules: + System.IO.Silently build-depends: base