Hello community, here is the log from the commit of package ghc-void for openSUSE:Factory checked in at 2015-09-24 06:15:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-void (Old) and /work/SRC/openSUSE:Factory/.ghc-void.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-void" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-void/ghc-void.changes 2015-05-21 08:13:29.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-void.new/ghc-void.changes 2015-09-24 06:15:11.000000000 +0200 @@ -1,0 +2,8 @@ +Sun Sep 20 19:24:46 UTC 2015 - mimi...@gmail.com + +- update to 0.7.1 +* Support semigroups 0.17 on older GHCs +* Backported NFData's semigroup instance to older GHCs. + + +------------------------------------------------------------------- Old: ---- void-0.7.tar.gz New: ---- void-0.7.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-void.spec ++++++ --- /var/tmp/diff_new_pack.B7yYI8/_old 2015-09-24 06:15:12.000000000 +0200 +++ /var/tmp/diff_new_pack.B7yYI8/_new 2015-09-24 06:15:12.000000000 +0200 @@ -19,7 +19,7 @@ %global pkg_name void Name: ghc-void -Version: 0.7 +Version: 0.7.1 Release: 0 Summary: A Haskell 98 logically uninhabited data type License: BSD-3-Clause ++++++ void-0.7.tar.gz -> void-0.7.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/void-0.7/CHANGELOG.markdown new/void-0.7.1/CHANGELOG.markdown --- old/void-0.7/CHANGELOG.markdown 2014-12-02 10:57:57.000000000 +0100 +++ new/void-0.7.1/CHANGELOG.markdown 2015-09-13 20:16:23.000000000 +0200 @@ -1,3 +1,8 @@ +0.7.1 +----- +* Support `semigroups` 0.17 on older GHCs +* Backported `NFData`'s `semigroup` instance to older GHCs. + 0.7 --- * adapt to `Data.Void` being moved into `base-4.8` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/void-0.7/LICENSE new/void-0.7.1/LICENSE --- old/void-0.7/LICENSE 2014-12-02 10:57:57.000000000 +0100 +++ new/void-0.7.1/LICENSE 2015-09-13 20:16:23.000000000 +0200 @@ -1,4 +1,4 @@ -Copyright 2013 Edward Kmett +Copyright 2015 Edward Kmett All rights reserved. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/void-0.7/README.markdown new/void-0.7.1/README.markdown --- old/void-0.7/README.markdown 2014-12-02 10:57:57.000000000 +0100 +++ new/void-0.7.1/README.markdown 2015-09-13 20:16:23.000000000 +0200 @@ -1,7 +1,7 @@ void ==== -[![Build Status](https://secure.travis-ci.org/ekmett/void.png?branch=master)](http://travis-ci.org/ekmett/void) +[![Hackage](https://img.shields.io/hackage/v/void.svg)](https://hackage.haskell.org/package/void) [![Build Status](https://secure.travis-ci.org/ekmett/void.png?branch=master)](http://travis-ci.org/ekmett/void) This package provides a canonical 'uninhabited' data type for Haskell. This arises in a surprisingly wide array of situations in practice. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/void-0.7/src/Data/Void/Unsafe.hs new/void-0.7.1/src/Data/Void/Unsafe.hs --- old/void-0.7/src/Data/Void/Unsafe.hs 2014-12-02 10:57:57.000000000 +0100 +++ new/void-0.7.1/src/Data/Void/Unsafe.hs 2015-09-13 20:16:23.000000000 +0200 @@ -5,7 +5,7 @@ #endif ----------------------------------------------------------------------------- -- | --- Copyright : (C) 2008-2013 Edward Kmett +-- Copyright : (C) 2008-2015 Edward Kmett -- License : BSD-style (see the file LICENSE) -- -- Maintainer : Edward Kmett <ekm...@gmail.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/void-0.7/src-old/Data/Void.hs new/void-0.7.1/src-old/Data/Void.hs --- old/void-0.7/src-old/Data/Void.hs 2014-12-02 10:57:57.000000000 +0100 +++ new/void-0.7.1/src-old/Data/Void.hs 2015-09-13 20:16:23.000000000 +0200 @@ -15,9 +15,13 @@ #ifndef MIN_VERSION_base #define MIN_VERSION_base(x,y,z) 1 #endif + +#ifndef MIN_VERSION_semigroups +#define MIN_VERSION_semigroups(x,y,z) 1 +#endif ----------------------------------------------------------------------------- -- | --- Copyright : (C) 2008-2013 Edward Kmett +-- Copyright : (C) 2008-2015 Edward Kmett -- License : BSD-style (see the file LICENSE) -- -- Maintainer : Edward Kmett <ekm...@gmail.com> @@ -32,6 +36,7 @@ , vacuousM ) where +import Control.DeepSeq (NFData(..)) import Control.Monad (liftM) import Data.Ix import Data.Hashable @@ -98,7 +103,11 @@ instance Semigroup Void where a <> _ = a +#if MIN_VERSION_semigroups(0,17,0) + stimes _ a = a +#else times1p _ a = a +#endif instance Ix Void where range _ = [] @@ -109,3 +118,7 @@ #if MIN_VERSION_base(4,0,0) instance Exception Void #endif + +-- | Defined as @'rnf' = 'absurd'@. +instance NFData Void where + rnf = absurd diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/void-0.7/void.cabal new/void-0.7.1/void.cabal --- old/void-0.7/void.cabal 2014-12-02 10:57:57.000000000 +0100 +++ new/void-0.7.1/void.cabal 2015-09-13 20:16:23.000000000 +0200 @@ -1,6 +1,6 @@ name: void category: Data Structures -version: 0.7 +version: 0.7.1 license: BSD3 cabal-version: >= 1.10 license-file: LICENSE @@ -9,7 +9,7 @@ stability: portable homepage: http://github.com/ekmett/void bug-reports: http://github.com/ekmett/void/issues -copyright: Copyright (C) 2008-2013 Edward A. Kmett +copyright: Copyright (C) 2008-2015 Edward A. Kmett synopsis: A Haskell 98 logically uninhabited data type description: A Haskell 98 logically uninhabited data type, used to indicate that a given term should not exist. build-type: Simple @@ -41,7 +41,8 @@ exposed-modules: Data.Void build-depends: - base >= 3 && < 10, + base >= 3 && < 10, + deepseq >= 1.1 && < 1.5, hashable >= 1.1, semigroups >= 0.8.2