Hello community, here is the log from the commit of package ghc-invariant for openSUSE:Factory checked in at 2017-06-04 01:54:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-invariant (Old) and /work/SRC/openSUSE:Factory/.ghc-invariant.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-invariant" Sun Jun 4 01:54:08 2017 rev:2 rq:494167 version:0.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-invariant/ghc-invariant.changes 2017-04-11 12:45:15.481790055 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-invariant.new/ghc-invariant.changes 2017-06-04 01:54:11.316012163 +0200 @@ -1,0 +2,10 @@ +Wed May 3 08:26:17 UTC 2017 - [email protected] + +- Update to version 0.4.2 with cabal2obs. + +------------------------------------------------------------------- +Mon Apr 24 12:46:02 UTC 2017 - [email protected] + +- Update to version 0.4.1 with cabal2obs. + +------------------------------------------------------------------- Old: ---- invariant-0.4.tar.gz New: ---- invariant-0.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-invariant.spec ++++++ --- /var/tmp/diff_new_pack.w6bgsP/_old 2017-06-04 01:54:13.459709298 +0200 +++ /var/tmp/diff_new_pack.w6bgsP/_new 2017-06-04 01:54:13.463708733 +0200 @@ -19,9 +19,9 @@ %global pkg_name invariant %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.4 +Version: 0.4.2 Release: 0 -Summary: Haskell 98 invariant functors +Summary: Haskell98 invariant functors License: BSD-2-Clause Group: Development/Languages/Other Url: https://hackage.haskell.org/package/%{pkg_name} @@ -49,7 +49,11 @@ %endif %description -Haskell 98 invariant functors. +Haskell98 invariant functors (also known as exponential functors). + +For more information, see Edward Kmett's article "Rotten Bananas": + +<http://comonad.com/reader/2008/rotten-bananas/>. %package devel Summary: Haskell %{pkg_name} library development files ++++++ invariant-0.4.tar.gz -> invariant-0.4.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/invariant-0.4/CHANGELOG.md new/invariant-0.4.2/CHANGELOG.md --- old/invariant-0.4/CHANGELOG.md 2016-07-18 19:57:37.000000000 +0200 +++ new/invariant-0.4.2/CHANGELOG.md 2017-04-24 15:04:00.000000000 +0200 @@ -1,3 +1,11 @@ +# 0.4.2 [2017.04.24] +* `invariant.cabal` used to incorrectly state the license was BSD3 when it was + in fact BSD2. This is now fixed. + +# 0.4.1 +* Fix the `Invariant V1` instance so as to `seq` its argument +* Allow building with `template-haskell-2.12` + # 0.4 * Allow TH derivation of `Invariant(2)` instances for datatypes containing unboxed tuple types diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/invariant-0.4/LICENSE new/invariant-0.4.2/LICENSE --- old/invariant-0.4/LICENSE 2016-07-18 19:57:37.000000000 +0200 +++ new/invariant-0.4.2/LICENSE 2017-04-24 15:04:00.000000000 +0200 @@ -1,4 +1,4 @@ -Copyright (c) 2012-2016, University of Kansas +Copyright (c) 2012-2017, University of Kansas All rights reserved. Redistribution and use in source and binary forms, with or without diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/invariant-0.4/invariant.cabal new/invariant-0.4.2/invariant.cabal --- old/invariant-0.4/invariant.cabal 2016-07-18 19:57:37.000000000 +0200 +++ new/invariant-0.4.2/invariant.cabal 2017-04-24 15:04:00.000000000 +0200 @@ -1,9 +1,13 @@ name: invariant -version: 0.4 -synopsis: Haskell 98 invariant functors -description: Haskell 98 invariant functors +version: 0.4.2 +synopsis: Haskell98 invariant functors +description: Haskell98 invariant functors (also known as exponential functors). + . + For more information, see Edward Kmett's article \"Rotten Bananas\": + . + <http://comonad.com/reader/2008/rotten-bananas/> category: Control, Data -license: BSD3 +license: BSD2 license-file: LICENSE homepage: https://github.com/nfrisby/invariant-functors bug-reports: https://github.com/nfrisby/invariant-functors/issues @@ -18,6 +22,8 @@ , GHC == 7.6.3 , GHC == 7.8.4 , GHC == 7.10.3 + , GHC == 8.0.2 + , GHC == 8.2.1 extra-source-files: CHANGELOG.md, README.md source-repository head @@ -42,7 +48,7 @@ , StateVar >= 1.1 && < 2 , stm >= 2.2 && < 3 , tagged >= 0.7.3 && < 1 - , template-haskell >= 2.4 && < 2.12 + , template-haskell >= 2.4 && < 2.13 , transformers >= 0.2 && < 0.6 , transformers-compat >= 0.3 && < 1 , unordered-containers >= 0.2.4 && < 0.3 @@ -54,8 +60,9 @@ main-is: Spec.hs other-modules: InvariantSpec THSpec - build-depends: base >= 4 && < 5 - , hspec >= 1.8 + build-depends: base >= 4 && < 5 + , hspec >= 1.8 , invariant - , QuickCheck >= 2 && < 3 + , QuickCheck >= 2 && < 3 + , template-haskell >= 2.4 && < 2.13 ghc-options: -Wall diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/invariant-0.4/src/Data/Functor/Invariant/TH/Internal.hs new/invariant-0.4.2/src/Data/Functor/Invariant/TH/Internal.hs --- old/invariant-0.4/src/Data/Functor/Invariant/TH/Internal.hs 2016-07-18 19:57:37.000000000 +0200 +++ new/invariant-0.4.2/src/Data/Functor/Invariant/TH/Internal.hs 2017-04-24 15:04:00.000000000 +0200 @@ -2,7 +2,7 @@ {-| Module: Data.Functor.Invariant.TH.Internal -Copyright: (C) 2012-2016 Nicolas Frisby, (C) 2015-2016 Ryan Scott +Copyright: (C) 2012-2017 Nicolas Frisby, (C) 2015-2017 Ryan Scott License: BSD-style (see the file LICENSE) Maintainer: Ryan Scott Portability: Template Haskell diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/invariant-0.4/src/Data/Functor/Invariant/TH.hs new/invariant-0.4.2/src/Data/Functor/Invariant/TH.hs --- old/invariant-0.4/src/Data/Functor/Invariant/TH.hs 2016-07-18 19:57:37.000000000 +0200 +++ new/invariant-0.4.2/src/Data/Functor/Invariant/TH.hs 2017-04-24 15:04:00.000000000 +0200 @@ -2,7 +2,7 @@ {-| Module: Data.Functor.Invariant.TH -Copyright: (C) 2012-2016 Nicolas Frisby, (C) 2015-2016 Ryan Scott +Copyright: (C) 2012-2017 Nicolas Frisby, (C) 2015-2017 Ryan Scott License: BSD-style (see the file LICENSE) Maintainer: Ryan Scott Portability: Template Haskell diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/invariant-0.4/src/Data/Functor/Invariant.hs new/invariant-0.4.2/src/Data/Functor/Invariant.hs --- old/invariant-0.4/src/Data/Functor/Invariant.hs 2016-07-18 19:57:37.000000000 +0200 +++ new/invariant-0.4.2/src/Data/Functor/Invariant.hs 2017-04-24 15:04:00.000000000 +0200 @@ -16,7 +16,7 @@ {-| Module: Data.Functor.Invariant -Copyright: (C) 2012-2016 Nicolas Frisby, (C) 2015-2016 Ryan Scott +Copyright: (C) 2012-2017 Nicolas Frisby, (C) 2015-2017 Ryan Scott License: BSD-style (see the file LICENSE) Maintainer: Ryan Scott Portability: Portable @@ -887,7 +887,7 @@ -- | from "GHC.Generics" instance Invariant V1 where -- NSF 25 July 2015: I'd prefer an -XEmptyCase, but Haskell98. - invmap _ _ _ = error "Invariant V1" + invmap _ _ x = x `seq` error "Invariant V1" -- | from "GHC.Generics" instance Invariant U1 where invmap _ _ _ = U1 -- | from "GHC.Generics" @@ -912,21 +912,27 @@ invmap f g (Comp1 fgp) = Comp1 $ invmap (invmap f g) (invmap g f) fgp # if __GLASGOW_HASKELL__ >= 800 +-- | from "GHC.Generics" instance Invariant UAddr where invmap _ _ (UAddr a) = UAddr a +-- | from "GHC.Generics" instance Invariant UChar where invmap _ _ (UChar c) = UChar c +-- | from "GHC.Generics" instance Invariant UDouble where invmap _ _ (UDouble d) = UDouble d +-- | from "GHC.Generics" instance Invariant UFloat where invmap _ _ (UFloat f) = UFloat f +-- | from "GHC.Generics" instance Invariant UInt where invmap _ _ (UInt i) = UInt i +-- | from "GHC.Generics" instance Invariant UWord where invmap _ _ (UWord w) = UWord w # endif
