commit ghc-vector for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community,
here is the log from the commit of package ghc-vector for openSUSE:Factory checked in at 2014-11-26 20:55:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-vector (Old)
and /work/SRC/openSUSE:Factory/.ghc-vector.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-vector"
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-vector/ghc-vector.changes 2014-10-19 19:28:38.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-vector.new/ghc-vector.changes 2014-11-26 20:55:21.000000000 +0100
@@ -1,0 +2,10 @@
+Sat Oct 18 15:12:40 UTC 2014 - peter.trommler@ohm-hochschule.de
+
+- update to 0.10.9.1
+* no changelog
+* Haskell Platform 2014.2.0.0
+- regenerate spec file
+- drop vector-debian-no_ann_without_ghci.patch
+* we have ghci for all platforms now
+
+-------------------------------------------------------------------
Old:
----
vector-0.10.0.1.tar.gz
vector-debian-no_ann_without_ghci.patch
New:
----
vector-0.10.9.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-vector.spec ++++++
--- /var/tmp/diff_new_pack.85gnwH/_old 2014-11-26 20:55:23.000000000 +0100
+++ /var/tmp/diff_new_pack.85gnwH/_new 2014-11-26 20:55:23.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-vector
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,46 +18,44 @@
%global pkg_name vector
-%global common_summary Haskell %{pkg_name} library
-
-%global common_description A %{pkg_name} library for Haskell.
-
Name: ghc-vector
-Version: 0.10.0.1
+Version: 0.10.9.1
Release: 0
-Summary: %{common_summary}
+Summary: Efficient Arrays
License: BSD-3-Clause
Group: System/Libraries
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-# BEGIN cabal2spec
Url: http://hackage.haskell.org/package/%{pkg_name}
Source0: http://hackage.haskell.org/packages/archive/%{pkg_name}/%{version}/%{pkg_name}-%{version}.tar.gz
-Patch0: vector-debian-no_ann_without_ghci.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
BuildRequires: ghc-Cabal-devel
+BuildRequires: ghc-rpm-macros
+# Begin cabal-rpm deps:
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-primitive-devel
-BuildRequires: ghc-rpm-macros
-# END cabal2spec
+# End cabal-rpm deps
%description
-%{common_description}
+An efficient implementation of Int-indexed arrays (both mutable and immutable),
+with a powerful loop optimisation framework.
+
%package devel
Summary: Haskell %{pkg_name} library development files
-Group: Development/Languages/Other
-Requires: ghc-compiler
-Requires(post): ghc-compiler
-Requires(postun): ghc-compiler
+Group: Development/Libraries/Other
+Provides: %{name}-static = %{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
-%{common_description}
-This package contains the development files.
+This package provides the Haskell %{pkg_name} library development files.
+
%prep
%setup -q -n %{pkg_name}-%{version}
-%patch0 -p1
%build
%ghc_lib_build
++++++ vector-0.10.0.1.tar.gz -> vector-0.10.9.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vector-0.10.0.1/Data/Vector/Generic.hs new/vector-0.10.9.1/Data/Vector/Generic.hs
--- old/vector-0.10.0.1/Data/Vector/Generic.hs 2012-10-10 23:46:53.000000000 +0200
+++ new/vector-0.10.9.1/Data/Vector/Generic.hs 2013-09-26 05:59:56.000000000 +0200
@@ -194,7 +194,12 @@
showsPrec )
import qualified Text.Read as Read
+
+#if __GLASGOW_HASKELL__ >= 707
+import Data.Typeable ( Typeable, gcast1 )
+#else
import Data.Typeable ( Typeable1, gcast1 )
+#endif
#include "vector.h"
@@ -2020,7 +2025,11 @@
{-# INLINE mkType #-}
mkType = mkNoRepType
+#if __GLASGOW_HASKELL__ >= 707
+dataCast :: (Vector v a, Data a, Typeable v, Typeable t)
+#else
dataCast :: (Vector v a, Data a, Typeable1 v, Typeable1 t)
+#endif
=> (forall d. Data d => c (t d)) -> Maybe (c (v a))
{-# INLINE dataCast #-}
dataCast f = gcast1 f
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vector-0.10.0.1/Data/Vector/Unboxed/Base.hs new/vector-0.10.9.1/Data/Vector/Unboxed/Base.hs
--- old/vector-0.10.0.1/Data/Vector/Unboxed/Base.hs 2012-10-10 23:46:53.000000000 +0200
+++ new/vector-0.10.9.1/Data/Vector/Unboxed/Base.hs 2013-09-26 05:59:56.000000000 +0200
@@ -1,4 +1,7 @@
{-# LANGUAGE MultiParamTypeClasses, TypeFamilies, FlexibleContexts #-}
+#if __GLASGOW_HASKELL__ >= 707
+{-# LANGUAGE DeriveDataTypeable, StandaloneDeriving #-}
+#endif
{-# OPTIONS_HADDOCK hide #-}
-- |
@@ -31,6 +34,9 @@
import Data.Int ( Int8, Int16, Int32, Int64 )
import Data.Complex
+#if __GLASGOW_HASKELL__ >= 707
+import Data.Typeable ( Typeable )
+#else
import Data.Typeable ( Typeable1(..), Typeable2(..), mkTyConApp,
#if MIN_VERSION_base(4,4,0)
mkTyCon3
@@ -38,6 +44,8 @@
mkTyCon
#endif
)
+#endif
+
import Data.Data ( Data(..) )
#include "vector.h"
@@ -58,7 +66,10 @@
-- -----------------
-- Data and Typeable
-- -----------------
-
+#if __GLASGOW_HASKELL__ >= 707
+deriving instance Typeable Vector
+deriving instance Typeable MVector
+#else
#if MIN_VERSION_base(4,4,0)
vectorTyCon = mkTyCon3 "vector"
#else
@@ -70,6 +81,7 @@
instance Typeable2 MVector where
typeOf2 _ = mkTyConApp (vectorTyCon "Data.Vector.Unboxed.Mutable" "MVector") []
+#endif
instance (Data a, Unbox a) => Data (Vector a) where
gfoldl = G.gfoldl
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vector-0.10.0.1/README.md new/vector-0.10.9.1/README.md
--- old/vector-0.10.0.1/README.md 1970-01-01 01:00:00.000000000 +0100
+++ new/vector-0.10.9.1/README.md 2013-09-26 05:59:56.000000000 +0200
@@ -0,0 +1,4 @@
+# The vector package
+
+An efficient implementation of Int-indexed arrays (both mutable and
+immutable), with a powerful loop optimisation framework.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vector-0.10.0.1/tests/vector-tests.cabal new/vector-0.10.9.1/tests/vector-tests.cabal
--- old/vector-0.10.0.1/tests/vector-tests.cabal 2012-10-10 23:46:53.000000000 +0200
+++ new/vector-0.10.9.1/tests/vector-tests.cabal 2013-09-26 05:59:56.000000000 +0200
@@ -11,14 +11,14 @@
Description:
Tests for the vector package
-Cabal-Version: >= 1.2
+Cabal-Version: >= 1.6
Build-Type: Simple
Executable "vector-tests-O0"
Main-Is: Main.hs
- Build-Depends: base >= 4 && < 5, template-haskell, vector == 0.10.0.1,
+ Build-Depends: base >= 4 && < 5, template-haskell, vector == 0.10.9.1,
random,
QuickCheck >= 2, test-framework, test-framework-quickcheck2
@@ -38,7 +38,7 @@
Executable "vector-tests-O2"
Main-Is: Main.hs
- Build-Depends: base >= 4 && < 5, template-haskell, vector == 0.10.0.1,
+ Build-Depends: base >= 4 && < 5, template-haskell, vector == 0.10.9.1,
random,
QuickCheck >= 2, test-framework, test-framework-quickcheck2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vector-0.10.0.1/vector.cabal new/vector-0.10.9.1/vector.cabal
--- old/vector-0.10.0.1/vector.cabal 2012-10-10 23:46:53.000000000 +0200
+++ new/vector-0.10.9.1/vector.cabal 2013-09-26 05:59:56.000000000 +0200
@@ -1,12 +1,12 @@
Name: vector
-Version: 0.10.0.1
+Version: 0.10.9.1
License: BSD3
License-File: LICENSE
Author: Roman Leshchinskiy
participants (1)
-
root@hilbert.suse.de