commit ghc-th-orphans for openSUSE:Factory

2020-10-23 Thread root
Hello community,

here is the log from the commit of package ghc-th-orphans for openSUSE:Factory 
checked in at 2020-10-23 15:15:08

Comparing /work/SRC/openSUSE:Factory/ghc-th-orphans (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-orphans.new.3463 (New)


Package is "ghc-th-orphans"

Fri Oct 23 15:15:08 2020 rev:11 rq:842770 version:0.13.11

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-orphans/ghc-th-orphans.changes
2020-09-07 21:22:47.821034761 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-orphans.new.3463/ghc-th-orphans.changes  
2020-10-23 15:15:10.958158417 +0200
@@ -1,0 +2,13 @@
+Wed Sep 30 08:36:14 UTC 2020 - psim...@suse.com
+
+- Update th-orphans to version 0.13.11.
+  ### 0.13.11 [2020.09.29]
+  * Allow building with `template-haskell-2.17.0.0` (GHC 9.0).
+  * Define `Quote` instances for `ReaderT`, `StateT`, `WriterT`, and `RWST`. In
+order to define these instances on as many versions of `template-haskell` 
as
+possible, this library now depends on the `th-compat` library, which
+backports the `Quote` class to older versions of `template-haskell`.
+  * Backport the `Semigroup`, `Monoid`, and `MonadFix` instances for `Q` that
+were introduced in `template-haskell-2.17.0.0`.
+
+---

Old:

  th-orphans-0.13.10.tar.gz

New:

  th-orphans-0.13.11.tar.gz



Other differences:
--
++ ghc-th-orphans.spec ++
--- /var/tmp/diff_new_pack.bqCenc/_old  2020-10-23 15:15:11.882158863 +0200
+++ /var/tmp/diff_new_pack.bqCenc/_new  2020-10-23 15:15:11.886158865 +0200
@@ -19,7 +19,7 @@
 %global pkg_name th-orphans
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.13.10
+Version:0.13.11
 Release:0
 Summary:Orphan instances for TH datatypes
 License:BSD-3-Clause
@@ -29,6 +29,7 @@
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-template-haskell-devel
+BuildRequires:  ghc-th-compat-devel
 BuildRequires:  ghc-th-lift-devel
 BuildRequires:  ghc-th-lift-instances-devel
 BuildRequires:  ghc-th-reify-many-devel

++ th-orphans-0.13.10.tar.gz -> th-orphans-0.13.11.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-orphans-0.13.10/CHANGELOG.md 
new/th-orphans-0.13.11/CHANGELOG.md
--- old/th-orphans-0.13.10/CHANGELOG.md 2001-09-09 03:46:40.0 +0200
+++ new/th-orphans-0.13.11/CHANGELOG.md 2001-09-09 03:46:40.0 +0200
@@ -1,3 +1,12 @@
+### 0.13.11 [2020.09.29]
+* Allow building with `template-haskell-2.17.0.0` (GHC 9.0).
+* Define `Quote` instances for `ReaderT`, `StateT`, `WriterT`, and `RWST`. In
+  order to define these instances on as many versions of `template-haskell` as
+  possible, this library now depends on the `th-compat` library, which
+  backports the `Quote` class to older versions of `template-haskell`.
+* Backport the `Semigroup`, `Monoid`, and `MonadFix` instances for `Q` that
+  were introduced in `template-haskell-2.17.0.0`.
+
 ### 0.13.10 [2020.04.13]
 * Implement `liftTyped` in the `Lift Bytes` instance.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/th-orphans-0.13.10/src/Language/Haskell/TH/Instances.hs 
new/th-orphans-0.13.11/src/Language/Haskell/TH/Instances.hs
--- old/th-orphans-0.13.10/src/Language/Haskell/TH/Instances.hs 2001-09-09 
03:46:40.0 +0200
+++ new/th-orphans-0.13.11/src/Language/Haskell/TH/Instances.hs 2001-09-09 
03:46:40.0 +0200
@@ -57,15 +57,17 @@
 -- collisions of orphans between @th-orphans@ and @th-lift-instances@.
 module Language.Haskell.TH.Instances () where
 
-import Language.Haskell.TH
+import Language.Haskell.TH hiding (newName)
 import Language.Haskell.TH.Instances.Internal
 import Language.Haskell.TH.Lift (deriveLiftMany)
 import Language.Haskell.TH.ReifyMany
-import Language.Haskell.TH.Syntax
+import Language.Haskell.TH.Syntax hiding (newName)
+import Language.Haskell.TH.Syntax.Compat (Quote(..))
 
 import Control.Monad.Reader (ReaderT(ReaderT), runReaderT)
 import Control.Monad.RWS (RWST(RWST), runRWST)
 import Control.Monad.State (StateT(StateT), runStateT)
+import qualified Control.Monad.Trans as Trans (MonadTrans(lift))
 import Control.Monad.Writer (WriterT(WriterT), runWriterT)
 import Instances.TH.Lift ()
 
@@ -97,7 +99,7 @@
 # endif
 
 # if !(MIN_VERSION_base(4,8,0))
-import Data.Monoid (Monoid)
+import Data.Monoid (Monoid (..))
 # endif
 
 # if MIN_VERSION_template_haskell(2,3,0) && 
defined(LANGUAGE_DeriveDataTypeable)
@@ -120,9 +122,24 @@
 #if MIN_VERSION_template_haskell(2,16,0)
 import GHC.Ptr (Ptr(Ptr))
 import GHC.ForeignPtr (newForeignPtr_)
+import Language.Haskell.TH.Syntax.Compat 

commit ghc-th-orphans for openSUSE:Factory

2020-09-07 Thread root
Hello community,

here is the log from the commit of package ghc-th-orphans for openSUSE:Factory 
checked in at 2020-09-07 21:22:44

Comparing /work/SRC/openSUSE:Factory/ghc-th-orphans (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-orphans.new.3399 (New)


Package is "ghc-th-orphans"

Mon Sep  7 21:22:44 2020 rev:10 rq:831228 version:0.13.10

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-orphans/ghc-th-orphans.changes
2019-12-27 13:58:24.332804338 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-th-orphans.new.3399/ghc-th-orphans.changes  
2020-09-07 21:22:47.821034761 +0200
@@ -1,0 +2,7 @@
+Tue Sep  1 14:41:20 UTC 2020 - psim...@suse.com
+
+- Update th-orphans to version 0.13.10.
+  ### 0.13.10 [2020.04.13]
+  * Implement `liftTyped` in the `Lift Bytes` instance.
+
+---

Old:

  th-orphans-0.13.9.tar.gz
  th-orphans.cabal

New:

  th-orphans-0.13.10.tar.gz



Other differences:
--
++ ghc-th-orphans.spec ++
--- /var/tmp/diff_new_pack.QQhQxh/_old  2020-09-07 21:22:49.437035502 +0200
+++ /var/tmp/diff_new_pack.QQhQxh/_new  2020-09-07 21:22:49.441035503 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-th-orphans
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,12 @@
 %global pkg_name th-orphans
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.13.9
+Version:0.13.10
 Release:0
 Summary:Orphan instances for TH datatypes
 License:BSD-3-Clause
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-rpm-macros
@@ -54,8 +53,7 @@
 This package provides the Haskell %{pkg_name} library development files.
 
 %prep
-%setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
+%autosetup -n %{pkg_name}-%{version}
 
 %build
 %ghc_lib_build

++ th-orphans-0.13.9.tar.gz -> th-orphans-0.13.10.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-orphans-0.13.9/CHANGELOG.md 
new/th-orphans-0.13.10/CHANGELOG.md
--- old/th-orphans-0.13.9/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
+++ new/th-orphans-0.13.10/CHANGELOG.md 2001-09-09 03:46:40.0 +0200
@@ -1,3 +1,6 @@
+### 0.13.10 [2020.04.13]
+* Implement `liftTyped` in the `Lift Bytes` instance.
+
 ### 0.13.9 [2019.09.28]
 * Implement `qReifyType` (introduced in `template-haskell-2.16.0.0`) for the
   `Quasi` instances defined in `th-orphans`.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/th-orphans-0.13.9/src/Language/Haskell/TH/Instances.hs 
new/th-orphans-0.13.10/src/Language/Haskell/TH/Instances.hs
--- old/th-orphans-0.13.9/src/Language/Haskell/TH/Instances.hs  2001-09-09 
03:46:40.0 +0200
+++ new/th-orphans-0.13.10/src/Language/Haskell/TH/Instances.hs 2001-09-09 
03:46:40.0 +0200
@@ -63,7 +63,6 @@
 import Language.Haskell.TH.ReifyMany
 import Language.Haskell.TH.Syntax
 
-import Data.Monoid (Monoid)
 import Control.Monad.Reader (ReaderT(ReaderT), runReaderT)
 import Control.Monad.RWS (RWST(RWST), runRWST)
 import Control.Monad.State (StateT(StateT), runStateT)
@@ -81,9 +80,6 @@
 -- Thanks to Richard Eisenberg, GHC 7.10 adds many of the instances
 -- from this module.
 #if !MIN_VERSION_template_haskell(2,10,0)
-import Data.Int (Int8, Int16, Int32, Int64)
-import Data.Word (Word8, Word16, Word32, Word64)
-
 import Language.Haskell.TH.Ppr
 # if MIN_VERSION_template_haskell(2,3,0)
 import Language.Haskell.TH.PprLib
@@ -101,7 +97,7 @@
 # endif
 
 # if !(MIN_VERSION_base(4,8,0))
-import Data.Word (Word)
+import Data.Monoid (Monoid)
 # endif
 
 # if MIN_VERSION_template_haskell(2,3,0) && 
defined(LANGUAGE_DeriveDataTypeable)
@@ -121,12 +117,7 @@
 import qualified Control.Monad.Fail as Fail
 #endif
 
--- TODO: Once GHC 8.10 is released, this should be updated to use the
--- proper template haskell version.  Other related usages of this #if
--- should be replaced as well (and do not have a TODO like this).
---
--- #if MIN_VERSION_template_haskell(2,16,0)
-#if __GLASGOW_HASKELL__ >= 809
+#if MIN_VERSION_template_haskell(2,16,0)
 import GHC.Ptr (Ptr(Ptr))
 import GHC.ForeignPtr (newForeignPtr_)
 import System.IO.Unsafe (unsafePerformIO)
@@ -417,7 

commit ghc-th-orphans for openSUSE:Factory

2019-12-27 Thread root
Hello community,

here is the log from the commit of package ghc-th-orphans for openSUSE:Factory 
checked in at 2019-12-27 13:58:21

Comparing /work/SRC/openSUSE:Factory/ghc-th-orphans (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-orphans.new.6675 (New)


Package is "ghc-th-orphans"

Fri Dec 27 13:58:21 2019 rev:9 rq:759534 version:0.13.9

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-orphans/ghc-th-orphans.changes
2019-10-18 14:35:16.587951402 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-orphans.new.6675/ghc-th-orphans.changes  
2019-12-27 13:58:24.332804338 +0100
@@ -1,0 +2,5 @@
+Fri Nov  8 16:14:59 UTC 2019 - Peter Simons 
+
+- Drop obsolete group attributes.
+
+---

New:

  th-orphans.cabal



Other differences:
--
++ ghc-th-orphans.spec ++
--- /var/tmp/diff_new_pack.pZGFQ9/_old  2019-12-27 13:58:24.776804552 +0100
+++ /var/tmp/diff_new_pack.pZGFQ9/_new  2019-12-27 13:58:24.780804554 +0100
@@ -23,9 +23,9 @@
 Release:0
 Summary:Orphan instances for TH datatypes
 License:BSD-3-Clause
-Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-rpm-macros
@@ -45,7 +45,6 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -56,6 +55,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ th-orphans.cabal ++
name:   th-orphans
version:0.13.9
x-revision: 1
cabal-version:  >= 1.10
build-type: Simple
license:BSD3
license-file:   LICENSE
category:   Template Haskell
author: Matt Morrow, Michael Sloan, Ryan Scott
copyright:  (c) Matt Morrow, Michael Sloan, Ryan Scott
maintainer: Ryan Scott 
bug-reports:https://github.com/mgsloan/th-orphans/issues
stability:  experimental
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.1
synopsis:   Orphan instances for TH datatypes
description:Orphan instances for TH datatypes.  In particular, instances
for Ord and Lift, as well as a few missing Show / Eq.  These
instances used to live in haskell-src-meta, and that's where
the version number started.
extra-source-files: CHANGELOG.md, README.md

library
  build-depends:  base >= 4.3 && < 5,
  template-haskell < 2.17,
  -- https://github.com/mboes/th-lift/issues/14
  th-lift >= 0.7.1,
  th-reify-many >= 0.1 && < 0.2,
  th-lift-instances,
  mtl

  if !impl(ghc >= 8.0)
build-depends:fail == 4.9.*

  -- Use TH to derive Generics instances instead of DeriveGeneric, for < 7.10
  if impl(ghc < 7.10)
build-depends:generic-deriving >= 1.9

  -- Prior to GHC 7.6, GHC generics lived in ghc-prim
  if impl(ghc >= 7.2) && impl(ghc < 7.6)
build-depends:ghc-prim

  hs-source-dirs: src
  ghc-options:-Wall
  exposed-modules:Language.Haskell.TH.Instances
  other-modules:  Language.Haskell.TH.Instances.Internal
  default-language:   Haskell2010

test-suite test
  type:   exitcode-stdio-1.0
  hs-source-dirs: test
  main-is:Spec.hs
  other-modules:  TestUtil
  build-depends:  base,
  bytestring,
  ghc-prim,
  hspec,
  template-haskell,
  th-lift,
  th-orphans
  build-tool-depends: hspec-discover:hspec-discover
  default-language:   Haskell2010

source-repository head
  type: git
  location: https://github.com/mgsloan/th-orphans



commit ghc-th-orphans for openSUSE:Factory

2019-10-18 Thread root
Hello community,

here is the log from the commit of package ghc-th-orphans for openSUSE:Factory 
checked in at 2019-10-18 14:35:15

Comparing /work/SRC/openSUSE:Factory/ghc-th-orphans (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-orphans.new.2352 (New)


Package is "ghc-th-orphans"

Fri Oct 18 14:35:15 2019 rev:8 rq:737223 version:0.13.9

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-orphans/ghc-th-orphans.changes
2019-06-19 21:13:00.762778201 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-orphans.new.2352/ghc-th-orphans.changes  
2019-10-18 14:35:16.587951402 +0200
@@ -1,0 +2,17 @@
+Sun Sep 29 07:57:12 UTC 2019 - psim...@suse.com
+
+- Update th-orphans to version 0.13.9.
+  ### 0.13.9 [2019.09.28]
+  * Implement `qReifyType` (introduced in `template-haskell-2.16.0.0`) for the
+`Quasi` instances defined in `th-orphans`.
+
+---
+Fri Sep  6 06:34:54 UTC 2019 - psim...@suse.com
+
+- Update th-orphans to version 0.13.8.
+  ### 0.13.8 [2019.09.04]
+  * Backport the `Bounded` instance for `Extension`
+(from `Language.Haskell.TH.LanguageExtensions`), which was introduced in
+`template-haskell-2.15.0.0`.
+
+---

Old:

  th-orphans-0.13.7.tar.gz
  th-orphans.cabal

New:

  th-orphans-0.13.9.tar.gz



Other differences:
--
++ ghc-th-orphans.spec ++
--- /var/tmp/diff_new_pack.VjY3jO/_old  2019-10-18 14:35:17.219949756 +0200
+++ /var/tmp/diff_new_pack.VjY3jO/_new  2019-10-18 14:35:17.219949756 +0200
@@ -19,14 +19,13 @@
 %global pkg_name th-orphans
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.13.7
+Version:0.13.9
 Release:0
 Summary:Orphan instances for TH datatypes
 License:BSD-3-Clause
 Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-rpm-macros
@@ -57,7 +56,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ th-orphans-0.13.7.tar.gz -> th-orphans-0.13.9.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-orphans-0.13.7/CHANGELOG.md 
new/th-orphans-0.13.9/CHANGELOG.md
--- old/th-orphans-0.13.7/CHANGELOG.md  2019-03-25 02:07:45.0 +0100
+++ new/th-orphans-0.13.9/CHANGELOG.md  2001-09-09 03:46:40.0 +0200
@@ -1,3 +1,12 @@
+### 0.13.9 [2019.09.28]
+* Implement `qReifyType` (introduced in `template-haskell-2.16.0.0`) for the
+  `Quasi` instances defined in `th-orphans`.
+
+### 0.13.8 [2019.09.04]
+* Backport the `Bounded` instance for `Extension`
+  (from `Language.Haskell.TH.LanguageExtensions`), which was introduced in
+  `template-haskell-2.15.0.0`.
+
 ### 0.13.7 [2019.03.24]
 * Backport the `MonadFail Q` instance.
 * Allow building with `template-haskell-2.16` by manually implementing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/th-orphans-0.13.7/src/Language/Haskell/TH/Instances/Internal.hs 
new/th-orphans-0.13.9/src/Language/Haskell/TH/Instances/Internal.hs
--- old/th-orphans-0.13.7/src/Language/Haskell/TH/Instances/Internal.hs 
1970-01-01 01:00:00.0 +0100
+++ new/th-orphans-0.13.9/src/Language/Haskell/TH/Instances/Internal.hs 
2001-09-09 03:46:40.0 +0200
@@ -0,0 +1,99 @@
+{-# LANGUAGE CPP #-}
+{-# LANGUAGE KindSignatures #-}
+{-# LANGUAGE TemplateHaskell #-}
+
+-- | Defines a utility function for deriving 'Quasi' instances for monad
+-- transformer data types.
+module Language.Haskell.TH.Instances.Internal
+  ( deriveQuasiTrans
+  , Proxy2
+  ) where
+
+import qualified Control.Monad.Trans as MTL (lift)
+import Language.Haskell.TH.Lib
+import Language.Haskell.TH.Ppr (pprint)
+import Language.Haskell.TH.Syntax
+
+deriveQuasiTrans ::
+ Q Type  -- ^ The instance head. For example, this might be of the form:
+ --
+ --   > [t| forall r m. Quasi m => Proxy2 (ReaderT r m) |]
+ --
+ --   Why use 'Proxy2' instead of 'Quasi'? Sadly, GHC 7.0/7.2 will
+ --   not accept it if you use the latter due to old TH bugs, so we
+ --   use 'Proxy2' as an ugly workaround.
+  -> Q Exp   -- ^ The implementation of 'qRecover'
+  -> Q [Dec] -- ^ The 'Quasi' instance declaration
+deriveQuasiTrans qInstHead qRecoverExpr = do
+  instHead<- 

commit ghc-th-orphans for openSUSE:Factory

2019-06-19 Thread root
Hello community,

here is the log from the commit of package ghc-th-orphans for openSUSE:Factory 
checked in at 2019-06-19 21:12:03

Comparing /work/SRC/openSUSE:Factory/ghc-th-orphans (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-orphans.new.4811 (New)


Package is "ghc-th-orphans"

Wed Jun 19 21:12:03 2019 rev:7 rq:710643 version:0.13.7

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-orphans/ghc-th-orphans.changes
2019-04-03 09:27:28.579800014 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-orphans.new.4811/ghc-th-orphans.changes  
2019-06-19 21:13:00.762778201 +0200
@@ -1,0 +2,5 @@
+Tue Jun 11 14:29:20 UTC 2019 - Peter Simons 
+
+- Update Cabal file for more accurate build dependencies.
+
+---

New:

  th-orphans.cabal



Other differences:
--
++ ghc-th-orphans.spec ++
--- /var/tmp/diff_new_pack.fPdxoU/_old  2019-06-19 21:13:01.262778686 +0200
+++ /var/tmp/diff_new_pack.fPdxoU/_new  2019-06-19 21:13:01.266778690 +0200
@@ -26,6 +26,7 @@
 Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-rpm-macros
@@ -56,6 +57,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ th-orphans.cabal ++
name:   th-orphans
version:0.13.7
x-revision: 1
cabal-version:  >= 1.10
build-type: Simple
license:BSD3
license-file:   LICENSE
category:   Template Haskell
author: Matt Morrow
copyright:  (c) Matt Morrow
maintainer: Michael Sloan 
bug-reports:https://github.com/mgsloan/th-orphans/issues
stability:  experimental
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.4
synopsis:   Orphan instances for TH datatypes
description:Orphan instances for TH datatypes.  In particular, instances
for Ord and Lift, as well as a few missing Show / Eq.  These
instances used to live in haskell-src-meta, and that's where
the version number started.
extra-source-files: CHANGELOG.md, README.md

library
  build-depends:  base >= 4.3 && < 5,
  template-haskell < 2.16,
  -- https://github.com/mboes/th-lift/issues/14
  th-lift >= 0.7.1,
  th-reify-many >= 0.1 && < 0.2,
  th-lift-instances,
  mtl

  if !impl(ghc >= 8.0)
build-depends:fail == 4.9.*

  -- Use TH to derive Generics instances instead of DeriveGeneric, for < 7.10
  if impl(ghc < 7.10)
build-depends:generic-deriving >= 1.9

  -- Prior to GHC 7.6, GHC generics lived in ghc-prim
  if impl(ghc >= 7.2) && impl(ghc < 7.6)
build-depends:ghc-prim

  hs-source-dirs: src
  ghc-options:-Wall
  exposed-modules:Language.Haskell.TH.Instances
  default-language:   Haskell2010

test-suite test
  type:   exitcode-stdio-1.0
  hs-source-dirs: test
  main-is:Spec.hs
  other-modules:  TestUtil
  build-depends:  base,
  bytestring,
  ghc-prim,
  hspec,
  template-haskell,
  th-lift,
  th-orphans
  build-tool-depends: hspec-discover:hspec-discover
  default-language:   Haskell2010

source-repository head
  type: git
  location: https://github.com/mgsloan/th-orphans



commit ghc-th-orphans for openSUSE:Factory

2019-04-03 Thread root
Hello community,

here is the log from the commit of package ghc-th-orphans for openSUSE:Factory 
checked in at 2019-04-03 09:27:26

Comparing /work/SRC/openSUSE:Factory/ghc-th-orphans (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-orphans.new.25356 (New)


Package is "ghc-th-orphans"

Wed Apr  3 09:27:26 2019 rev:6 rq:690183 version:0.13.7

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-orphans/ghc-th-orphans.changes
2018-10-25 09:06:18.250506287 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-orphans.new.25356/ghc-th-orphans.changes 
2019-04-03 09:27:28.579800014 +0200
@@ -1,0 +2,11 @@
+Mon Mar 25 11:50:15 UTC 2019 - psim...@suse.com
+
+- Update th-orphans to version 0.13.7.
+  ### 0.13.7 [2019.03.24]
+  * Backport the `MonadFail Q` instance.
+  * Allow building with `template-haskell-2.16` by manually implementing
+`Lift` for `Bytes`. See [#27]
+
+  [#27]: https://github.com/mgsloan/th-orphans/issues/27
+
+---

Old:

  th-orphans-0.13.6.tar.gz

New:

  th-orphans-0.13.7.tar.gz



Other differences:
--
++ ghc-th-orphans.spec ++
--- /var/tmp/diff_new_pack.KxeLTj/_old  2019-04-03 09:27:29.399800400 +0200
+++ /var/tmp/diff_new_pack.KxeLTj/_new  2019-04-03 09:27:29.403800402 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-th-orphans
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # 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-orphans
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.13.6
+Version:0.13.7
 Release:0
 Summary:Orphan instances for TH datatypes
 License:BSD-3-Clause
@@ -34,6 +34,7 @@
 BuildRequires:  ghc-th-lift-instances-devel
 BuildRequires:  ghc-th-reify-many-devel
 %if %{with tests}
+BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-hspec-devel
 %endif
 

++ th-orphans-0.13.6.tar.gz -> th-orphans-0.13.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-orphans-0.13.6/CHANGELOG.md 
new/th-orphans-0.13.7/CHANGELOG.md
--- old/th-orphans-0.13.6/CHANGELOG.md  2018-07-01 13:48:49.0 +0200
+++ new/th-orphans-0.13.7/CHANGELOG.md  2019-03-25 02:07:45.0 +0100
@@ -1,3 +1,10 @@
+### 0.13.7 [2019.03.24]
+* Backport the `MonadFail Q` instance.
+* Allow building with `template-haskell-2.16` by manually implementing
+  `Lift` for `Bytes`. See [#27]
+
+[#27]: https://github.com/mgsloan/th-orphans/issues/27
+
 ### 0.13.6 [2018.07.01]
 * Allow building with `template-haskell-2.14`.
 * Implement `qAddForeignFilePath` and `qAddTempFile` for `Quasi` instances
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/th-orphans-0.13.6/src/Language/Haskell/TH/Instances.hs 
new/th-orphans-0.13.7/src/Language/Haskell/TH/Instances.hs
--- old/th-orphans-0.13.6/src/Language/Haskell/TH/Instances.hs  2018-07-01 
13:48:49.0 +0200
+++ new/th-orphans-0.13.7/src/Language/Haskell/TH/Instances.hs  2019-03-25 
02:07:45.0 +0100
@@ -1,4 +1,5 @@
 {-# LANGUAGE CPP #-}
+{-# LANGUAGE RankNTypes #-}
 {-# LANGUAGE StandaloneDeriving #-}
 {-# LANGUAGE TypeSynonymInstances #-}
 {-# LANGUAGE TemplateHaskell #-}
@@ -69,6 +70,10 @@
 import qualified Control.Monad.Trans as MTL (lift)
 import Instances.TH.Lift ()
 
+#if !(MIN_VERSION_template_haskell(2,8,0))
+import Unsafe.Coerce (unsafeCoerce)
+#endif
+
 -- Thanks to Richard Eisenberg, GHC 7.10 adds many of the instances
 -- from this module.
 #if !MIN_VERSION_template_haskell(2,10,0)
@@ -108,9 +113,36 @@
 # endif
 #endif
 
+#if !(MIN_VERSION_template_haskell(2,11,0))
+import qualified Control.Monad.Fail as Fail
+#endif
+
+-- TODO: Once GHC 8.10 is released, this should be updated to use the
+-- proper template haskell version.  Other related usages of this #if
+-- should be replaced as well (and do not have a TODO like this).
+--
+-- #if MIN_VERSION_template_haskell(2,16,0)
+#if __GLASGOW_HASKELL__ >= 809
+import GHC.Ptr (Ptr(Ptr))
+import GHC.ForeignPtr (newForeignPtr_)
+import System.IO.Unsafe (unsafePerformIO)
+#endif
+
 #if !MIN_VERSION_template_haskell(2,11,0)
 deriving instance Show NameFlavour
 deriving instance Show NameSpace
+
+instance Fail.MonadFail Q where
+  fail s = report True s >> q (fail "Q monad failure")
+where
+  q :: (forall m. Quasi m => m a) -> Q a
+# if MIN_VERSION_template_haskell(2,8,0)
+  q = Q
+# else
+  -- Early versions of template-haskell did not expose Q's newtype
+  -- constructor. Desperate times call for 

commit ghc-th-orphans for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package ghc-th-orphans for openSUSE:Factory 
checked in at 2018-10-25 09:06:12

Comparing /work/SRC/openSUSE:Factory/ghc-th-orphans (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-orphans.new (New)


Package is "ghc-th-orphans"

Thu Oct 25 09:06:12 2018 rev:5 rq:643472 version:0.13.6

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-orphans/ghc-th-orphans.changes
2018-07-24 17:23:10.731360843 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-orphans.new/ghc-th-orphans.changes   
2018-10-25 09:06:18.250506287 +0200
@@ -1,0 +2,5 @@
+Sat Oct 20 11:32:07 UTC 2018 - Peter Simons 
+
+- Use https URL to refer to bugs.opensuse.org.
+
+---



Other differences:
--
++ ghc-th-orphans.spec ++
--- /var/tmp/diff_new_pack.QGMjw2/_old  2018-10-25 09:06:19.798505364 +0200
+++ /var/tmp/diff_new_pack.QGMjw2/_new  2018-10-25 09:06:19.798505364 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 




commit ghc-th-orphans for openSUSE:Factory

2018-07-24 Thread root
Hello community,

here is the log from the commit of package ghc-th-orphans for openSUSE:Factory 
checked in at 2018-07-24 17:23:07

Comparing /work/SRC/openSUSE:Factory/ghc-th-orphans (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-orphans.new (New)


Package is "ghc-th-orphans"

Tue Jul 24 17:23:07 2018 rev:4 rq:623875 version:0.13.6

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-orphans/ghc-th-orphans.changes
2018-05-30 12:27:36.225657049 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-orphans.new/ghc-th-orphans.changes   
2018-07-24 17:23:10.731360843 +0200
@@ -1,0 +2,14 @@
+Wed Jul 18 14:26:44 UTC 2018 - psim...@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+  and update copyright headers with spec-cleaner.
+
+---
+Fri Jul 13 14:31:57 UTC 2018 - psim...@suse.com
+
+- Update th-orphans to version 0.13.6.
+  ### 0.13.6 [2018.07.01]
+  * Allow building with `template-haskell-2.14`.
+  * Implement `qAddForeignFilePath` and `qAddTempFile` for `Quasi` instances
+
+---
@@ -22 +35,0 @@
-

Old:

  th-orphans-0.13.5.tar.gz
  th-orphans.cabal

New:

  th-orphans-0.13.6.tar.gz



Other differences:
--
++ ghc-th-orphans.spec ++
--- /var/tmp/diff_new_pack.5WKohX/_old  2018-07-24 17:23:11.815362228 +0200
+++ /var/tmp/diff_new_pack.5WKohX/_new  2018-07-24 17:23:11.815362228 +0200
@@ -19,14 +19,13 @@
 %global pkg_name th-orphans
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.13.5
+Version:0.13.6
 Release:0
 Summary:Orphan instances for TH datatypes
 License:BSD-3-Clause
 Group:  Development/Libraries/Haskell
 URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-rpm-macros
@@ -56,7 +55,6 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++ th-orphans-0.13.5.tar.gz -> th-orphans-0.13.6.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-orphans-0.13.5/CHANGELOG.md 
new/th-orphans-0.13.6/CHANGELOG.md
--- old/th-orphans-0.13.5/CHANGELOG.md  2018-01-18 19:05:27.0 +0100
+++ new/th-orphans-0.13.6/CHANGELOG.md  2018-07-01 13:48:49.0 +0200
@@ -1,3 +1,7 @@
+### 0.13.6 [2018.07.01]
+* Allow building with `template-haskell-2.14`.
+* Implement `qAddForeignFilePath` and `qAddTempFile` for `Quasi` instances
+
 ### 0.13.5 [2018.01.18]
 * Implement `qAddCorePlugin` for `Quasi` instances
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/th-orphans-0.13.5/src/Language/Haskell/TH/Instances.hs 
new/th-orphans-0.13.6/src/Language/Haskell/TH/Instances.hs
--- old/th-orphans-0.13.5/src/Language/Haskell/TH/Instances.hs  2018-01-18 
19:05:27.0 +0100
+++ new/th-orphans-0.13.6/src/Language/Haskell/TH/Instances.hs  2018-07-01 
13:48:49.0 +0200
@@ -356,147 +356,159 @@
 #endif
 
 instance Quasi m => Quasi (ReaderT r m) where
-  qNewName= MTL.lift . qNewName
-  qReport a b = MTL.lift $ qReport a b
-  qRecover m1 m2  = ReaderT $ \ r -> runReaderT m1 r `qRecover` runReaderT 
m2 r
-  qReify  = MTL.lift . qReify
-  qLocation   = MTL.lift qLocation
-  qRunIO  = MTL.lift . qRunIO
+  qNewName= MTL.lift . qNewName
+  qReport a b = MTL.lift $ qReport a b
+  qRecover m1 m2  = ReaderT $ \ r -> runReaderT m1 r `qRecover` 
runReaderT m2 r
+  qReify  = MTL.lift . qReify
+  qLocation   = MTL.lift qLocation
+  qRunIO  = MTL.lift . qRunIO
 #if MIN_VERSION_template_haskell(2,7,0)
-  qReifyInstances a b = MTL.lift $ qReifyInstances a b
-  qLookupName a b = MTL.lift $ qLookupName a b
-  qAddDependentFile   = MTL.lift . qAddDependentFile
+  qReifyInstances a b = MTL.lift $ qReifyInstances a b
+  qLookupName a b = MTL.lift $ qLookupName a b
+  qAddDependentFile   = MTL.lift . qAddDependentFile
 # if MIN_VERSION_template_haskell(2,9,0)
-  qReifyRoles = MTL.lift . qReifyRoles
-  qReifyAnnotations   = MTL.lift . qReifyAnnotations
-  qReifyModule= MTL.lift . qReifyModule
-  qAddTopDecls= MTL.lift . qAddTopDecls
-  qAddModFinalizer= MTL.lift . qAddModFinalizer
-  qGetQ   = MTL.lift qGetQ
-  

commit ghc-th-orphans for openSUSE:Factory

2018-05-30 Thread root
Hello community,

here is the log from the commit of package ghc-th-orphans for openSUSE:Factory 
checked in at 2018-05-30 12:14:41

Comparing /work/SRC/openSUSE:Factory/ghc-th-orphans (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-orphans.new (New)


Package is "ghc-th-orphans"

Wed May 30 12:14:41 2018 rev:3 rq:607905 version:0.13.5

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-orphans/ghc-th-orphans.changes
2017-05-10 20:49:10.470218061 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-orphans.new/ghc-th-orphans.changes   
2018-05-30 12:27:36.225657049 +0200
@@ -1,0 +2,7 @@
+Mon May 14 17:02:11 UTC 2018 - psim...@suse.com
+
+- Update th-orphans to version 0.13.5 revision 1.
+  * Implement `qAddCorePlugin` for `Quasi` instances
+  * Implement `qAddForeignFile` for `Quasi` instances
+
+---

Old:

  th-orphans-0.13.3.tar.gz

New:

  th-orphans-0.13.5.tar.gz
  th-orphans.cabal



Other differences:
--
++ ghc-th-orphans.spec ++
--- /var/tmp/diff_new_pack.vo9yqL/_old  2018-05-30 12:27:37.361617328 +0200
+++ /var/tmp/diff_new_pack.vo9yqL/_new  2018-05-30 12:27:37.361617328 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-th-orphans
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,14 @@
 %global pkg_name th-orphans
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.13.3
+Version:0.13.5
 Release:0
 Summary:Orphan instances for TH datatypes
 License:BSD-3-Clause
-Group:  Development/Languages/Other
-Url:https://hackage.haskell.org/package/%{pkg_name}
+Group:  Development/Libraries/Haskell
+URL:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
+Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-rpm-macros
@@ -33,7 +34,6 @@
 BuildRequires:  ghc-th-lift-devel
 BuildRequires:  ghc-th-lift-instances-devel
 BuildRequires:  ghc-th-reify-many-devel
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel
 %endif
@@ -45,7 +45,7 @@
 
 %package devel
 Summary:Haskell %{pkg_name} library development files
-Group:  Development/Libraries/Other
+Group:  Development/Libraries/Haskell
 Requires:   %{name} = %{version}-%{release}
 Requires:   ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}
@@ -56,6 +56,7 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
@@ -73,11 +74,9 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
-%doc LICENSE
+%license LICENSE
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 %doc CHANGELOG.md README.md
 
 %changelog

++ th-orphans-0.13.3.tar.gz -> th-orphans-0.13.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-orphans-0.13.3/CHANGELOG.md 
new/th-orphans-0.13.5/CHANGELOG.md
--- old/th-orphans-0.13.3/CHANGELOG.md  2016-11-10 00:22:37.0 +0100
+++ new/th-orphans-0.13.5/CHANGELOG.md  2018-01-18 19:05:27.0 +0100
@@ -1,2 +1,8 @@
+### 0.13.5 [2018.01.18]
+* Implement `qAddCorePlugin` for `Quasi` instances
+
+### 0.13.4 [2017.07.26]
+* Implement `qAddForeignFile` for `Quasi` instances
+
 ### 0.13.3 [2016.11.09]
 * Backport `Generic NameFlavour` instance
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/th-orphans-0.13.3/src/Language/Haskell/TH/Instances.hs 
new/th-orphans-0.13.5/src/Language/Haskell/TH/Instances.hs
--- old/th-orphans-0.13.3/src/Language/Haskell/TH/Instances.hs  2016-11-10 
00:22:37.0 +0100
+++ new/th-orphans-0.13.5/src/Language/Haskell/TH/Instances.hs  2018-01-18 
19:05:27.0 +0100
@@ -384,6 +384,12 @@
 #elif MIN_VERSION_template_haskell(2,5,0)
   qClassInstances a b = MTL.lift $ qClassInstances a b
 #endif
+#if MIN_VERSION_template_haskell(2,12,0)
+  qAddForeignFile a b = MTL.lift $ qAddForeignFile a b
+#endif
+#if MIN_VERSION_template_haskell(2,13,0)
+  qAddCorePlugin  = MTL.lift . qAddCorePlugin
+#endif
 
 instance (Quasi m, Monoid w) => Quasi (WriterT w m) where
   qNewName= MTL.lift . qNewName
@@ -414,6 +420,12 @@
 #elif 

commit ghc-th-orphans for openSUSE:Factory

2017-05-10 Thread root
Hello community,

here is the log from the commit of package ghc-th-orphans for openSUSE:Factory 
checked in at 2017-05-10 20:49:08

Comparing /work/SRC/openSUSE:Factory/ghc-th-orphans (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-th-orphans.new (New)


Package is "ghc-th-orphans"

Wed May 10 20:49:08 2017 rev:2 rq:489371 version:0.13.3

Changes:

--- /work/SRC/openSUSE:Factory/ghc-th-orphans/ghc-th-orphans.changes
2017-04-12 17:12:52.307667791 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-th-orphans.new/ghc-th-orphans.changes   
2017-05-10 20:49:10.470218061 +0200
@@ -1,0 +2,10 @@
+Mon Nov 14 09:34:49 UTC 2016 - psim...@suse.com
+
+- Update to version 0.13.3 with cabal2obs.
+
+---
+Thu Sep 15 06:32:59 UTC 2016 - psim...@suse.com
+
+- Update to version 0.13.2 revision 0 with cabal2obs.
+
+---

Old:

  th-orphans-0.13.0.tar.gz

New:

  th-orphans-0.13.3.tar.gz



Other differences:
--
++ ghc-th-orphans.spec ++
--- /var/tmp/diff_new_pack.5psneE/_old  2017-05-10 20:49:11.418084311 +0200
+++ /var/tmp/diff_new_pack.5psneE/_new  2017-05-10 20:49:11.422083747 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-th-orphans
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,25 +19,24 @@
 %global pkg_name th-orphans
 %bcond_with tests
 Name:   ghc-%{pkg_name}
-Version:0.13.0
+Version:0.13.3
 Release:0
 Summary:Orphan instances for TH datatypes
 License:BSD-3-Clause
-Group:  System/Libraries
+Group:  Development/Languages/Other
 Url:https://hackage.haskell.org/package/%{pkg_name}
 Source0:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-mtl-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-template-haskell-devel
 BuildRequires:  ghc-th-lift-devel
+BuildRequires:  ghc-th-lift-instances-devel
 BuildRequires:  ghc-th-reify-many-devel
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if %{with tests}
 BuildRequires:  ghc-hspec-devel
 %endif
-# End cabal-rpm deps
 
 %description
 Orphan instances for TH datatypes. In particular, instances for Ord and Lift,
@@ -58,20 +57,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache
@@ -85,5 +78,6 @@
 
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
+%doc CHANGELOG.md README.md
 
 %changelog

++ th-orphans-0.13.0.tar.gz -> th-orphans-0.13.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-orphans-0.13.0/CHANGELOG.md 
new/th-orphans-0.13.3/CHANGELOG.md
--- old/th-orphans-0.13.0/CHANGELOG.md  1970-01-01 01:00:00.0 +0100
+++ new/th-orphans-0.13.3/CHANGELOG.md  2016-11-10 00:22:37.0 +0100
@@ -0,0 +1,2 @@
+### 0.13.3 [2016.11.09]
+* Backport `Generic NameFlavour` instance
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/th-orphans-0.13.0/README.md 
new/th-orphans-0.13.3/README.md
--- old/th-orphans-0.13.0/README.md 1970-01-01 01:00:00.0 +0100
+++ new/th-orphans-0.13.3/README.md 2016-11-10 00:22:37.0 +0100
@@ -0,0 +1,18 @@
+# `th-orphans`
+[![Hackage](https://img.shields.io/hackage/v/th-orphans.svg)][Hackage: 
th-orphans]
+[![Hackage 
Dependencies](https://img.shields.io/hackage-deps/v/th-orphans.svg)](http://packdeps.haskellers.com/reverse/th-orphans)
+[![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/mgsloan/th-orphans.svg)](https://travis-ci.org/mgsloan/th-orphans)
+
+[Hackage: th-orphans]:
+  http://hackage.haskell.org/package/th-orphans
+  "th-orphans package on Hackage"
+[Haskell.org]:
+  http://www.haskell.org
+  "The Haskell Programming Language"
+[tl;dr Legal: BSD3]:
+  https://tldrlegal.com/license/bsd-3-clause-license-%28revised%29
+  "BSD 3-Clause License (Revised)"
+
+Orphan instances for TH datatypes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore'