Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ghc-githash for openSUSE:Factory checked in at 2021-07-05 22:22:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-githash (Old) and /work/SRC/openSUSE:Factory/.ghc-githash.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-githash" Mon Jul 5 22:22:39 2021 rev:6 rq:903726 version:0.1.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-githash/ghc-githash.changes 2021-06-16 20:36:56.671335565 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-githash.new.2625/ghc-githash.changes 2021-07-05 22:22:54.245757179 +0200 @@ -1,0 +2,8 @@ +Thu Jun 24 12:01:10 UTC 2021 - [email protected] + +- Update githash to version 0.1.6.1. + ## 0.1.6.1 + + * [Support template-haskell 2.17](https://github.com/snoyberg/githash/pull/22) + +------------------------------------------------------------------- Old: ---- githash-0.1.6.0.tar.gz New: ---- githash-0.1.6.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-githash.spec ++++++ --- /var/tmp/diff_new_pack.yINsIh/_old 2021-07-05 22:22:54.889752196 +0200 +++ /var/tmp/diff_new_pack.yINsIh/_new 2021-07-05 22:22:54.893752165 +0200 @@ -19,7 +19,7 @@ %global pkg_name githash %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.1.6.0 +Version: 0.1.6.1 Release: 0 Summary: Compile git revision info into Haskell projects License: BSD-3-Clause @@ -32,6 +32,7 @@ BuildRequires: ghc-process-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-template-haskell-devel +BuildRequires: ghc-th-compat-devel ExcludeArch: %{ix86} %if %{with tests} BuildRequires: ghc-hspec-devel ++++++ githash-0.1.6.0.tar.gz -> githash-0.1.6.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/githash-0.1.6.0/ChangeLog.md new/githash-0.1.6.1/ChangeLog.md --- old/githash-0.1.6.0/ChangeLog.md 2021-06-08 13:28:30.000000000 +0200 +++ new/githash-0.1.6.1/ChangeLog.md 2021-06-23 12:29:50.000000000 +0200 @@ -1,5 +1,9 @@ # ChangeLog for githash +## 0.1.6.1 + +* [Support template-haskell 2.17](https://github.com/snoyberg/githash/pull/22) + ## 0.1.6.0 * Always include patchlevel and hash in git-describe output diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/githash-0.1.6.0/githash.cabal new/githash-0.1.6.1/githash.cabal --- old/githash-0.1.6.0/githash.cabal 2021-06-08 13:28:45.000000000 +0200 +++ new/githash-0.1.6.1/githash.cabal 2021-06-23 12:30:12.000000000 +0200 @@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack name: githash -version: 0.1.6.0 +version: 0.1.6.1 synopsis: Compile git revision info into Haskell projects description: Please see the README and documentation at <https://www.stackage.org/package/githash> category: Development @@ -38,6 +38,7 @@ , filepath , process , template-haskell + , th-compat default-language: Haskell2010 test-suite githash-spec @@ -61,5 +62,6 @@ , process , template-haskell , temporary + , th-compat , unliftio default-language: Haskell2010 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/githash-0.1.6.0/src/GitHash.hs new/githash-0.1.6.1/src/GitHash.hs --- old/githash-0.1.6.0/src/GitHash.hs 2021-06-08 13:28:30.000000000 +0200 +++ new/githash-0.1.6.1/src/GitHash.hs 2021-06-23 12:29:01.000000000 +0200 @@ -65,6 +65,7 @@ import Data.Typeable (Typeable) import Language.Haskell.TH import Language.Haskell.TH.Syntax +import Language.Haskell.TH.Syntax.Compat import System.Directory import System.Exit import System.FilePath @@ -256,8 +257,8 @@ -- directory. Compilation fails if no info is available. -- -- @since 0.1.0.0 -tGitInfo :: FilePath -> Q (TExp GitInfo) -tGitInfo fp = unsafeTExpCoerce $ do +tGitInfo :: FilePath -> SpliceQ GitInfo +tGitInfo fp = unsafeSpliceCoerce $ do gi <- runIO $ getGitRoot fp >>= either throwIO return >>= @@ -270,8 +271,8 @@ -- directory. -- -- @since 0.1.2.0 -tGitInfoTry :: FilePath -> Q (TExp (Either String GitInfo)) -tGitInfoTry fp = unsafeTExpCoerce $ do +tGitInfoTry :: FilePath -> SpliceQ (Either String GitInfo) +tGitInfoTry fp = unsafeSpliceCoerce $ do egi <- runIO $ do eroot <- getGitRoot fp case eroot of @@ -290,12 +291,12 @@ -- working directory. -- -- @since 0.1.0.0 -tGitInfoCwd :: Q (TExp GitInfo) +tGitInfoCwd :: SpliceQ GitInfo tGitInfoCwd = tGitInfo "." -- | Try to load up the 'GitInfo' value at compile time for the current -- working directory. -- -- @since 0.1.2.0 -tGitInfoCwdTry :: Q (TExp (Either String GitInfo)) +tGitInfoCwdTry :: SpliceQ (Either String GitInfo) tGitInfoCwdTry = tGitInfoTry "."
