commit ghc-vector-space for openSUSE:Factory

2017-09-15 Thread root
Hello community,

here is the log from the commit of package ghc-vector-space for 
openSUSE:Factory checked in at 2017-09-15 22:23:17

Comparing /work/SRC/openSUSE:Factory/ghc-vector-space (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-vector-space.new (New)


Package is "ghc-vector-space"

Fri Sep 15 22:23:17 2017 rev:3 rq:525641 version:0.10.4

Changes:

--- /work/SRC/openSUSE:Factory/ghc-vector-space/ghc-vector-space.changes
2016-11-18 22:01:28.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-vector-space.new/ghc-vector-space.changes   
2017-09-15 22:23:18.619093883 +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-space.spec ++
--- /var/tmp/diff_new_pack.xeYcHR/_old  2017-09-15 22:23:19.171016126 +0200
+++ /var/tmp/diff_new_pack.xeYcHR/_new  2017-09-15 22:23:19.171016126 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-vector-space
 #
-# 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
@@ -22,15 +22,14 @@
 Release:0
 Summary:Vector & affine spaces, linear maps, and derivatives
 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
 BuildRequires:  ghc-Boolean-devel
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-MemoTrie-devel
 BuildRequires:  ghc-NumInstances-devel
 BuildRequires:  ghc-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 /vector-space/ provides classes and generic operations for vector spaces and
@@ -47,7 +46,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}
@@ -72,10 +71,8 @@
 %ghc_pkg_recache
 
 %files -f %{name}.files
-%defattr(-,root,root,-)
 %doc COPYING
 
 %files devel -f %{name}-devel.files
-%defattr(-,root,root,-)
 
 %changelog




commit ghc-vector-space for openSUSE:Factory

2016-11-18 Thread h_root
Hello community,

here is the log from the commit of package ghc-vector-space for 
openSUSE:Factory checked in at 2016-11-18 22:01:27

Comparing /work/SRC/openSUSE:Factory/ghc-vector-space (Old)
 and  /work/SRC/openSUSE:Factory/.ghc-vector-space.new (New)


Package is "ghc-vector-space"

Changes:

--- /work/SRC/openSUSE:Factory/ghc-vector-space/ghc-vector-space.changes
2016-11-10 13:17:11.0 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-vector-space.new/ghc-vector-space.changes   
2016-11-18 22:01:28.0 +0100
@@ -1,0 +2,5 @@
+Thu Sep 15 06:41:24 UTC 2016 - psim...@suse.com
+
+- Update to version 0.10.4 revision 0 with cabal2obs.
+
+---

Old:

  vector-space-0.10.3.tar.gz

New:

  vector-space-0.10.4.tar.gz



Other differences:
--
++ ghc-vector-space.spec ++
--- /var/tmp/diff_new_pack.1xgZZU/_old  2016-11-18 22:01:29.0 +0100
+++ /var/tmp/diff_new_pack.1xgZZU/_new  2016-11-18 22:01:29.0 +0100
@@ -18,21 +18,19 @@
 
 %global pkg_name vector-space
 Name:   ghc-%{pkg_name}
-Version:0.10.3
+Version:0.10.4
 Release:0
 Summary:Vector & affine spaces, linear maps, and derivatives
 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
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-Boolean-devel
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-MemoTrie-devel
 BuildRequires:  ghc-NumInstances-devel
 BuildRequires:  ghc-rpm-macros
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
 
 %description
 /vector-space/ provides classes and generic operations for vector spaces and
@@ -61,15 +59,12 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 

++ vector-space-0.10.3.tar.gz -> vector-space-0.10.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vector-space-0.10.3/src/Data/Cross.hs 
new/vector-space-0.10.4/src/Data/Cross.hs
--- old/vector-space-0.10.3/src/Data/Cross.hs   2016-01-29 17:53:24.0 
+0100
+++ new/vector-space-0.10.4/src/Data/Cross.hs   2016-09-09 21:04:17.0 
+0200
@@ -48,8 +48,7 @@
 instance AdditiveGroup u => HasCross2 (u,u) where
   cross2 (x,y) = (negateV y,x)  -- or @(y,-x)@?
 
-instance ( HasBasis a, HasTrie (Basis a)
- , VectorSpace v, HasCross2 v) => HasCross2 (a:>v) where
+instance (HasTrie (Basis a), HasCross2 v) => HasCross2 (a:>v) where
   -- 2d cross-product is linear
   cross2 = fmapD cross2
 
@@ -73,8 +72,7 @@
 -- l `atB` b = maybe zeroV (`untrie` b) l
 
 
-instance ( Num s, VectorSpace s
- , HasBasis s, HasTrie (Basis s), Basis s ~ ())
+instance (VectorSpace s, HasBasis s, HasTrie (Basis s), Basis s ~ ())
 => HasNormal (Two (One s :> s)) where
   normalVec = unpairD . normalVec . pairD
 
@@ -101,7 +99,7 @@
where
  d = derivAtBasis v
 
-instance ( Num s, VectorSpace s, HasBasis s, HasTrie (Basis s)
- , HasNormal (Two s :> Three s))
+instance ( VectorSpace s, HasBasis s, HasTrie (Basis s)
+ , HasNormal (Two s :> Three s) )
  => HasNormal (Three (Two s :> s)) where
   normalVec = untripleD . normalVec . tripleD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vector-space-0.10.3/src/Data/LinearMap.hs 
new/vector-space-0.10.4/src/Data/LinearMap.hs
--- old/vector-space-0.10.3/src/Data/LinearMap.hs   2016-01-29 
17:53:24.0 +0100
+++ new/vector-space-0.10.4/src/Data/LinearMap.hs   2016-09-09 
21:04:17.0 +0200
@@ -1,10 +1,11 @@
+{-# LANGUAGE TupleSections #-}
 {-# LANGUAGE CPP, TypeOperators, FlexibleContexts, TypeFamilies
   , GeneralizedNewtypeDeriving, StandaloneDeriving, UndecidableInstances #-}
 {-# OPTIONS_GHC -Wall -fno-warn-orphans #-}
 --
 -- |
 -- Module  :  Data.LinearMap
--- Copyright   :  (c) Conal Elliott 2008-2012
+-- Copyright   :  (c) Conal Elliott 2008-2016
 -- License :  BSD3
 --
 -- Maintainer  :  co...@conal.net
@@ -18,7 +19,8 @@
, inLMap, inLMap2, inLMap3
, liftMS, liftMS2, liftMS3
, liftL, liftL2, liftL3
-   , firstL
+   , exlL, exrL, forkL, firstL, secondL
+   , inlL, inrL, joinL -- , leftL, rightL
)
   where
 
@@ -26,7 +28,7 @@
 import Control.Applicative (Applicative)
 #endif
 import Control.Applicative (liftA2, liftA3)
-import Control.Arrow   (first)