Hello community,
here is the log from the commit of package ghc-RefSerialize for
openSUSE:Factory checked in at 2017-03-03 17:47:22
Comparing /work/SRC/openSUSE:Factory/ghc-RefSerialize (Old)
and /work/SRC/openSUSE:Factory/.ghc-RefSerialize.new (New)
Package is "ghc-RefSerialize"
Fri Mar 3 17:47:22 2017 rev:2 rq:461526 version:0.4.0
Changes:
--- /work/SRC/openSUSE:Factory/ghc-RefSerialize/ghc-RefSerialize.changes
2016-09-24 15:22:45.0 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-RefSerialize.new/ghc-RefSerialize.changes
2017-03-03 17:48:04.855067633 +0100
@@ -1,0 +2,5 @@
+Sun Feb 12 14:09:33 UTC 2017 - psim...@suse.com
+
+- Update to version 0.4.0 with cabal2obs.
+
+---
Old:
RefSerialize-0.3.1.4.tar.gz
New:
RefSerialize-0.4.0.tar.gz
Other differences:
--
++ ghc-RefSerialize.spec ++
--- /var/tmp/diff_new_pack.avA1hX/_old 2017-03-03 17:48:05.502976132 +0100
+++ /var/tmp/diff_new_pack.avA1hX/_new 2017-03-03 17:48:05.502976132 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-RefSerialize
#
-# 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
@@ -18,15 +18,14 @@
%global pkg_name RefSerialize
Name: ghc-%{pkg_name}
-Version:0.3.1.4
+Version:0.4.0
Release:0
Summary:Write to and read from ByteStrings maintaining internal memory
references
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
BuildRequires: ghc-Cabal-devel
-# Begin cabal-rpm deps:
BuildRequires: ghc-binary-devel
BuildRequires: ghc-bytestring-devel
BuildRequires: ghc-containers-devel
@@ -34,7 +33,6 @@
BuildRequires: ghc-rpm-macros
BuildRequires: ghc-stringsearch-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-# End cabal-rpm deps
%description
Read, Show and Binary instances do not check for internal data references to
@@ -68,15 +66,12 @@
%prep
%setup -q -n %{pkg_name}-%{version}
-
%build
%ghc_lib_build
-
%install
%ghc_lib_install
-
%post devel
%ghc_pkg_recache
++ RefSerialize-0.3.1.4.tar.gz -> RefSerialize-0.4.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/RefSerialize-0.3.1.4/Data/RefSerialize/Serialize.hs
new/RefSerialize-0.4.0/Data/RefSerialize/Serialize.hs
--- old/RefSerialize-0.3.1.4/Data/RefSerialize/Serialize.hs 2015-04-06
15:52:55.0 +0200
+++ new/RefSerialize-0.4.0/Data/RefSerialize/Serialize.hs 2017-02-07
00:41:37.0 +0100
@@ -1,5 +1,4 @@
-{-# LANGUAGE OverlappingInstances
-,TypeSynonymInstances
+{-# LANGUAGE TypeSynonymInstances
,FlexibleInstances
,UndecidableInstances
,OverloadedStrings
@@ -58,14 +57,14 @@
data STW a= STW(StatW-> (StatW , a) )
instance Functor STW where
- fmap f (STW stwx)= STW $ \s ->
+ fmap f (STW stwx)= STW $ \s ->
let (s',x) = stwx s
in (s', f x)
instance Applicative STW where
pure x = STW (\s -> (s, x))
-
-STW g <*> STW f = STW (\s ->
+
+STW g <*> STW f = STW (\s ->
let (s', x)= g s
(s'',y)= f s'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/RefSerialize-0.3.1.4/RefSerialize.cabal
new/RefSerialize-0.4.0/RefSerialize.cabal
--- old/RefSerialize-0.3.1.4/RefSerialize.cabal 2015-04-06 15:52:55.0
+0200
+++ new/RefSerialize-0.4.0/RefSerialize.cabal 2017-02-07 00:41:37.0
+0100
@@ -1,5 +1,5 @@
name:RefSerialize
-version: 0.3.1.4
+version: 0.4.0
synopsis:Write to and read from ByteStrings maintaining internal
memory references
description:
Read, Show and Binary instances do not check for internal
data references to the same address.