Hello community, here is the log from the commit of package ghc-fclabels for openSUSE:Factory checked in at 2016-11-05 21:26:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-fclabels (Old) and /work/SRC/openSUSE:Factory/.ghc-fclabels.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-fclabels" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-fclabels/ghc-fclabels.changes 2016-07-21 08:09:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-fclabels.new/ghc-fclabels.changes 2016-11-05 21:26:42.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Oct 11 08:49:48 UTC 2016 - [email protected] + +- Update to version 2.0.3.1 with cabal2obs. + +------------------------------------------------------------------- Old: ---- fclabels-2.0.3.tar.gz New: ---- fclabels-2.0.3.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-fclabels.spec ++++++ --- /var/tmp/diff_new_pack.00XvAF/_old 2016-11-05 21:26:43.000000000 +0100 +++ /var/tmp/diff_new_pack.00XvAF/_new 2016-11-05 21:26:43.000000000 +0100 @@ -19,15 +19,14 @@ %global pkg_name fclabels %bcond_with tests Name: ghc-%{pkg_name} -Version: 2.0.3 +Version: 2.0.3.1 Release: 0 Summary: First class accessor labels implemented as lenses 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 BuildRequires: ghc-Cabal-devel -# Begin cabal-rpm deps: BuildRequires: ghc-mtl-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-template-haskell-devel @@ -36,7 +35,6 @@ %if %{with tests} BuildRequires: ghc-HUnit-devel %endif -# End cabal-rpm deps %description This package provides first class labels that can act as bidirectional record @@ -78,7 +76,7 @@ * /Changelog from 2.0.2.4 to 2.0.3/ -> - Support GHC 8. +> - Allow HUnit 1.4.*. > - Fix test suite on GHC 7.4. %package devel Summary: Haskell %{pkg_name} library development files @@ -94,20 +92,14 @@ %prep %setup -q -n %{pkg_name}-%{version} - %build %ghc_lib_build - %install %ghc_lib_install - %check -%if %{with tests} -%{cabal} test -%endif - +%cabal_test %post devel %ghc_pkg_recache ++++++ fclabels-2.0.3.tar.gz -> fclabels-2.0.3.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fclabels-2.0.3/CHANGELOG new/fclabels-2.0.3.1/CHANGELOG --- old/fclabels-2.0.3/CHANGELOG 2016-02-17 14:58:34.000000000 +0100 +++ new/fclabels-2.0.3.1/CHANGELOG 2016-10-09 22:40:53.000000000 +0200 @@ -1,5 +1,10 @@ CHANGELOG +2.0.3.1 + + - Allow HUnit 1.4.*. + - Fix test suite on GHC 7.4. + 2.0.3 - Support GHC 8. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fclabels-2.0.3/fclabels.cabal new/fclabels-2.0.3.1/fclabels.cabal --- old/fclabels-2.0.3/fclabels.cabal 2016-02-17 14:58:34.000000000 +0100 +++ new/fclabels-2.0.3.1/fclabels.cabal 2016-10-09 22:40:53.000000000 +0200 @@ -1,5 +1,5 @@ Name: fclabels -Version: 2.0.3 +Version: 2.0.3.1 Author: Sebastiaan Visser, Erik Hesselink, Chris Eidhof, Sjoerd Visscher with lots of help and feedback from others. Synopsis: First class accessor labels implemented as lenses. @@ -49,7 +49,8 @@ . * /Changelog from 2.0.2.4 to 2.0.3/ . - > - Support GHC 8. + > - Allow HUnit 1.4.*. + > - Fix test suite on GHC 7.4. Maintainer: Sebastiaan Visser <[email protected]> Homepage: https://github.com/sebastiaanvisser/fclabels @@ -60,6 +61,7 @@ Cabal-Version: >= 1.8 Build-Type: Simple Tested-With: + GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.3, @@ -85,7 +87,7 @@ GHC-Options: -Wall Build-Depends: - base >= 4.6 && < 4.10 + base >= 4.5 && < 4.10 , template-haskell >= 2.2 && < 2.12 , mtl >= 1.0 && < 2.3 , transformers >= 0.2 && < 0.6 @@ -105,7 +107,7 @@ , template-haskell >= 2.2 && < 2.12 , mtl >= 1.0 && < 2.3 , transformers >= 0.2 && < 0.6 - , HUnit >= 1.2 && < 1.4 + , HUnit >= 1.2 && < 1.5 Benchmark benchmark Type: exitcode-stdio-1.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fclabels-2.0.3/test/TestSuite.hs new/fclabels-2.0.3.1/test/TestSuite.hs --- old/fclabels-2.0.3/test/TestSuite.hs 2016-02-17 14:58:34.000000000 +0100 +++ new/fclabels-2.0.3.1/test/TestSuite.hs 2016-10-09 22:40:53.000000000 +0200 @@ -8,6 +8,7 @@ , TypeOperators , RankNTypes , FlexibleContexts + , StandaloneDeriving , CPP #-} -- Needed for the Either String orphan instances. @@ -52,9 +53,12 @@ fclabels [d| newtype Newtype a = Newtype { unNewtype :: [a] } - deriving (Eq, Ord, Show) |] +deriving instance Eq a => Eq (Newtype a) +deriving instance Ord a => Ord (Newtype a) +deriving instance Show a => Show (Newtype a) + newtypeL :: ArrowApply cat => Poly.Lens cat (Newtype a -> Newtype b) ([a] -> [b]) newtypeL = unNewtype @@ -217,10 +221,12 @@ | Con2 { field1 :: Bool , field3 :: [a] } - deriving (Eq, Show) |] +deriving instance Eq a => Eq (View2 a) +deriving instance Show a => Show (View2 a) + view :: View2 a :~> Either (Bool, (a, a)) (Bool, [a]) view = point $ Left <$> L.left >- con1 @@ -327,7 +333,7 @@ [ eq "get fA" (Total.get fA record0) 0 , eq "set fA" (Total.set fA 1 record0) record1 , eq "mod fA" (Total.modify fA (+ 1) record0) record1 - , eq "get manual_fA" (Total.get manual_fA record0) 0 + , eq "get manual_fA" (Total.get manual_fA record0) 0 , eq "set manual_fA" (Total.set manual_fA 1 record0) record1 , eq "mod manual_fA" (Total.modify manual_fA (+ 1) record0) record1 , eq "get mB" (Total.get mB first0) 0 @@ -565,4 +571,3 @@ equality :: (Eq a, Show a) => String -> a -> a -> Test equality d a b = TestCase (assertEqual d b a) -
