Hello community, here is the log from the commit of package ghc-carray for openSUSE:Factory checked in at 2017-03-12 20:03:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-carray (Old) and /work/SRC/openSUSE:Factory/.ghc-carray.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-carray" Sun Mar 12 20:03:12 2017 rev:2 rq:477656 version:0.1.6.5 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-carray/ghc-carray.changes 2017-02-28 23:47:31.355076914 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-carray.new/ghc-carray.changes 2017-03-12 20:03:13.296365616 +0100 @@ -1,0 +2,5 @@ +Wed Aug 17 18:29:47 UTC 2016 - psimons@suse.com + +- Update to version 0.1.6.5 revision 0 with cabal2obs. + +------------------------------------------------------------------- Old: ---- carray-0.1.6.4.tar.gz New: ---- carray-0.1.6.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-carray.spec ++++++ --- /var/tmp/diff_new_pack.ulaoTn/_old 2017-03-12 20:03:13.764299403 +0100 +++ /var/tmp/diff_new_pack.ulaoTn/_new 2017-03-12 20:03:13.768298837 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-carray # -# 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,15 +19,14 @@ %global pkg_name carray %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.1.6.4 +Version: 0.1.6.5 Release: 0 Summary: A C-compatible array library 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-QuickCheck-devel BuildRequires: ghc-array-devel BuildRequires: ghc-binary-devel @@ -36,7 +35,6 @@ BuildRequires: ghc-rpm-macros BuildRequires: ghc-syb-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build -# End cabal-rpm deps %description A C-compatible array library. @@ -59,20 +57,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 ++++++ carray-0.1.6.4.tar.gz -> carray-0.1.6.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/carray-0.1.6.4/Makefile new/carray-0.1.6.5/Makefile --- old/carray-0.1.6.4/Makefile 2016-05-17 10:47:24.000000000 +0200 +++ new/carray-0.1.6.5/Makefile 2016-08-10 17:21:54.000000000 +0200 @@ -2,5 +2,5 @@ runhaskell Setup configure --user --enable-tests --enable-benchmarks runhaskell Setup build runhaskell Setup haddock - runhaskell Setup test --show-details=always + ./dist/build/test/test (cd tests; sh runtests.sh) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/carray-0.1.6.4/carray.cabal new/carray-0.1.6.5/carray.cabal --- old/carray-0.1.6.4/carray.cabal 2016-05-17 10:47:24.000000000 +0200 +++ new/carray-0.1.6.5/carray.cabal 2016-08-10 17:21:54.000000000 +0200 @@ -1,5 +1,5 @@ name: carray -version: 0.1.6.4 +version: 0.1.6.5 synopsis: A C-compatible array library. description: A C-compatible array library. @@ -21,7 +21,7 @@ Makefile source-repository this - tag: 0.1.6.4 + tag: 0.1.6.5 type: darcs location: http://hub.darcs.net/thielema/carray/ @@ -44,7 +44,7 @@ build-depends: ix-shapable >=0.1 && <0.2, binary >=0.5 && <0.9, - QuickCheck >=2.4 && <2.9 + QuickCheck >=2.4 && <2.10 if flag(bytestringInBase) build-depends: base >=2.0 && <2.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/carray-0.1.6.4/src/Data/Array/CArray/Base.hs new/carray-0.1.6.5/src/Data/Array/CArray/Base.hs --- old/carray-0.1.6.4/src/Data/Array/CArray/Base.hs 2016-05-17 10:47:24.000000000 +0200 +++ new/carray-0.1.6.5/src/Data/Array/CArray/Base.hs 2016-08-10 17:21:54.000000000 +0200 @@ -171,9 +171,7 @@ !(fp0, off, len) = S.toForeignPtr bs fp = mapPtr (flip plusPtr off) fp0 p = unsafeForeignPtrToPtr fp - safe = - sizeOf dummy * n <= len && - p == p `alignPtr` alignment dummy + safe = sizeOf dummy * n <= len && p == p `alignPtr` alignment dummy mapPtr :: (Ptr a -> Ptr b) -> ForeignPtr a -> ForeignPtr b mapPtr f (ForeignPtr addr contents) = case f $ Ptr addr of diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/carray-0.1.6.4/tests/meteor-contest-c.hs new/carray-0.1.6.5/tests/meteor-contest-c.hs --- old/carray-0.1.6.4/tests/meteor-contest-c.hs 2016-05-17 10:47:24.000000000 +0200 +++ new/carray-0.1.6.5/tests/meteor-contest-c.hs 2016-08-10 17:21:54.000000000 +0200 @@ -1,5 +1,5 @@ {-# OPTIONS -O2 -optc-O3 #-} -{-# LANGUAGE BangPatterns #-} +{-# LANGUAGE BangPatterns#-} -- The Computer Language Benchmarks Game -- http://shootout.alioth.debian.org/ @@ -34,7 +34,6 @@ cellAt :: Int -> Int -> Int cellAt x y = x + n_col * y --- swap coordOf :: Int -> (Int, Int) coordOf i = snd &&& fst $ i `quotRem` n_col diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/carray-0.1.6.4/tests/meteor-contest-u.hs new/carray-0.1.6.5/tests/meteor-contest-u.hs --- old/carray-0.1.6.4/tests/meteor-contest-u.hs 2016-05-17 10:47:24.000000000 +0200 +++ new/carray-0.1.6.5/tests/meteor-contest-u.hs 2016-08-10 17:21:54.000000000 +0200 @@ -1,5 +1,5 @@ {-# OPTIONS -O2 -optc-O3 #-} -{-# LANGUAGE BangPatterns #-} +{-# LANGUAGE BangPatterns#-} -- The Computer Language Benchmarks Game -- http://shootout.alioth.debian.org/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/carray-0.1.6.4/tests/tests.hs new/carray-0.1.6.5/tests/tests.hs --- old/carray-0.1.6.4/tests/tests.hs 2016-05-17 10:47:24.000000000 +0200 +++ new/carray-0.1.6.5/tests/tests.hs 2016-08-10 17:21:54.000000000 +0200 @@ -122,9 +122,9 @@ QC.quickCheckWith (QC.stdArgs {QC.maxSuccess = n}) a mapM_ mycheck ca_tests mapM_ mycheck [ ("amap" , prop_amap) ] --- mapM_ mycheck [ ("accum" , prop_accum) ] + mapM_ mycheck [ ("accum" , prop_accum) ] mapM_ mycheck [ ("composeAssoc", prop_composeAssoc) ] mapM_ mycheck [ ("slice all" , prop_slice_all) - {- , ("ixmapWithInd amap" , prop_ixmapWithInd_amap) -} ] + , ("ixmapWithInd amap" , prop_ixmapWithInd_amap) ] -- arb n k = generate n (mkStdGen k) arbitrary