Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-hi-file-parser for openSUSE:Factory checked in at 2021-03-28 11:55:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-hi-file-parser (Old) and /work/SRC/openSUSE:Factory/.ghc-hi-file-parser.new.2401 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-hi-file-parser" Sun Mar 28 11:55:48 2021 rev:5 rq:881534 version:0.1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-hi-file-parser/ghc-hi-file-parser.changes 2020-12-22 11:40:21.585554719 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-hi-file-parser.new.2401/ghc-hi-file-parser.changes 2021-03-28 11:57:43.560296402 +0200 @@ -1,0 +2,8 @@ +Wed Mar 24 11:21:02 UTC 2021 - psim...@suse.com + +- Update hi-file-parser to version 0.1.1.0 revision 2. + ## 0.1.1.0 + + Add `NFData` instances + +------------------------------------------------------------------- Old: ---- hi-file-parser-0.1.0.0.tar.gz New: ---- hi-file-parser-0.1.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-hi-file-parser.spec ++++++ --- /var/tmp/diff_new_pack.xkkj8K/_old 2021-03-28 11:57:44.208296977 +0200 +++ /var/tmp/diff_new_pack.xkkj8K/_new 2021-03-28 11:57:44.208296977 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-hi-file-parser # -# 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 hi-file-parser %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.1.0.0 +Version: 0.1.1.0 Release: 0 Summary: Parser for GHC's hi files License: BSD-3-Clause ++++++ hi-file-parser-0.1.0.0.tar.gz -> hi-file-parser-0.1.1.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hi-file-parser-0.1.0.0/ChangeLog.md new/hi-file-parser-0.1.1.0/ChangeLog.md --- old/hi-file-parser-0.1.0.0/ChangeLog.md 2019-05-06 15:34:33.000000000 +0200 +++ new/hi-file-parser-0.1.1.0/ChangeLog.md 2021-03-24 07:19:57.000000000 +0100 @@ -1,5 +1,9 @@ # Changelog for hi-file-parser +## 0.1.1.0 + +Add `NFData` instances + ## 0.1.0.0 Initial release diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hi-file-parser-0.1.0.0/hi-file-parser.cabal new/hi-file-parser-0.1.1.0/hi-file-parser.cabal --- old/hi-file-parser-0.1.0.0/hi-file-parser.cabal 2019-06-08 23:29:06.000000000 +0200 +++ new/hi-file-parser-0.1.1.0/hi-file-parser.cabal 2021-03-24 07:20:10.000000000 +0100 @@ -1,13 +1,13 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.31.1. +-- This file has been generated from package.yaml by hpack version 0.33.0. -- -- see: https://github.com/sol/hpack -- --- hash: 2313c7d2911f3c633e0e5dc904c1a47cfe30b325de4f4aeac2752a703c62823d +-- hash: af191a13968cedda5d64d117ea4e98f2223106716e965411a662809b08a5640c name: hi-file-parser -version: 0.1.0.0 +version: 0.1.1.0 synopsis: Parser for GHC's hi files description: Please see the README on Github at <https://github.com/commercialhaskell/stack/blob/master/subs/hi-file-parser/README.md> category: Development diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/hi-file-parser-0.1.0.0/src/HiFileParser.hs new/hi-file-parser-0.1.1.0/src/HiFileParser.hs --- old/hi-file-parser-0.1.0.0/src/HiFileParser.hs 2019-05-06 15:34:33.000000000 +0200 +++ new/hi-file-parser-0.1.1.0/src/HiFileParser.hs 2021-03-24 07:19:34.000000000 +0100 @@ -1,3 +1,4 @@ +{-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE DerivingStrategies #-} {-# LANGUAGE GeneralizedNewtypeDeriving #-} @@ -32,6 +33,7 @@ import GHC.IO.IOMode (IOMode (..)) import Numeric (showHex) import RIO.ByteString as B (ByteString, hGetSome, null) +import RIO (Generic, NFData) import System.IO (withBinaryFile) type IsBoot = Bool @@ -40,19 +42,19 @@ newtype List a = List { unList :: [a] - } deriving newtype (Show) + } deriving newtype (Show, NFData) newtype Dictionary = Dictionary { unDictionary :: V.Vector ByteString - } deriving newtype (Show) + } deriving newtype (Show, NFData) newtype Module = Module { unModule :: ModuleName - } deriving newtype (Show) + } deriving newtype (Show, NFData) newtype Usage = Usage { unUsage :: FilePath - } deriving newtype (Show) + } deriving newtype (Show, NFData) data Dependencies = Dependencies { dmods :: List (ModuleName, IsBoot) @@ -60,12 +62,14 @@ , dorphs :: List Module , dfinsts :: List Module , dplugins :: List ModuleName - } deriving (Show) + } deriving (Show, Generic) +instance NFData Dependencies data Interface = Interface { deps :: Dependencies , usage :: List Usage - } deriving (Show) + } deriving (Show, Generic) +instance NFData Interface -- | Read a block prefixed with its length withBlockPrefix :: Get a -> Get a ++++++ hi-file-parser.cabal ++++++ --- /var/tmp/diff_new_pack.xkkj8K/_old 2021-03-28 11:57:44.288297047 +0200 +++ /var/tmp/diff_new_pack.xkkj8K/_new 2021-03-28 11:57:44.288297047 +0200 @@ -1,19 +1,19 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.31.1. +-- This file has been generated from package.yaml by hpack version 0.33.0. -- -- see: https://github.com/sol/hpack -- --- hash: db65ce562f5a86a76d8eea816fde4c04ee3f75ab314861414f627cce3ae22187 +-- hash: af191a13968cedda5d64d117ea4e98f2223106716e965411a662809b08a5640c name: hi-file-parser -version: 0.1.0.0 +version: 0.1.1.0 x-revision: 2 synopsis: Parser for GHC's hi files -description: Please see the README on Github at <https://github.com/commercialhaskell/stack/blob/master/subs/hi-file-parser/README.md> +description: Please see the README on Github at <https://github.com/commercialhaskell/hi-file-parser/blob/master/README.md> category: Development -homepage: https://github.com/commercialhaskell/stack#readme -bug-reports: https://github.com/commercialhaskell/stack/issues +homepage: https://github.com/commercialhaskell/hi-file-parser#readme +bug-reports: https://github.com/commercialhaskell/hi-file-parser/issues author: Hussein Ait-Lahcen maintainer: mich...@snoyman.com license: BSD3 @@ -35,7 +35,7 @@ source-repository head type: git - location: https://github.com/commercialhaskell/stack + location: https://github.com/commercialhaskell/hi-file-parser library exposed-modules: @@ -47,10 +47,10 @@ ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints build-depends: base >=4.10 && <5 - , binary >=0.8.5.1 - , bytestring >=0.10.8.2 - , rio >=0.1.9.2 - , vector >=0.12.0.1 + , binary + , bytestring + , rio + , vector default-language: Haskell2010 test-suite hi-file-parser-test @@ -64,10 +64,10 @@ ghc-options: -Wall -Wcompat -Widentities -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -threaded -rtsopts -with-rtsopts=-N build-depends: base >=4.10 && <5 - , binary >=0.8.5.1 - , bytestring >=0.10.8.2 + , binary + , bytestring , hi-file-parser - , hspec >=2.4.8 - , rio >=0.1.9.2 - , vector >=0.12.0.1 + , hspec + , rio + , vector default-language: Haskell2010