Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-th-compat for openSUSE:Factory checked in at 2021-02-16 22:39:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-th-compat (Old) and /work/SRC/openSUSE:Factory/.ghc-th-compat.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-th-compat" Tue Feb 16 22:39:00 2021 rev:3 rq:870878 version:0.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-th-compat/ghc-th-compat.changes 2020-12-22 11:47:29.409912452 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-th-compat.new.28504/ghc-th-compat.changes 2021-02-16 22:48:41.582568308 +0100 @@ -1,0 +2,7 @@ +Mon Feb 8 05:05:09 UTC 2021 - psim...@suse.com + +- Update th-compat to version 0.1.1. + ### 0.1.1 [2021.02.07] + * Mark `Language.Haskell.TH.Syntax.Compat` as `Trustworthy`. + +------------------------------------------------------------------- Old: ---- th-compat-0.1.tar.gz New: ---- th-compat-0.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-th-compat.spec ++++++ --- /var/tmp/diff_new_pack.tI0sUU/_old 2021-02-16 22:48:42.122568729 +0100 +++ /var/tmp/diff_new_pack.tI0sUU/_new 2021-02-16 22:48:42.126568733 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-th-compat # -# 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 th-compat %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.1 +Version: 0.1.1 Release: 0 Summary: Backward- (and forward-)compatible Quote and Code types License: BSD-3-Clause ++++++ th-compat-0.1.tar.gz -> th-compat-0.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/th-compat-0.1/CHANGELOG.md new/th-compat-0.1.1/CHANGELOG.md --- old/th-compat-0.1/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 +++ new/th-compat-0.1.1/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200 @@ -1,2 +1,5 @@ +### 0.1.1 [2021.02.07] +* Mark `Language.Haskell.TH.Syntax.Compat` as `Trustworthy`. + ## 0.1 [2020.09.29] * Initial release diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/th-compat-0.1/README.md new/th-compat-0.1.1/README.md --- old/th-compat-0.1/README.md 2001-09-09 03:46:40.000000000 +0200 +++ new/th-compat-0.1.1/README.md 2001-09-09 03:46:40.000000000 +0200 @@ -3,7 +3,7 @@ [![Hackage Dependencies](https://img.shields.io/hackage-deps/v/th-compat.svg)](http://packdeps.haskellers.com/reverse/th-compat) [![Haskell Programming Language](https://img.shields.io/badge/language-Haskell-blue.svg)][Haskell.org] [![BSD3 License](http://img.shields.io/badge/license-BSD3-brightgreen.svg)][tl;dr Legal: BSD3] -[![Build](https://img.shields.io/travis/haskell-compat/th-compat.svg)](https://travis-ci.org/haskell-compat/th-compat) +[![Build Status](https://github.com/haskell-compat/th-compat/workflows/Haskell-CI/badge.svg)](https://github.com/haskell-compat/th-compat/actions?query=workflow%3AHaskell-CI) [Hackage: th-compat]: http://hackage.haskell.org/package/th-compat diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/th-compat-0.1/src/Language/Haskell/TH/Syntax/Compat.hs new/th-compat-0.1.1/src/Language/Haskell/TH/Syntax/Compat.hs --- old/th-compat-0.1/src/Language/Haskell/TH/Syntax/Compat.hs 2001-09-09 03:46:40.000000000 +0200 +++ new/th-compat-0.1.1/src/Language/Haskell/TH/Syntax/Compat.hs 2001-09-09 03:46:40.000000000 +0200 @@ -8,6 +8,10 @@ {-# LANGUAGE RankNTypes #-} {-# LANGUAGE UndecidableInstances #-} +#if __GLASGOW_HASKELL__ >= 702 +{-# LANGUAGE Trustworthy #-} +#endif + #if __GLASGOW_HASKELL__ >= 706 {-# LANGUAGE PolyKinds #-} #endif @@ -472,8 +476,8 @@ -- myCode = 'toCode' [|| 42 ||] -- -- -- 'fromCode' will ensure that the input 'Code' is suitable for splicing --- (i.e., it will return a 'Code' or a 'TExp' depending on the --- @template-haskell@ version in use). +-- -- (i.e., it will return a 'Code' or a 'TExp' depending on the +-- -- @template-haskell@ version in use). -- fortyTwo :: Int -- fortyTwo = $$('fromCode' myCode) -- @ @@ -599,6 +603,7 @@ -- | Modify the ambient monad used during code generation. For example, you -- can use `hoistCode` to handle a state effect: +-- -- @ -- handleState :: Code (StateT Int Q) a -> Code Q a -- handleState = hoistCode (flip runState 0) @@ -720,9 +725,9 @@ -- @ -- instance 'Syntax.Lift' Text where -- 'Syntax.lift' = appE (varE 'pack) . stringE . unpack --- #if MIN_VERSION_template_haskell(2,17,0) +-- #if MIN\_VERSION\_template\_haskell(2,17,0) -- 'Syntax.liftTyped' = 'unsafeCodeCoerce' . 'Syntax.lift' --- #elif MIN_VERSION_template_haskell(2,16,0) +-- #elif MIN\_VERSION\_template\_haskell(2,16,0) -- 'Syntax.liftTyped' = 'Syntax.unsafeTExpCoerce' . 'Syntax.lift' -- #endif -- @ @@ -737,7 +742,7 @@ -- @ -- instance 'Syntax.Lift' Text where -- 'Syntax.lift' = appE (varE 'pack) . stringE . unpack --- #if MIN_VERSION_template_haskell(2,16,0) +-- #if MIN\_VERSION\_template\_haskell(2,16,0) -- 'Syntax.liftTyped' = 'liftTypedFromUntypedSplice' -- #endif -- @ @@ -779,7 +784,7 @@ -- @ -- instance 'Syntax.Lift' Int# where -- 'Syntax.lift' x = litE (intPrimL (fromIntegral (I# x))) --- #if MIN_VERSION_template_haskell(2,16,0) +-- #if MIN\_VERSION\_template\_haskell(2,16,0) -- 'Syntax.liftTyped' x = 'unsafeSpliceCoerce' ('Syntax.lift' x) -- #endif -- @ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/th-compat-0.1/th-compat.cabal new/th-compat-0.1.1/th-compat.cabal --- old/th-compat-0.1/th-compat.cabal 2001-09-09 03:46:40.000000000 +0200 +++ new/th-compat-0.1.1/th-compat.cabal 2001-09-09 03:46:40.000000000 +0200 @@ -1,6 +1,6 @@ cabal-version: >=1.10 name: th-compat -version: 0.1 +version: 0.1.1 synopsis: Backward- (and forward-)compatible Quote and Code types description: This package defines a "Language.Haskell.TH.Syntax.Compat" module, which backports the @Quote@ and @Code@ types to