Hello community, here is the log from the commit of package ghc-aeson-compat for openSUSE:Factory checked in at 2016-10-22 13:19:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-aeson-compat (Old) and /work/SRC/openSUSE:Factory/.ghc-aeson-compat.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-aeson-compat" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-aeson-compat/ghc-aeson-compat.changes 2016-07-21 08:01:05.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-aeson-compat.new/ghc-aeson-compat.changes 2016-10-22 13:19:43.000000000 +0200 @@ -1,0 +2,15 @@ +Mon Sep 26 06:51:38 UTC 2016 - [email protected] + +- Update to version 0.3.6 revision 1 with cabal2obs. + +------------------------------------------------------------------- +Thu Sep 15 06:39:46 UTC 2016 - [email protected] + +- Update to version 0.3.6 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Wed Aug 17 18:34:43 UTC 2016 - [email protected] + +- Update to version 0.3.5.1 revision 1 with cabal2obs. + +------------------------------------------------------------------- Old: ---- aeson-compat-0.3.5.1.tar.gz New: ---- aeson-compat-0.3.6.tar.gz aeson-compat.cabal ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-aeson-compat.spec ++++++ --- /var/tmp/diff_new_pack.DT9Nht/_old 2016-10-22 13:19:45.000000000 +0200 +++ /var/tmp/diff_new_pack.DT9Nht/_new 2016-10-22 13:19:45.000000000 +0200 @@ -19,15 +19,15 @@ %global pkg_name aeson-compat %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.3.5.1 +Version: 0.3.6 Release: 0 Summary: Compatibility layer for aeson 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 +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-aeson-devel BuildRequires: ghc-attoparsec-devel BuildRequires: ghc-base-compat-devel @@ -54,7 +54,6 @@ BuildRequires: ghc-tasty-hunit-devel BuildRequires: ghc-tasty-quickcheck-devel %endif -# End cabal-rpm deps %description Compatibility layer for 'aeson'. @@ -72,21 +71,16 @@ %prep %setup -q -n %{pkg_name}-%{version} - +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build - %install %ghc_lib_install - %check -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %post devel %ghc_pkg_recache @@ -100,6 +94,5 @@ %files devel -f %{name}-devel.files %defattr(-,root,root,-) -%doc CHANGELOG.md README.md %changelog ++++++ aeson-compat-0.3.5.1.tar.gz -> aeson-compat-0.3.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aeson-compat-0.3.5.1/CHANGELOG.md new/aeson-compat-0.3.6/CHANGELOG.md --- old/aeson-compat-0.3.5.1/CHANGELOG.md 2016-07-05 22:47:04.000000000 +0200 +++ new/aeson-compat-0.3.6/CHANGELOG.md 2016-09-12 11:56:30.000000000 +0200 @@ -1,4 +1,12 @@ -# 0.3.5.1. +# 0.3.6 + +- Fix accidental removal of `AesonException` export + +# 0.3.5.2 + +- Support QuickCheck-2.9.1 + +# 0.3.5.1 - Fix `(.=)` export regression introduced by 0.3.5.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aeson-compat-0.3.5.1/aeson-compat.cabal new/aeson-compat-0.3.6/aeson-compat.cabal --- old/aeson-compat-0.3.5.1/aeson-compat.cabal 2016-07-05 22:46:18.000000000 +0200 +++ new/aeson-compat-0.3.6/aeson-compat.cabal 2016-09-12 11:56:30.000000000 +0200 @@ -1,9 +1,9 @@ --- This file has been generated from package.yaml by hpack version 0.14.0. +-- This file has been generated from package.yaml by hpack version 0.14.1. -- -- see: https://github.com/sol/hpack name: aeson-compat -version: 0.3.5.1 +version: 0.3.6 synopsis: Compatibility layer for aeson description: Compatibility layer for @aeson@ category: Web @@ -32,7 +32,7 @@ build-depends: base >=4.6 && <4.10 , base-compat >=0.6.0 && <0.10 - , aeson >=0.7.0.6 && <0.11.3 + , aeson >=0.7.0.6 && <1.1 , attoparsec >=0.12 && <0.14 , bytestring >=0.10 && <0.11 , containers >=0.5 && <0.6 @@ -62,7 +62,7 @@ build-depends: base >=4.6 && <4.10 , base-compat >=0.6.0 && <0.10 - , aeson >=0.7.0.6 && <0.11.3 + , aeson >=0.7.0.6 && <1.1 , attoparsec >=0.12 && <0.14 , bytestring >=0.10 && <0.11 , containers >=0.5 && <0.6 @@ -82,7 +82,7 @@ , tasty >=0.10 && <0.12 , tasty-hunit >=0.9 && <0.10 , tasty-quickcheck >=0.8 && <0.9 - , QuickCheck >=2.7.6 && <2.8.3 + , QuickCheck >=2.7.6 && <2.9.2 , quickcheck-instances >=0.3 && <0.3.13 other-modules: Orphans diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aeson-compat-0.3.5.1/src/Data/Aeson/Compat.hs new/aeson-compat-0.3.6/src/Data/Aeson/Compat.hs --- old/aeson-compat-0.3.5.1/src/Data/Aeson/Compat.hs 2016-07-05 22:46:09.000000000 +0200 +++ new/aeson-compat-0.3.6/src/Data/Aeson/Compat.hs 2016-09-12 11:56:30.000000000 +0200 @@ -24,6 +24,7 @@ -- ** Direct encoding decode, decode', + AesonException(..), eitherDecode, eitherDecode', encode, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aeson-compat-0.3.5.1/test/Orphans.hs new/aeson-compat-0.3.6/test/Orphans.hs --- old/aeson-compat-0.3.5.1/test/Orphans.hs 2016-03-27 17:28:25.000000000 +0200 +++ new/aeson-compat-0.3.6/test/Orphans.hs 2016-09-12 11:56:30.000000000 +0200 @@ -5,7 +5,6 @@ import Prelude () import Prelude.Compat -import Data.Version (Version (..)) import Test.Tasty.QuickCheck import Data.Orphans () @@ -15,16 +14,18 @@ import Data.Vector as V #endif -#if !MIN_VERSION_QuickCheck(2,8,3) +#if !(MIN_VERSION_QuickCheck(2,8,0) && MIN_VERSION_base(4,8,0)) && !(MIN_VERSION_QuickCheck(2,9,0)) +import Numeric.Natural (Natural) +#endif + +#if !MIN_VERSION_QuickCheck(2,9,0) import Control.Applicative (Const (..)) import Data.List.NonEmpty (NonEmpty (..)) -import Data.Proxy (Proxy (..)) -import Data.Tagged (Tagged (..)) +import Data.Version (Version (..)) #endif -#if !(MIN_VERSION_QuickCheck(2,8,0) && MIN_VERSION_base(4,8,0)) -import Numeric.Natural (Natural) -#endif +import Data.Proxy (Proxy (..)) +import Data.Tagged (Tagged (..)) #if !MIN_VERSION_quickcheck_instances(0,3,12) instance Arbitrary a => Arbitrary (Vector a) where @@ -32,30 +33,30 @@ shrink = fmap V.fromList . shrink . V.toList #endif -#if !(MIN_VERSION_QuickCheck(2,8,0) && MIN_VERSION_base(4,8,0)) +#if !(MIN_VERSION_QuickCheck(2,8,0) && MIN_VERSION_base(4,8,0)) && !(MIN_VERSION_QuickCheck(2,9,0)) instance Arbitrary Natural where arbitrary = fmap (fromInteger . abs) arbitrary #endif -instance Arbitrary Version where - arbitrary = do - x <- fmap abs arbitrary - xs <- (fmap . fmap) abs arbitrary - return $ Version (x : xs) [] - -#if !MIN_VERSION_QuickCheck(2,8,3) +#if !MIN_VERSION_QuickCheck(2,9,0) instance Arbitrary a => Arbitrary (NonEmpty a) where arbitrary = do x <- arbitrary xs <- arbitrary return (x :| xs) -instance Arbitrary a => Arbitrary (Tagged t a) where - arbitrary = fmap Tagged arbitrary - instance Arbitrary a => Arbitrary (Const a b) where arbitrary = fmap Const arbitrary +instance Arbitrary Version where + arbitrary = do + x <- fmap abs arbitrary + xs <- (fmap . fmap) abs arbitrary + return $ Version (x : xs) [] +#endif + +instance Arbitrary a => Arbitrary (Tagged t a) where + arbitrary = fmap Tagged arbitrary + instance Arbitrary (Proxy a) where arbitrary = return Proxy -#endif ++++++ aeson-compat.cabal ++++++ -- This file has been generated from package.yaml by hpack version 0.15.0. -- -- see: https://github.com/sol/hpack name: aeson-compat version: 0.3.6 x-revision: 1 synopsis: Compatibility layer for aeson description: Compatibility layer for @aeson@ category: Web homepage: https://github.com/phadej/aeson-compat#readme bug-reports: https://github.com/phadej/aeson-compat/issues author: Oleg Grenrus <[email protected]> maintainer: Oleg Grenrus <[email protected]> license: BSD3 license-file: LICENSE tested-with: GHC==7.6.3, GHC==7.8.4, GHC==7.10.3, GHC==8.0.1 build-type: Simple cabal-version: >= 1.10 extra-source-files: CHANGELOG.md README.md source-repository head type: git location: https://github.com/phadej/aeson-compat library hs-source-dirs: src ghc-options: -Wall build-depends: base >=4.6 && <4.10 , base-compat >=0.6.0 && <0.10 , aeson >=0.7.0.6 && <1.1 , attoparsec >=0.12 && <0.14 , bytestring >=0.10 && <0.11 , containers >=0.5 && <0.6 , exceptions >=0.8 && <0.9 , hashable >=1.2 && <1.3 , nats >=1 && <1.2 , scientific >=0.3 && <0.4 , text >=1.2 && <1.3 , time >=1.4.2 && <1.7 , time-locale-compat >=0.1.0.1 && <0.2 , unordered-containers >=0.2 && <0.3 , vector >=0.10 && <0.12 , semigroups >=0.16.2.2 && <0.19 , tagged >=0.7.3 && <0.9 exposed-modules: Data.Aeson.Compat other-modules: Data.Aeson.Compat.Time default-language: Haskell2010 test-suite aeson-compat-test type: exitcode-stdio-1.0 main-is: Tests.hs hs-source-dirs: test ghc-options: -Wall build-depends: base >=4.6 && <4.10 , base-compat >=0.6.0 && <0.10 , aeson >=0.7.0.6 && <1.1 , attoparsec >=0.12 && <0.14 , bytestring >=0.10 && <0.11 , containers >=0.5 && <0.6 , exceptions >=0.8 && <0.9 , hashable >=1.2 && <1.3 , nats >=1 && <1.2 , scientific >=0.3 && <0.4 , text >=1.2 && <1.3 , time >=1.4.2 && <1.7 , time-locale-compat >=0.1.0.1 && <0.2 , unordered-containers >=0.2 && <0.3 , vector >=0.10 && <0.12 , semigroups >=0.16.2.2 && <0.19 , tagged >=0.7.3 && <0.9 , aeson-compat , base-orphans >=0.4.5 && <0.6 , tasty >=0.10 && <0.12 , tasty-hunit >=0.9 && <0.10 , tasty-quickcheck >=0.8 && <0.9 , QuickCheck >=2.7.6 && <2.9.3 , quickcheck-instances >=0.3 && <0.3.13 other-modules: Orphans default-language: Haskell2010
