Hello community,
here is the log from the commit of package ghc-primitive for openSUSE:Factory checked in at 2018-07-24 17:21:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-primitive (Old)
and /work/SRC/openSUSE:Factory/.ghc-primitive.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-primitive"
Tue Jul 24 17:21:07 2018 rev:14 rq:623833 version:0.6.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-primitive/ghc-primitive.changes 2018-05-30 12:26:51.387209808 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-primitive.new/ghc-primitive.changes 2018-07-24 17:21:09.075205148 +0200
@@ -1,0 +2,70 @@
+Wed Jul 18 14:26:36 UTC 2018 - psimons@suse.com
+
+- Cosmetic: replace tabs with blanks, strip trailing white space,
+ and update copyright headers with spec-cleaner.
+
+-------------------------------------------------------------------
+Fri Jul 13 14:31:39 UTC 2018 - psimons@suse.com
+
+- Update primitive to version 0.6.4.0.
+ ## Changes in version 0.6.4.0
+
+ * Introduce `Data.Primitive.PrimArray`, which offers types and function
+ for dealing with a `ByteArray` tagged with a phantom type variable for
+ tracking the element type.
+
+ * Implement `isByteArrayPinned` and `isMutableByteArrayPinned`.
+
+ * Add `Eq1`, `Ord1`, `Show1`, and `Read1` instances for `Array` and
+ `SmallArray`.
+
+ * Improve the test suite. This includes having property tests for
+ typeclasses from `base` such as `Eq`, `Ord`, `Functor`, `Applicative`,
+ `Monad`, `IsList`, `Monoid`, `Foldable`, and `Traversable`.
+
+ * Fix the broken `IsList` instance for `ByteArray`. The old definition
+ would allocate a byte array of the correct size and then leave the
+ memory unitialized instead of writing the list elements to it.
+
+ * Fix the broken `Functor` instance for `Array`. The old definition
+ would allocate an array of the correct size with thunks for erroring
+ installed at every index. It failed to replace these thunks with
+ the result of the function applied to the elements of the argument array.
+
+ * Fix the broken `Applicative` instances of `Array` and `SmallArray`.
+ The old implementation of `<*>` for `Array` failed to initialize
+ some elements but correctly initialized others in the resulting
+ `Array`. It is unclear what the old behavior of `<*>` was for
+ `SmallArray`, but it was incorrect.
+
+ * Fix the broken `Monad` instances for `Array` and `SmallArray`.
+
+ * Fix the implementation of `foldl1` in the `Foldable` instances for
+ `Array` and `SmallArray`. In both cases, the old implementation
+ simply returned the first element of the array and made no use of
+ the other elements in the array.
+
+ * Fix the implementation of `mconcat` in the `Monoid` instance for
+ `SmallArray`.
+
+ * Implement `Data.Primitive.Ptr`, implementations of `Ptr` functions
+ that require a `Prim` constraint instead of a `Storable` constraint.
+
+ * Add `PrimUnlifted` instances for `TVar` and `MVar`.
+
+ * Use `compareByteArrays#` for the `Eq` and `Ord` instances of
+ `ByteArray` when building with GHC 8.4 and newer.
+
+ * Add `Prim` instances for lots of types in `Foreign.C.Types` and
+ `System.Posix.Types`.
+
+ * Reexport `Data.Primitive.SmallArray` and `Data.Primitive.UnliftedArray`
+ from `Data.Primitive`.
+
+ * Add fold functions and map function to `Data.Primitive.UnliftedArray`.
+ Add typeclass instances for `IsList`, `Ord`, and `Show`.
+
+ * Add `defaultSetByteArray#` and `defaultSetOffAddr#` to
+ `Data.Primitive.Types`.
+
+-------------------------------------------------------------------
Old:
----
primitive-0.6.3.0.tar.gz
New:
----
primitive-0.6.4.0.tar.gz
primitive.cabal
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-primitive.spec ++++++
--- /var/tmp/diff_new_pack.ptyoMg/_old 2018-07-24 17:21:10.543207030 +0200
+++ /var/tmp/diff_new_pack.ptyoMg/_new 2018-07-24 17:21:10.547207035 +0200
@@ -18,13 +18,14 @@
%global pkg_name primitive
Name: ghc-%{pkg_name}
-Version: 0.6.3.0
+Version: 0.6.4.0
Release: 0
Summary: Primitive memory-related operations
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/1.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-transformers-devel
@@ -45,6 +46,7 @@
%prep
%setup -q -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ primitive-0.6.3.0.tar.gz -> primitive-0.6.4.0.tar.gz ++++++
++++ 4700 lines of diff (skipped)
++++++ primitive.cabal ++++++
Name: primitive
Version: 0.6.4.0
x-revision: 1
License: BSD3
License-File: LICENSE
Author: Roman Leshchinskiy