Hello community, here is the log from the commit of package ghc-dlist for openSUSE:Factory checked in at 2017-08-31 20:50:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-dlist (Old) and /work/SRC/openSUSE:Factory/.ghc-dlist.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-dlist" Thu Aug 31 20:50:35 2017 rev:7 rq:513233 version:0.8.0.3 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-dlist/ghc-dlist.changes 2016-10-19 13:04:03.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-dlist.new/ghc-dlist.changes 2017-08-31 20:50:36.864710340 +0200 @@ -1,0 +2,5 @@ +Thu Jul 27 14:05:35 UTC 2017 - psim...@suse.com + +- Update to version 0.8.0.3. + +------------------------------------------------------------------- Old: ---- dlist-0.8.0.2.tar.gz New: ---- dlist-0.8.0.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-dlist.spec ++++++ --- /var/tmp/diff_new_pack.saVOmC/_old 2017-08-31 20:50:37.952557638 +0200 +++ /var/tmp/diff_new_pack.saVOmC/_new 2017-08-31 20:50:37.968555392 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-dlist # -# 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,7 +19,7 @@ %global pkg_name dlist %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.8.0.2 +Version: 0.8.0.3 Release: 0 Summary: Difference lists License: BSD-3-Clause @@ -32,6 +32,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-quickcheck-instances-devel %endif %description ++++++ dlist-0.8.0.2.tar.gz -> dlist-0.8.0.3.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dlist-0.8.0.2/ChangeLog.md new/dlist-0.8.0.3/ChangeLog.md --- old/dlist-0.8.0.2/ChangeLog.md 2016-09-05 08:26:25.000000000 +0200 +++ new/dlist-0.8.0.3/ChangeLog.md 2017-07-04 16:02:10.000000000 +0200 @@ -2,6 +2,16 @@ Change Log ========== +Version 0.8.0.3 (2017-07-04) *Independence Day in the United States* +-------------------------------------------------------------------- + +#### Package changes + +* Change QuickCheck upper bound from 2.10 to 2.11 and import the `Arbitrary` + `NonEmpty` instance from quickcheck-instances for 2.10 +* Fix `stimes` property in test suite + ([Oleg Grenrus](https://github.com/phadej)) + Version 0.8.0.2 (2016-09-04) *World Sexual Health Day* ------------------------------------------------------ @@ -45,7 +55,7 @@ * Fix GHC 7.10 warnings due to imports ([Mikhail Glushenkov](https://github.com/23Skidoo)) -Version 0.7.1.1 (2015-03-19) *St Joseph's Day* +Version 0.7.1.1 (2015-03-19) *St. Joseph's Day* ---------------------------------------------- #### Package changes @@ -110,6 +120,6 @@ #### Deprecations -* Deprecate DList constructor and record selector to make it abstract +* Deprecate `DList` constructor and record selector to make it abstract (see [#4](https://github.com/spl/dlist/issues/4)) * Deprecate `maybeReturn` which is not directly relevant to dlists diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dlist-0.8.0.2/README.md new/dlist-0.8.0.3/README.md --- old/dlist-0.8.0.2/README.md 2016-09-05 08:26:25.000000000 +0200 +++ new/dlist-0.8.0.3/README.md 2017-07-04 16:02:10.000000000 +0200 @@ -1,7 +1,8 @@ # Difference Lists in Haskell -[![Travis CI](https://img.shields.io/travis/spl/dlist.svg?maxAge=2592000)](https://travis-ci.org/spl/dlist) -[![Hackage](https://img.shields.io/hackage/v/dlist.svg?maxAge=2592000)](https://hackage.haskell.org/package/dlist) +[![Hackage](https://img.shields.io/hackage/v/dlist.svg?maxAge=3600)](https://hackage.haskell.org/package/dlist "dlist on Hackage") +[![Hackage dependencies](https://img.shields.io/hackage-deps/v/dlist.svg?maxAge=3600)](http://packdeps.haskellers.com/feed?needle=dlist "dlist updated Hackage dependencies") +[![Travis CI](https://img.shields.io/travis/spl/dlist.svg?maxAge=3600)](https://travis-ci.org/spl/dlist "dlist build history on Travis CI") ## Summary diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dlist-0.8.0.2/dlist.cabal new/dlist-0.8.0.3/dlist.cabal --- old/dlist-0.8.0.2/dlist.cabal 2016-09-05 08:26:25.000000000 +0200 +++ new/dlist-0.8.0.3/dlist.cabal 2017-07-04 16:02:10.000000000 +0200 @@ -1,5 +1,5 @@ name: dlist -version: 0.8.0.2 +version: 0.8.0.3 synopsis: Difference lists description: Difference lists are a list-like type supporting O(1) append. This is @@ -45,10 +45,12 @@ build-depends: dlist, base, Cabal, - QuickCheck < 2.10 - if impl(ghc >= 8) - -- QuickCheck-2.9 introduced support for Semigroup and NonEmpty in base. - -- It is required for testing base >= 4.9 (GHC >= 8). - build-depends: QuickCheck >= 2.9 + QuickCheck < 2.11 + -- Semigroup and NonEmpty were introduced in base-4.9 (ghc-8). + -- QuickCheck-2.9 included support. QuickCheck-2.10 dropped support. + -- quickcheck-instances-0.3.15 has the Arbitrary NonEmpty instance. + if impl(ghc > 8) + build-depends: QuickCheck >= 2.9, + quickcheck-instances >= 0.3.15 && < 0.4 else build-depends: QuickCheck >= 2.7 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dlist-0.8.0.2/tests/Main.hs new/dlist-0.8.0.3/tests/Main.hs --- old/dlist-0.8.0.2/tests/Main.hs 2016-09-05 08:26:25.000000000 +0200 +++ new/dlist-0.8.0.3/tests/Main.hs 2017-07-04 16:02:10.000000000 +0200 @@ -24,8 +24,16 @@ import OverloadedStrings (testOverloadedStrings) #if MIN_VERSION_base(4,9,0) +-- base-4.9 introduced Semigroup and NonEmpty. import Data.Semigroup (Semigroup(..)) import Data.List.NonEmpty (NonEmpty(..)) + +-- QuickCheck-2.10 dropped the Arbitrary NonEmpty instance, so we import it from +-- quickcheck-instances. +#if MIN_VERSION_QuickCheck(2,10,0) +import Test.QuickCheck.Instances () +#endif + #endif -------------------------------------------------------------------------------- @@ -118,7 +126,8 @@ prop_Semigroup_sconcat xs = sconcat xs == toList (sconcat (fmap fromList xs)) prop_Semigroup_stimes :: Int -> [Int] -> Bool -prop_Semigroup_stimes n xs = stimes n xs == toList (stimes n (fromList xs)) +prop_Semigroup_stimes n xs = + n < 0 || stimes n xs == toList (stimes n (fromList xs)) #endif --------------------------------------------------------------------------------