Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-vector-th-unbox for
openSUSE:Factory checked in at 2021-03-10 08:55:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-vector-th-unbox (Old)
and /work/SRC/openSUSE:Factory/.ghc-vector-th-unbox.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-vector-th-unbox"
Wed Mar 10 08:55:56 2021 rev:10 rq:877686 version:0.2.1.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-vector-th-unbox/ghc-vector-th-unbox.changes
2020-12-22 11:48:47.721975575 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-vector-th-unbox.new.2378/ghc-vector-th-unbox.changes
2021-03-10 08:57:52.758927629 +0100
@@ -1,0 +2,8 @@
+Tue Feb 23 10:03:17 UTC 2021 - [email protected]
+
+- Update vector-th-unbox to version 0.2.1.9.
+ 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.
+
+-------------------------------------------------------------------
Old:
----
vector-th-unbox-0.2.1.7.tar.gz
vector-th-unbox.cabal
New:
----
vector-th-unbox-0.2.1.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-vector-th-unbox.spec ++++++
--- /var/tmp/diff_new_pack.U1wVWC/_old 2021-03-10 08:57:53.398928290 +0100
+++ /var/tmp/diff_new_pack.U1wVWC/_new 2021-03-10 08:57:53.402928294 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-vector-th-unbox
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,12 @@
%global pkg_name vector-th-unbox
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.2.1.7
+Version: 0.2.1.9
Release: 0
Summary: Deriver for Data.Vector.Unboxed using Template Haskell
License: BSD-3-Clause
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
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-template-haskell-devel
@@ -54,7 +53,6 @@
%prep
%autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
@@ -75,5 +73,6 @@
%license LICENSE
%files devel -f %{name}-devel.files
+%doc CHANGELOG.md README.md
%changelog
++++++ vector-th-unbox-0.2.1.7.tar.gz -> vector-th-unbox-0.2.1.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/vector-th-unbox-0.2.1.7/CHANGELOG.md
new/vector-th-unbox-0.2.1.9/CHANGELOG.md
--- old/vector-th-unbox-0.2.1.7/CHANGELOG.md 1970-01-01 01:00:00.000000000
+0100
+++ new/vector-th-unbox-0.2.1.9/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
@@ -0,0 +1,7 @@
+## 0.2.1.9
+
+* Fixed the build failure on GHC 7.10.3 (and older)
+
+## 0.2.1.8
+
+* Supported GHC 9.0.1
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/vector-th-unbox-0.2.1.7/Data/Vector/Unboxed/Deriving.hs
new/vector-th-unbox-0.2.1.9/Data/Vector/Unboxed/Deriving.hs
--- old/vector-th-unbox-0.2.1.7/Data/Vector/Unboxed/Deriving.hs 2001-09-09
03:46:40.000000000 +0200
+++ new/vector-th-unbox-0.2.1.9/Data/Vector/Unboxed/Deriving.hs 2001-09-09
03:46:40.000000000 +0200
@@ -119,19 +119,13 @@
let s = VarT (mkName "s")
#if MIN_VERSION_template_haskell(2,11,0)
let lazy = Bang NoSourceUnpackedness NoSourceStrictness
-# define MAYBE_KIND Nothing
# define MAYBE_OVERLAP Nothing
#else
let lazy = NotStrict
-# define MAYBE_KIND
# define MAYBE_OVERLAP
#endif
-#if MIN_VERSION_template_haskell(2,15,0)
- let newtypeMVector = NewtypeInstD [] Nothing (ConT ''MVector `AppT` s
`AppT` typ) MAYBE_KIND
-#else
- let newtypeMVector = NewtypeInstD [] ''MVector [s, typ] MAYBE_KIND
-#endif
- (NormalC mvName [(lazy, ConT ''MVector `AppT` s `AppT` rep)]) []
+ let newtypeMVector = newtypeInstD' ''MVector [s, typ]
+ (NormalC mvName [(lazy, ConT ''MVector `AppT` s `AppT` rep)])
let mvCon = ConE mvName
let instanceMVector = InstanceD MAYBE_OVERLAP cxts
(ConT ''M.MVector `AppT` ConT ''MVector `AppT` typ) $ concat
@@ -151,13 +145,9 @@
, wrap 'M.basicUnsafeMove [mv, mv'] id
, wrap 'M.basicUnsafeGrow [mv, n] (liftE mvCon) ]
-#if MIN_VERSION_template_haskell(2,15,0)
- let newtypeVector = NewtypeInstD [] Nothing (ConT ''Vector `AppT` typ)
MAYBE_KIND
- (NormalC vName [(lazy, ConT ''Vector `AppT` rep)]) []
-#else
- let newtypeVector = NewtypeInstD [] ''Vector [typ] MAYBE_KIND
- (NormalC vName [(lazy, ConT ''Vector `AppT` rep)]) []
-#endif
+ let newtypeVector = newtypeInstD' ''Vector [typ]
+ (NormalC vName [(lazy, ConT ''Vector `AppT` rep)])
+
let vCon = ConE vName
let instanceVector = InstanceD MAYBE_OVERLAP cxts
(ConT ''G.Vector `AppT` ConT ''Vector `AppT` typ) $ concat
@@ -173,6 +163,16 @@
, newtypeMVector, instanceMVector
, newtypeVector, instanceVector ]
+newtypeInstD' :: Name -> [Type] -> Con -> Dec
+newtypeInstD' name args con =
+#if MIN_VERSION_template_haskell(2,15,0)
+ NewtypeInstD [] Nothing (foldl AppT (ConT name) args) Nothing con []
+#elif MIN_VERSION_template_haskell(2,11,0)
+ NewtypeInstD [] name args Nothing con []
+#else
+ NewtypeInstD [] name args con []
+#endif
+
#undef __GLASGOW_HASKELL__
{-$usage
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/vector-th-unbox-0.2.1.7/README.md
new/vector-th-unbox-0.2.1.9/README.md
--- old/vector-th-unbox-0.2.1.7/README.md 1970-01-01 01:00:00.000000000
+0100
+++ new/vector-th-unbox-0.2.1.9/README.md 2001-09-09 03:46:40.000000000
+0200
@@ -0,0 +1 @@
+<http://hackage.haskell.org/package/vector-th-unbox/docs/Data-Vector-Unboxed-Deriving.html>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/vector-th-unbox-0.2.1.7/vector-th-unbox.cabal
new/vector-th-unbox-0.2.1.9/vector-th-unbox.cabal
--- old/vector-th-unbox-0.2.1.7/vector-th-unbox.cabal 2001-09-09
03:46:40.000000000 +0200
+++ new/vector-th-unbox-0.2.1.9/vector-th-unbox.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
name: vector-th-unbox
-version: 0.2.1.7
+version: 0.2.1.9
synopsis: Deriver for Data.Vector.Unboxed using Template Haskell
description:
A Template Haskell deriver for unboxed vectors, given a pair of coercion
@@ -7,21 +7,28 @@
.
Refer to "Data.Vector.Unboxed.Deriving" for documentation and examples.
stability: experimental
+homepage: https://github.com/tsurucapital/vector-th-unbox
license: BSD3
license-file: LICENSE
copyright: (c) 2012-2015 Liyang HU
author: Liyang HU <[email protected]>
-maintainer: Liyang HU <[email protected]>
+maintainer: Fumiaki Kinoshita <[email protected]>
category: Data
build-type: Simple
cabal-version: >= 1.10
tested-with:
- GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3,
- GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.1
+ GHC == 7.10.3,
+ GHC == 8.0.2,
+ GHC == 8.2.2,
+ GHC == 8.4.4,
+ GHC == 8.6.5, GHC == 8.8.3, GHC == 8.10.1, GHC == 9.0.1
+extra-source-files:
+ CHANGELOG.md
+ README.md
source-repository head
type: git
- location: http://github.com/liyang/vector-th-unbox
+ location: http://github.com/tsurucapital/vector-th-unbox
library
default-language: Haskell2010
@@ -29,8 +36,8 @@
Data.Vector.Unboxed.Deriving
build-depends:
- base >= 4.5 && < 4.14,
- template-haskell >= 2.5 && <2.16,
+ base >= 4.5 && < 4.16,
+ template-haskell >= 2.5 && <2.18,
vector >= 0.7.1 && <0.13
test-suite sanity