commit ghc-vector-algorithms for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-vector-algorithms for openSUSE:Factory checked in at 2020-08-28 21:40:48 Comparing /work/SRC/openSUSE:Factory/ghc-vector-algorithms (Old) and /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new.3399 (New) Package is "ghc-vector-algorithms" Fri Aug 28 21:40:48 2020 rev:13 rq:829482 version:0.8.0.3 Changes: --- /work/SRC/openSUSE:Factory/ghc-vector-algorithms/ghc-vector-algorithms.changes 2020-06-19 17:20:50.899445802 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new.3399/ghc-vector-algorithms.changes 2020-08-28 21:40:48.944874834 +0200 @@ -1,0 +2,5 @@ +Tue Aug 18 10:46:32 UTC 2020 - Peter Simons + +- Replace %setup -q with the more modern %autosetup macro. + +--- Other differences: -- ++ ghc-vector-algorithms.spec ++ --- /var/tmp/diff_new_pack.Ih0sms/_old 2020-08-28 21:40:49.432875013 +0200 +++ /var/tmp/diff_new_pack.Ih0sms/_new 2020-08-28 21:40:49.436875014 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-vector-algorithms # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -51,7 +51,7 @@ files. %prep -%setup -q -n %{pkg_name}-%{version} +%autosetup -n %{pkg_name}-%{version} %build %ghc_lib_build
commit ghc-vector-algorithms for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-vector-algorithms for openSUSE:Factory checked in at 2020-06-19 17:20:45 Comparing /work/SRC/openSUSE:Factory/ghc-vector-algorithms (Old) and /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new.3606 (New) Package is "ghc-vector-algorithms" Fri Jun 19 17:20:45 2020 rev:12 rq:815213 version:0.8.0.3 Changes: --- /work/SRC/openSUSE:Factory/ghc-vector-algorithms/ghc-vector-algorithms.changes 2019-12-27 13:59:02.052822564 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new.3606/ghc-vector-algorithms.changes 2020-06-19 17:20:50.899445802 +0200 @@ -1,0 +2,5 @@ +Tue Jun 16 11:14:49 UTC 2020 - Peter Simons + +- Re-generate file with latest version of spec-cleaner. + +--- Other differences: -- ++ ghc-vector-algorithms.spec ++ --- /var/tmp/diff_new_pack.6DnmBa/_old 2020-06-19 17:20:52.743451267 +0200 +++ /var/tmp/diff_new_pack.6DnmBa/_new 2020-06-19 17:20:52.747451279 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-vector-algorithms # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed
commit ghc-vector-algorithms for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-vector-algorithms for openSUSE:Factory checked in at 2019-12-27 13:59:00 Comparing /work/SRC/openSUSE:Factory/ghc-vector-algorithms (Old) and /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new.6675 (New) Package is "ghc-vector-algorithms" Fri Dec 27 13:59:00 2019 rev:11 rq:759556 version:0.8.0.3 Changes: --- /work/SRC/openSUSE:Factory/ghc-vector-algorithms/ghc-vector-algorithms.changes 2019-06-19 21:13:15.086792275 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new.6675/ghc-vector-algorithms.changes 2019-12-27 13:59:02.052822564 +0100 @@ -1,0 +2,13 @@ +Tue Dec 3 09:19:16 UTC 2019 - psim...@suse.com + +- Update vector-algorithms to version 0.8.0.3. + Upstream added a new change log file in this release. With no + previous version to compare against, the automatic updater cannot + reliable determine the relevante entries for this release. + +--- +Fri Nov 8 16:15:10 UTC 2019 - Peter Simons + +- Drop obsolete group attributes. + +--- Old: vector-algorithms-0.8.0.1.tar.gz vector-algorithms.cabal New: vector-algorithms-0.8.0.3.tar.gz Other differences: -- ++ ghc-vector-algorithms.spec ++ --- /var/tmp/diff_new_pack.HYIXPj/_old 2019-12-27 13:59:04.992823984 +0100 +++ /var/tmp/diff_new_pack.HYIXPj/_new 2019-12-27 13:59:04.996823986 +0100 @@ -19,14 +19,12 @@ %global pkg_name vector-algorithms %bcond_with tests Name: ghc-%{pkg_name} -Version:0.8.0.1 +Version:0.8.0.3 Release:0 Summary:Efficient algorithms for vector arrays License:BSD-3-Clause -Group: Development/Libraries/Haskell 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/2.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-primitive-devel @@ -43,7 +41,6 @@ %package devel Summary:Haskell %{pkg_name} library development files -Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} @@ -55,7 +52,6 @@ %prep %setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build @@ -76,5 +72,6 @@ %license LICENSE %files devel -f %{name}-devel.files +%doc CHANGELOG.md %changelog ++ vector-algorithms-0.8.0.1.tar.gz -> vector-algorithms-0.8.0.3.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vector-algorithms-0.8.0.1/CHANGELOG.md new/vector-algorithms-0.8.0.3/CHANGELOG.md --- old/vector-algorithms-0.8.0.1/CHANGELOG.md 1970-01-01 01:00:00.0 +0100 +++ new/vector-algorithms-0.8.0.3/CHANGELOG.md 2001-09-09 03:46:40.0 +0200 @@ -0,0 +1,10 @@ +## Version 0.8.0.3 (2019-12-02) + +- Fix out-of-bounds access in Timsort. + +## Version 0.8.0.2 (2019-11-28) + +- Bump upper bounds on primitive and QuickCheck. +- Expose 'terminate' function from 'AmericanFlag' module. +- Fix an off-by-one error in Data.Vector.Algorithms.Heaps.heapInsert. + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vector-algorithms-0.8.0.1/src/Data/Vector/Algorithms/AmericanFlag.hs new/vector-algorithms-0.8.0.3/src/Data/Vector/Algorithms/AmericanFlag.hs --- old/vector-algorithms-0.8.0.1/src/Data/Vector/Algorithms/AmericanFlag.hs 2018-10-09 03:32:06.0 +0200 +++ new/vector-algorithms-0.8.0.3/src/Data/Vector/Algorithms/AmericanFlag.hs 2001-09-09 03:46:40.0 +0200 @@ -28,6 +28,7 @@ module Data.Vector.Algorithms.AmericanFlag ( sort , sortBy + , terminate , Lexicographic(..) ) where diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vector-algorithms-0.8.0.1/src/Data/Vector/Algorithms/Heap.hs new/vector-algorithms-0.8.0.3/src/Data/Vector/Algorithms/Heap.hs --- old/vector-algorithms-0.8.0.1/src/Data/Vector/Algorithms/Heap.hs 2018-10-09 03:32:06.0 +0200 +++ new/vector-algorithms-0.8.0.3/src/Data/Vector/Algorithms/Heap.hs 2001-09-09 03:46:40.0 +0200 @@ -265,8 +265,8 @@ where sift k | k <= 0=
commit ghc-vector-algorithms for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-vector-algorithms for openSUSE:Factory checked in at 2019-06-19 21:12:36 Comparing /work/SRC/openSUSE:Factory/ghc-vector-algorithms (Old) and /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new.4811 (New) Package is "ghc-vector-algorithms" Wed Jun 19 21:12:36 2019 rev:10 rq:710651 version:0.8.0.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-vector-algorithms/ghc-vector-algorithms.changes 2018-10-25 08:19:20.203991902 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new.4811/ghc-vector-algorithms.changes 2019-06-19 21:13:15.086792275 +0200 @@ -1,0 +2,5 @@ +Tue Jun 11 14:29:23 UTC 2019 - Peter Simons + +- Update Cabal file for more accurate build dependencies. + +--- New: vector-algorithms.cabal Other differences: -- ++ ghc-vector-algorithms.spec ++ --- /var/tmp/diff_new_pack.n9Hc3T/_old 2019-06-19 21:13:16.570793787 +0200 +++ /var/tmp/diff_new_pack.n9Hc3T/_new 2019-06-19 21:13:16.594793811 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-vector-algorithms # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -26,6 +26,7 @@ Group: Development/Libraries/Haskell 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/2.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-primitive-devel @@ -54,6 +55,7 @@ %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++ vector-algorithms.cabal ++ name: vector-algorithms version: 0.8.0.1 x-revision: 2 license: BSD3 license-file: LICENSE author:Dan Doel maintainer:Dan Doel Erik de Castro Lopo copyright: (c) 2008,2009,2010,2011,2012,2013,2014,2015 Dan Doel (c) 2015 Tim Baumann homepage: https://github.com/erikd/vector-algorithms/ category: Data synopsis: Efficient algorithms for vector arrays description: Efficient algorithms for sorting vector arrays. At some stage other vector algorithms may be added. build-type:Simple cabal-version: >= 1.9.2 flag BoundsChecks description: Enable bounds checking default: True flag UnsafeChecks description: Enable bounds checking in unsafe operations at the cost of a significant performance penalty. default: False flag InternalChecks description: Enable internal consistency checks at the cost of a significant performance penalty. default: False flag bench description: Build a benchmarking program to test vector-algorithms performance default: True flag properties description: Enable the quickcheck tests default: True -- flag dump-simpl -- description: Dumps the simplified core during compilation -- default: False flag llvm description: Build using llvm default: False source-repository head type: git location: https://github.com/erikd/vector-algorithms/ library hs-source-dirs: src build-depends: base >= 4.5 && < 5, vector >= 0.6 && < 0.13, primitive >=0.3 && <0.8, bytestring >= 0.9 && < 1.0 if ! impl (ghc >= 7.8) build-depends: tagged >= 0.4 && < 0.9 exposed-modules: Data.Vector.Algorithms.Optimal Data.Vector.Algorithms.Insertion Data.Vector.Algorithms.Intro Data.Vector.Algorithms.Merge Data.Vector.Algorithms.Radix Data.Vector.Algorithms.Search Data.Vector.Algorithms.Heap Data.Vector.Algorithms.AmericanFlag Data.Vector.Algorithms.Tim other-modules: Data.Vector.Algorithms.Common ghc-options: -funbox-strict-fields -- Cabal/Hackage complains about these -- if flag(dump-simpl) -- ghc-options: -ddump-simpl -ddump-to-file if flag(llvm) ghc-options: -fllvm include-dirs: include install-includes: vector.h if flag(BoundsChecks) cpp-options: -DVECTOR_BOUNDS_CHECKS if flag(UnsafeChecks) cpp-options: -DVECTOR_UNSAFE_CHECKS if flag(InternalChecks) cpp-options: -DVECTOR_INTERNAL_CHECKS benchmark simple-bench hs-source-dirs: bench/simple type:
commit ghc-vector-algorithms for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-vector-algorithms for openSUSE:Factory checked in at 2018-10-25 08:19:16 Comparing /work/SRC/openSUSE:Factory/ghc-vector-algorithms (Old) and /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new (New) Package is "ghc-vector-algorithms" Thu Oct 25 08:19:16 2018 rev:9 rq:642903 version:0.8.0.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-vector-algorithms/ghc-vector-algorithms.changes 2018-09-03 10:35:09.752678695 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new/ghc-vector-algorithms.changes 2018-10-25 08:19:20.203991902 +0200 @@ -1,0 +2,6 @@ +Wed Oct 10 19:23:57 UTC 2018 - psim...@suse.com + +- Update vector-algorithms to version 0.8.0.1. + Upstream does not provide a change log file. + +--- Old: vector-algorithms-0.7.0.4.tar.gz New: vector-algorithms-0.8.0.1.tar.gz Other differences: -- ++ ghc-vector-algorithms.spec ++ --- /var/tmp/diff_new_pack.FyE2YU/_old 2018-10-25 08:19:20.695991685 +0200 +++ /var/tmp/diff_new_pack.FyE2YU/_new 2018-10-25 08:19:20.61683 +0200 @@ -12,14 +12,14 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global pkg_name vector-algorithms %bcond_with tests Name: ghc-%{pkg_name} -Version:0.7.0.4 +Version:0.8.0.1 Release:0 Summary:Efficient algorithms for vector arrays License:BSD-3-Clause ++ vector-algorithms-0.7.0.4.tar.gz -> vector-algorithms-0.8.0.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vector-algorithms-0.7.0.4/bench/simple/Blocks.hs new/vector-algorithms-0.8.0.1/bench/simple/Blocks.hs --- old/vector-algorithms-0.7.0.4/bench/simple/Blocks.hs2018-08-24 13:13:24.0 +0200 +++ new/vector-algorithms-0.8.0.1/bench/simple/Blocks.hs2018-10-09 03:32:06.0 +0200 @@ -46,12 +46,12 @@ where initial n = fill n >>= unsafeWrite arr n >> when (n > 0) (initial $ n - 1) {-# INLINE initialize #-} -speedTest :: (Unbox e) => Int +speedTest :: (Unbox e) => MVector RealWorld e + -> Int -> (Int -> IO e) -> (MVector RealWorld e -> IO ()) -> IO Integer -speedTest n fill algo = do - arr <- new n +speedTest arr n fill algo = do initialize arr n fill t0 <- clock algo arr diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vector-algorithms-0.7.0.4/bench/simple/Main.hs new/vector-algorithms-0.8.0.1/bench/simple/Main.hs --- old/vector-algorithms-0.7.0.4/bench/simple/Main.hs 2018-08-24 13:13:24.0 +0200 +++ new/vector-algorithms-0.8.0.1/bench/simple/Main.hs 2018-10-09 03:32:06.0 +0200 @@ -5,8 +5,8 @@ import Prelude hiding (read, length) import qualified Prelude as P +import Control.Monad import Control.Monad.ST -import Control.Monad.Error import Data.Char import Data.Ord (comparing) @@ -40,20 +40,21 @@ displayTime :: String -> Integer -> IO () displayTime s elapsed = putStrLn $ -s ++ " : " ++ show (fromIntegral elapsed / 1e12) ++ " seconds" +s ++ " : " ++ show (fromIntegral elapsed / (1e12 :: Double)) ++ " seconds" run :: String -> IO Integer -> IO () run s t = t >>= displayTime s sortSuite :: String -> GenIO -> Int -> (MVector RealWorld Int -> IO ()) -> IO () sortSuite str g n sort = do + arr <- new n putStrLn $ "Testing: " ++ str - run "Random" $ speedTest n (rand g >=> modulo n) sort - run "Sorted" $ speedTest n ascend sort - run "Reverse-sorted" $ speedTest n (descend n) sort - run "Random duplicates " $ speedTest n (rand g >=> modulo 1000) sort + run "Random" $ speedTest arr n (rand g >=> modulo n) sort + run "Sorted" $ speedTest arr n ascend sort + run "Reverse-sorted" $ speedTest arr n (descend n) sort + run "Random duplicates " $ speedTest arr n (rand g >=> modulo 1000) sort let m = 4 * (n `div` 4) - run "Median killer " $ speedTest m (medianKiller m) sort + run "Median killer " $ speedTest arr m (medianKiller m) sort partialSortSuite :: String -> GenIO -> Int -> Int -> (MVector RealWorld Int -> Int -> IO ()) -> IO () @@ -142,7 +143,6 @@ RadixSort -> sortSuite"radix sort"g n radixSort AmericanFlagSort -> sortSuite"flag sort" g n flagSort
commit ghc-vector-algorithms for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-vector-algorithms for openSUSE:Factory checked in at 2018-09-03 10:35:09 Comparing /work/SRC/openSUSE:Factory/ghc-vector-algorithms (Old) and /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new (New) Package is "ghc-vector-algorithms" Mon Sep 3 10:35:09 2018 rev:8 rq:632493 version:0.7.0.4 Changes: --- /work/SRC/openSUSE:Factory/ghc-vector-algorithms/ghc-vector-algorithms.changes 2018-08-20 16:21:01.332958205 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new/ghc-vector-algorithms.changes 2018-09-03 10:35:09.752678695 +0200 @@ -1,0 +2,6 @@ +Thu Aug 30 15:29:21 UTC 2018 - psim...@suse.com + +- Update vector-algorithms to version 0.7.0.4. + Upstream does not provide a change log file. + +--- Old: vector-algorithms-0.7.0.1.tar.gz vector-algorithms.cabal New: vector-algorithms-0.7.0.4.tar.gz Other differences: -- ++ ghc-vector-algorithms.spec ++ --- /var/tmp/diff_new_pack.sfDL8U/_old 2018-09-03 10:35:10.208679871 +0200 +++ /var/tmp/diff_new_pack.sfDL8U/_new 2018-09-03 10:35:10.208679871 +0200 @@ -19,14 +19,13 @@ %global pkg_name vector-algorithms %bcond_with tests Name: ghc-%{pkg_name} -Version:0.7.0.1 +Version:0.7.0.4 Release:0 Summary:Efficient algorithms for vector arrays License:BSD-3-Clause Group: Development/Libraries/Haskell 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/2.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-primitive-devel @@ -38,7 +37,8 @@ %endif %description -Efficient algorithms for vector arrays. +Efficient algorithms for sorting vector arrays. At some stage other vector +algorithms may be added. %package devel Summary:Haskell %{pkg_name} library development files @@ -54,7 +54,6 @@ %prep %setup -q -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build ++ vector-algorithms-0.7.0.1.tar.gz -> vector-algorithms-0.7.0.4.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vector-algorithms-0.7.0.1/bench/Blocks.hs new/vector-algorithms-0.7.0.4/bench/Blocks.hs --- old/vector-algorithms-0.7.0.1/bench/Blocks.hs 2015-08-12 23:47:36.0 +0200 +++ new/vector-algorithms-0.7.0.4/bench/Blocks.hs 1970-01-01 01:00:00.0 +0100 @@ -1,62 +0,0 @@ -{-# LANGUAGE Rank2Types #-} - -module Blocks where - -import Control.Monad -import Control.Monad.ST - -import Data.Vector.Unboxed.Mutable - -import System.CPUTime - -import System.Random.MWC (GenIO, Variate(..)) - --- Some conveniences for doing evil stuff in the ST monad. --- All the tests get run in IO, but uvector stuff happens --- in ST, so we temporarily coerce. -clock :: IO Integer -clock = getCPUTime - --- Strategies for filling the initial arrays -rand :: Variate e => GenIO -> Int -> IO e -rand g _ = uniform g - -ascend :: Num e => Int -> IO e -ascend = return . fromIntegral - -descend :: Num e => e -> Int -> IO e -descend m n = return $ m - fromIntegral n - -modulo :: Integral e => e -> Int -> IO e -modulo m n = return $ fromIntegral n `mod` m - --- This is the worst case for the median-of-three quicksort --- used in the introsort implementation. -medianKiller :: Integral e => e -> Int -> IO e -medianKiller m n' - | n < k = return $ if even n then n + 1 else n + k - | otherwise = return $ (n - k + 1) * 2 - where - n = fromIntegral n' - k = m `div` 2 -{-# INLINE medianKiller #-} - -initialize :: (Unbox e) => MVector RealWorld e -> Int -> (Int -> IO e) -> IO () -initialize arr len fill = init $ len - 1 - where init n = fill n >>= unsafeWrite arr n >> when (n > 0) (init $ n - 1) -{-# INLINE initialize #-} - -speedTest :: (Unbox e) => Int - -> (Int -> IO e) - -> (MVector RealWorld e -> IO ()) - -> IO Integer -speedTest n fill algo = do - arr <- new n - initialize arr n fill - t0 <- clock - algo arr - t1 <- clock - return $ t1 - t0 -{-# INLINE speedTest #-} - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vector-algorithms-0.7.0.1/bench/Main.hs new/vector-algorithms-0.7.0.4/bench/Main.hs --- old/vector-algorithms-0.7.0.1/bench/Main.hs 2015-08-12 23:47:36.0 +0200 +++ new/vector-algorithms-0.7.0.4/bench/Main.hs
commit ghc-vector-algorithms for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-vector-algorithms for openSUSE:Factory checked in at 2018-08-20 16:21:00 Comparing /work/SRC/openSUSE:Factory/ghc-vector-algorithms (Old) and /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new (New) Package is "ghc-vector-algorithms" Mon Aug 20 16:21:00 2018 rev:7 rq:630375 version:0.7.0.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-vector-algorithms/ghc-vector-algorithms.changes 2018-07-24 17:23:28.827383961 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new/ghc-vector-algorithms.changes 2018-08-20 16:21:01.332958205 +0200 @@ -1,0 +2,6 @@ +Fri Aug 17 14:34:52 UTC 2018 - psim...@suse.com + +- Update Cabal build information to prevent build attempts with + GHC 8.6.x. + +--- Other differences: -- ++ ghc-vector-algorithms.spec ++ --- /var/tmp/diff_new_pack.f8MvSB/_old 2018-08-20 16:21:01.932959054 +0200 +++ /var/tmp/diff_new_pack.f8MvSB/_new 2018-08-20 16:21:01.932959054 +0200 @@ -26,7 +26,7 @@ Group: Development/Libraries/Haskell 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 +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/2.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bytestring-devel BuildRequires: ghc-primitive-devel ++ vector-algorithms.cabal ++ --- /var/tmp/diff_new_pack.f8MvSB/_old 2018-08-20 16:21:01.964959099 +0200 +++ /var/tmp/diff_new_pack.f8MvSB/_new 2018-08-20 16:21:01.964959099 +0200 @@ -1,6 +1,6 @@ name: vector-algorithms version: 0.7.0.1 -x-revision: 1 +x-revision: 2 license: BSD3 license-file: LICENSE author:Dan Doel @@ -44,7 +44,7 @@ library hs-source-dirs: src - build-depends: base >= 4.5 && < 5, + build-depends: base >= 4.5 && < 4.12, vector >= 0.6 && < 0.13, primitive >=0.3 && <0.7, bytestring >= 0.9 && < 1.0
commit ghc-vector-algorithms for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-vector-algorithms for openSUSE:Factory checked in at 2018-07-24 17:23:26 Comparing /work/SRC/openSUSE:Factory/ghc-vector-algorithms (Old) and /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new (New) Package is "ghc-vector-algorithms" Tue Jul 24 17:23:26 2018 rev:6 rq:623893 version:0.7.0.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-vector-algorithms/ghc-vector-algorithms.changes 2018-05-30 12:27:52.489086645 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new/ghc-vector-algorithms.changes 2018-07-24 17:23:28.827383961 +0200 @@ -1,0 +2,6 @@ +Wed Jul 18 14:26:47 UTC 2018 - psim...@suse.com + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +--- @@ -25 +30,0 @@ - Other differences: -- ++ ghc-vector-algorithms.spec ++ --- /var/tmp/diff_new_pack.gqql9i/_old 2018-07-24 17:23:29.279384539 +0200 +++ /var/tmp/diff_new_pack.gqql9i/_new 2018-07-24 17:23:29.279384539 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-vector-algorithms # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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
commit ghc-vector-algorithms for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-vector-algorithms for openSUSE:Factory checked in at 2018-05-30 12:21:32 Comparing /work/SRC/openSUSE:Factory/ghc-vector-algorithms (Old) and /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new (New) Package is "ghc-vector-algorithms" Wed May 30 12:21:32 2018 rev:5 rq:609830 version:0.7.0.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-vector-algorithms/ghc-vector-algorithms.changes 2017-09-15 22:23:06.760764558 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new/ghc-vector-algorithms.changes 2018-05-30 12:27:52.489086645 +0200 @@ -1,0 +2,5 @@ +Wed May 16 14:36:30 UTC 2018 - psim...@suse.com + +- Prefer the new %license attribute over %doc. + +--- Other differences: -- ++ ghc-vector-algorithms.spec ++ --- /var/tmp/diff_new_pack.z246lO/_old 2018-05-30 12:27:53.689044414 +0200 +++ /var/tmp/diff_new_pack.z246lO/_new 2018-05-30 12:27:53.693044274 +0200 @@ -72,7 +72,7 @@ %ghc_pkg_recache %files -f %{name}.files -%doc LICENSE +%license LICENSE %files devel -f %{name}-devel.files
commit ghc-vector-algorithms for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-vector-algorithms for openSUSE:Factory checked in at 2017-09-15 22:23:05 Comparing /work/SRC/openSUSE:Factory/ghc-vector-algorithms (Old) and /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new (New) Package is "ghc-vector-algorithms" Fri Sep 15 22:23:05 2017 rev:4 rq:525637 version:0.7.0.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-vector-algorithms/ghc-vector-algorithms.changes 2017-03-20 17:06:21.417030103 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new/ghc-vector-algorithms.changes 2017-09-15 22:23:06.760764558 +0200 @@ -1,0 +2,5 @@ +Thu Aug 3 15:38:38 UTC 2017 - psim...@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +--- Other differences: -- ++ ghc-vector-algorithms.spec ++ --- /var/tmp/diff_new_pack.Pq4q2C/_old 2017-09-15 22:23:07.356680602 +0200 +++ /var/tmp/diff_new_pack.Pq4q2C/_new 2017-09-15 22:23:07.356680602 +0200 @@ -23,8 +23,8 @@ Release:0 Summary:Efficient algorithms for vector arrays License:BSD-3-Clause -Group: Development/Languages/Other -Url:https://hackage.haskell.org/package/%{pkg_name} +Group: Development/Libraries/Haskell +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 @@ -32,7 +32,6 @@ BuildRequires: ghc-primitive-devel BuildRequires: ghc-rpm-macros BuildRequires: ghc-vector-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{with tests} BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-containers-devel @@ -43,7 +42,7 @@ %package devel Summary:Haskell %{pkg_name} library development files -Group: Development/Libraries/Other +Group: Development/Libraries/Haskell Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} @@ -73,10 +72,8 @@ %ghc_pkg_recache %files -f %{name}.files -%defattr(-,root,root,-) %doc LICENSE %files devel -f %{name}-devel.files -%defattr(-,root,root,-) %changelog
commit ghc-vector-algorithms for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-vector-algorithms for openSUSE:Factory checked in at 2017-03-20 17:06:20 Comparing /work/SRC/openSUSE:Factory/ghc-vector-algorithms (Old) and /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new (New) Package is "ghc-vector-algorithms" Mon Mar 20 17:06:20 2017 rev:3 rq:450626 version:0.7.0.1 Changes: --- /work/SRC/openSUSE:Factory/ghc-vector-algorithms/ghc-vector-algorithms.changes 2016-07-21 08:13:32.0 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new/ghc-vector-algorithms.changes 2017-03-20 17:06:21.417030103 +0100 @@ -1,0 +2,5 @@ +Mon Jan 9 06:33:37 UTC 2017 - psim...@suse.com + +- Update to version 0.7.0.1 revision 1 with cabal2obs. + +--- New: vector-algorithms.cabal Other differences: -- ++ ghc-vector-algorithms.spec ++ --- /var/tmp/diff_new_pack.Jti1IW/_old 2017-03-20 17:06:22.100933536 +0100 +++ /var/tmp/diff_new_pack.Jti1IW/_new 2017-03-20 17:06:22.104932971 +0100 @@ -1,7 +1,7 @@ # # spec file for package ghc-vector-algorithms # -# 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 @@ -23,11 +23,11 @@ Release:0 Summary:Efficient algorithms for vector arrays 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-bytestring-devel BuildRequires: ghc-primitive-devel BuildRequires: ghc-rpm-macros @@ -37,9 +37,6 @@ BuildRequires: ghc-QuickCheck-devel BuildRequires: ghc-containers-devel %endif -# End cabal-rpm deps -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-mwc-random-devel %description Efficient algorithms for vector arrays. @@ -58,21 +55,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 ++ vector-algorithms.cabal ++ name: vector-algorithms version: 0.7.0.1 x-revision: 1 license: BSD3 license-file: LICENSE author:Dan Doel maintainer:Dan Doelcopyright: (c) 2008,2009,2010,2011,2012,2013,2014,2015 Dan Doel (c) 2015 Tim Baumann homepage: http://code.haskell.org/~dolio/ category: Data synopsis: Efficient algorithms for vector arrays description: Efficient algorithms for vector arrays build-type:Simple cabal-version: >= 1.9.2 flag BoundsChecks description: Enable bounds checking default: True flag UnsafeChecks description: Enable bounds checking in unsafe operations at the cost of a significant performance penalty. default: False flag InternalChecks description: Enable internal consistency checks at the cost of a significant performance penalty. default: False flag bench description: Build a benchmarking program to test vector-algorithms performance default: False flag properties description: Enable the quickcheck tests default: True source-repository head type: darcs location: http://hub.darcs.net/dolio/vector-algorithms library hs-source-dirs: src build-depends: base >= 4.5 && < 5, vector >= 0.6 && < 0.13, primitive >=0.3 && <0.7, bytestring >= 0.9 && < 1.0 exposed-modules: Data.Vector.Algorithms.Optimal Data.Vector.Algorithms.Insertion Data.Vector.Algorithms.Intro Data.Vector.Algorithms.Merge Data.Vector.Algorithms.Radix Data.Vector.Algorithms.Search Data.Vector.Algorithms.Heap Data.Vector.Algorithms.AmericanFlag Data.Vector.Algorithms.Tim other-modules: Data.Vector.Algorithms.Common ghc-options: -Odph -funbox-strict-fields include-dirs: include install-includes: vector.h if flag(BoundsChecks) cpp-options: -DVECTOR_BOUNDS_CHECKS if flag(UnsafeChecks) cpp-options: -DVECTOR_UNSAFE_CHECKS if flag(InternalChecks) cpp-options:
commit ghc-vector-algorithms for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-vector-algorithms for openSUSE:Factory checked in at 2016-07-21 08:13:27 Comparing /work/SRC/openSUSE:Factory/ghc-vector-algorithms (Old) and /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new (New) Package is "ghc-vector-algorithms" Changes: --- /work/SRC/openSUSE:Factory/ghc-vector-algorithms/ghc-vector-algorithms.changes 2015-11-26 17:03:17.0 +0100 +++ /work/SRC/openSUSE:Factory/.ghc-vector-algorithms.new/ghc-vector-algorithms.changes 2016-07-21 08:13:32.0 +0200 @@ -1,0 +2,5 @@ +Sun Jul 10 17:34:54 UTC 2016 - psim...@suse.com + +- Update to version 0.7.0.1 revision 0 with cabal2obs. + +--- Other differences: -- ++ ghc-vector-algorithms.spec ++ --- /var/tmp/diff_new_pack.Y3L8Jl/_old 2016-07-21 08:13:34.0 +0200 +++ /var/tmp/diff_new_pack.Y3L8Jl/_new 2016-07-21 08:13:34.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ghc-vector-algorithms # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -15,46 +15,47 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%global pkg_name vector-algorithms -Name: ghc-vector-algorithms +%global pkg_name vector-algorithms +%bcond_with tests +Name: ghc-%{pkg_name} Version:0.7.0.1 Release:0 Summary:Efficient algorithms for vector arrays -Group: System/Libraries - License:BSD-3-Clause +Group: System/Libraries Url:https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build - BuildRequires: ghc-Cabal-devel -BuildRequires: ghc-rpm-macros # Begin cabal-rpm deps: BuildRequires: ghc-bytestring-devel -BuildRequires: ghc-mtl-devel -BuildRequires: ghc-mwc-random-devel BuildRequires: ghc-primitive-devel +BuildRequires: ghc-rpm-macros BuildRequires: ghc-vector-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if %{with tests} +BuildRequires: ghc-QuickCheck-devel +BuildRequires: ghc-containers-devel +%endif # End cabal-rpm deps +BuildRequires: ghc-mtl-devel +BuildRequires: ghc-mwc-random-devel %description Efficient algorithms for vector arrays. - %package devel Summary:Haskell %{pkg_name} library development files Group: Development/Libraries/Other +Requires: %{name} = %{version}-%{release} Requires: ghc-compiler = %{ghc_version} Requires(post): ghc-compiler = %{ghc_version} Requires(postun): ghc-compiler = %{ghc_version} -Requires: %{name} = %{version}-%{release} %description devel This package provides the Haskell %{pkg_name} library development files. - %prep %setup -q -n %{pkg_name}-%{version} @@ -66,23 +67,24 @@ %install %ghc_lib_install + %check +%if %{with tests} +%{cabal} test +%endif + %post devel %ghc_pkg_recache - %postun devel %ghc_pkg_recache - %files -f %{name}.files %defattr(-,root,root,-) %doc LICENSE - %files devel -f %{name}-devel.files %defattr(-,root,root,-) - %changelog