Hello community, here is the log from the commit of package ghc-extra for openSUSE:Factory checked in at 2020-09-07 21:22:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-extra (Old) and /work/SRC/openSUSE:Factory/.ghc-extra.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-extra" Mon Sep 7 21:22:47 2020 rev:29 rq:831333 version:1.7.7 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-extra/ghc-extra.changes 2020-08-28 21:32:25.968640082 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-extra.new.3399/ghc-extra.changes 2020-09-07 21:22:53.125037194 +0200 @@ -1,0 +2,7 @@ +Wed Aug 26 02:02:13 UTC 2020 - [email protected] + +- Update extra to version 1.7.7. + 1.7.7, released 2020-08-25 + #67, defer to System.IO readFile', hGetContents' in GHC 9.0 + +------------------------------------------------------------------- Old: ---- extra-1.7.6.tar.gz New: ---- extra-1.7.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-extra.spec ++++++ --- /var/tmp/diff_new_pack.sGYIUK/_old 2020-09-07 21:22:56.121038568 +0200 +++ /var/tmp/diff_new_pack.sGYIUK/_new 2020-09-07 21:22:56.121038568 +0200 @@ -19,7 +19,7 @@ %global pkg_name extra %bcond_with tests Name: ghc-%{pkg_name} -Version: 1.7.6 +Version: 1.7.7 Release: 0 Summary: Extra functions I use License: BSD-3-Clause ++++++ extra-1.7.6.tar.gz -> extra-1.7.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-1.7.6/CHANGES.txt new/extra-1.7.7/CHANGES.txt --- old/extra-1.7.6/CHANGES.txt 2020-08-21 22:30:19.000000000 +0200 +++ new/extra-1.7.7/CHANGES.txt 2020-08-25 22:12:34.000000000 +0200 @@ -1,5 +1,7 @@ Changelog for Extra +1.7.7, released 2020-08-25 + #67, defer to System.IO readFile', hGetContents' in GHC 9.0 1.7.6, released 2020-08-21 #66, add lots of functions to Data.Foldable.Extra (anyM etc) 1.7.5, released 2020-08-12 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-1.7.6/extra.cabal new/extra-1.7.7/extra.cabal --- old/extra-1.7.6/extra.cabal 2020-08-21 22:30:24.000000000 +0200 +++ new/extra-1.7.7/extra.cabal 2020-08-25 22:13:22.000000000 +0200 @@ -1,7 +1,7 @@ cabal-version: >= 1.18 build-type: Simple name: extra -version: 1.7.6 +version: 1.7.7 license: BSD3 license-file: LICENSE category: Development diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-1.7.6/src/System/IO/Extra.hs new/extra-1.7.7/src/System/IO/Extra.hs --- old/extra-1.7.6/src/System/IO/Extra.hs 2020-02-28 10:28:02.000000000 +0100 +++ new/extra-1.7.7/src/System/IO/Extra.hs 2020-08-25 21:57:09.000000000 +0200 @@ -1,4 +1,5 @@ -{-# LANGUAGE ScopedTypeVariables #-} +{-# LANGUAGE ScopedTypeVariables, CPP #-} +{-# OPTIONS_GHC -fno-warn-duplicate-exports #-} -- | More IO functions. The functions include ones for reading files with specific encodings, -- strictly reading files, and writing files with encodings. There are also some simple @@ -61,6 +62,9 @@ -- Strict file reading +#if __GLASGOW_HASKELL__ < 811 +-- readFile' and hGetContents' were added in GHC 9.0 + -- | A strict version of 'hGetContents'. hGetContents' :: Handle -> IO String hGetContents' h = do @@ -76,6 +80,8 @@ readFile' :: FilePath -> IO String readFile' file = withFile file ReadMode hGetContents' +#endif + -- | A strict version of 'readFileEncoding', see 'readFile'' for details. readFileEncoding' :: TextEncoding -> FilePath -> IO String readFileEncoding' e file = withFile file ReadMode $ \h -> hSetEncoding h e >> hGetContents' h
