Hello community, here is the log from the commit of package ghc-store for openSUSE:Factory checked in at 2019-07-29 17:27:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-store (Old) and /work/SRC/openSUSE:Factory/.ghc-store.new.4126 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-store" Mon Jul 29 17:27:00 2019 rev:9 rq:715421 version:0.5.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-store/ghc-store.changes 2019-06-12 13:18:45.172566626 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-store.new.4126/ghc-store.changes 2019-07-29 17:27:03.946287232 +0200 @@ -1,0 +2,9 @@ +Mon Jul 8 02:01:12 UTC 2019 - psimons@suse.com + +- Update store to version 0.5.1.2. + ## 0.5.1.2 + + * Fixes compilation with GHC < 8.0. See + [#142](https://github.com/fpco/store/issues/142). + +------------------------------------------------------------------- Old: ---- store-0.5.1.1.tar.gz New: ---- store-0.5.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-store.spec ++++++ --- /var/tmp/diff_new_pack.8fXGCG/_old 2019-07-29 17:27:04.386287069 +0200 +++ /var/tmp/diff_new_pack.8fXGCG/_new 2019-07-29 17:27:04.390287068 +0200 @@ -19,7 +19,7 @@ %global pkg_name store %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.5.1.1 +Version: 0.5.1.2 Release: 0 Summary: Fast binary serialization License: MIT ++++++ store-0.5.1.1.tar.gz -> store-0.5.1.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/store-0.5.1.1/ChangeLog.md new/store-0.5.1.2/ChangeLog.md --- old/store-0.5.1.1/ChangeLog.md 2019-05-21 07:04:38.000000000 +0200 +++ new/store-0.5.1.2/ChangeLog.md 2019-07-07 05:32:21.000000000 +0200 @@ -1,5 +1,10 @@ # ChangeLog +## 0.5.1.2 + +* Fixes compilation with GHC < 8.0. See + [#142](https://github.com/fpco/store/issues/142). + ## 0.5.1.1 * Update to the instances for generics, to improve error messages for diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/store-0.5.1.1/src/Data/Store/Impl.hs new/store-0.5.1.2/src/Data/Store/Impl.hs --- old/store-0.5.1.1/src/Data/Store/Impl.hs 2019-05-21 07:02:09.000000000 +0200 +++ new/store-0.5.1.2/src/Data/Store/Impl.hs 2019-07-07 05:28:15.000000000 +0200 @@ -287,13 +287,16 @@ type FitsInByte n = FitsInByteResult (n <=? 255) type family FitsInByteResult (b :: Bool) :: Constraint where - FitsInByteResult True = () - FitsInByteResult False = TypeErrorMessage + FitsInByteResult 'True = () + FitsInByteResult 'False = TypeErrorMessage "Generic deriving of Store instances can only be used on datatypes with fewer than 256 constructors." type family TypeErrorMessage (a :: Symbol) :: Constraint where #if MIN_VERSION_base(4,9,0) TypeErrorMessage a = TypeError (Text a) +-- GHC < 8.0 does not support empty closed type families +#elif __GLASGOW_HASKELL__ < 800 + TypeErrorMessage a = a ~ "" #endif -- Similarly to splitting up the generic class into multiple classes, we diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/store-0.5.1.1/store.cabal new/store-0.5.1.2/store.cabal --- old/store-0.5.1.1/store.cabal 2019-05-21 07:05:18.000000000 +0200 +++ new/store-0.5.1.2/store.cabal 2019-07-07 05:33:20.000000000 +0200 @@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack -- --- hash: a18e85521a544ee521dc7788e9b2194c7c3ec0efbeb6092e401782d962ea22d3 +-- hash: 432401eddc329fdeadc94cd6a50d7641756074a9537ef2306c874619e22c33af name: store -version: 0.5.1.1 +version: 0.5.1.2 synopsis: Fast binary serialization category: Serialization, Data homepage: https://github.com/fpco/store#readme