Hello community,
here is the log from the commit of package ghc-deepseq-generics for
openSUSE:Factory checked in at 2016-10-19 13:03:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-deepseq-generics (Old)
and /work/SRC/openSUSE:Factory/.ghc-deepseq-generics.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-deepseq-generics"
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-deepseq-generics/ghc-deepseq-generics.changes
2016-07-21 08:05:33.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-deepseq-generics.new/ghc-deepseq-generics.changes
2016-10-19 13:03:57.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Sep 15 06:56:28 UTC 2016 - [email protected]
+
+- Update to version 0.2.0.0 revision 0 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
1.cabal
deepseq-generics-0.1.1.2.tar.gz
New:
----
deepseq-generics-0.2.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-deepseq-generics.spec ++++++
--- /var/tmp/diff_new_pack.aen6Y9/_old 2016-10-19 13:03:58.000000000 +0200
+++ /var/tmp/diff_new_pack.aen6Y9/_new 2016-10-19 13:03:58.000000000 +0200
@@ -19,16 +19,14 @@
%global pkg_name deepseq-generics
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.1.1.2
+Version: 0.2.0.0
Release: 0
Summary: GHC.Generics-based Control.DeepSeq.rnf implementation
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
-Source1:
https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal
BuildRequires: ghc-Cabal-devel
-# Begin cabal-rpm deps:
BuildRequires: ghc-deepseq-devel
BuildRequires: ghc-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -37,7 +35,6 @@
BuildRequires: ghc-test-framework-devel
BuildRequires: ghc-test-framework-hunit-devel
%endif
-# End cabal-rpm deps
%description
This package provides a "GHC.Generics"-based
@@ -51,9 +48,9 @@
This package differs from the 'generic-deepseq' package by working in
combination with the existing 'deepseq' package as opposed to defining a
-conflicting drop-in replacement for 'deepseq''s 'Control.Deepseq' module.
+conflicting drop-in replacement for 'deepseq''s 'Control.DeepSeq' module.
-Note: The ability to auto-derive via "GHC.Generics" has been merged into
+__Note__: The ability to auto-derive via "GHC.Generics" has been merged into
'deepseq-1.4.0.0'. This package is now still useful for writing code that's
also compatible with older 'deepseq' versions not yet providing
"GHC.Generics"-support.
@@ -72,22 +69,15 @@
%prep
%setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
-
%build
%ghc_lib_build
-
%install
%ghc_lib_install
-
%check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
%post devel
%ghc_pkg_recache
@@ -101,6 +91,6 @@
%files devel -f %{name}-devel.files
%defattr(-,root,root,-)
-%doc changelog
+%doc changelog.md
%changelog
++++++ deepseq-generics-0.1.1.2.tar.gz -> deepseq-generics-0.2.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/deepseq-generics-0.1.1.2/Control/DeepSeq/Generics.hs
new/deepseq-generics-0.2.0.0/Control/DeepSeq/Generics.hs
--- old/deepseq-generics-0.1.1.2/Control/DeepSeq/Generics.hs 2014-12-17
13:16:47.000000000 +0100
+++ new/deepseq-generics-0.2.0.0/Control/DeepSeq/Generics.hs 2016-01-03
15:45:35.000000000 +0100
@@ -9,12 +9,6 @@
-- Stability: stable
-- Portability: GHC
--
--- Beyond the primary scope of providing the 'genericRnf' helper, this
--- module also re-exports the definitions from "Control.DeepSeq" for
--- convenience. If this poses any problems, just use qualified or
--- explicit import statements (see code usage example in the
--- 'genericRnf' description)
---
-- __NOTE__: Starting with @deepseq-1.4.0.0@, 'NFData' gained support
-- for generic derivation via @DefaultSignatures@. The new default
-- 'rnf' method implementation is then equivalent to
@@ -30,11 +24,6 @@
module Control.DeepSeq.Generics
( genericRnf
, genericRnfV1
- -- * "Control.DeepSeq" re-exports
- , deepseq
- , force
- , NFData(rnf)
- , ($!!)
) where
import Control.DeepSeq
@@ -82,7 +71,7 @@
-- > instance NFData a => NFData (Bar a) where rnf = genericRnf
--
-- __NOTE__: The 'GNFData' type-class showing up in the type-signature is
--- used internally and not exported on purpose currently.
+-- used internally and not exported.
genericRnf :: (Generic a, GNFData (Rep a)) => a -> ()
genericRnf = grnf_ . from
@@ -97,26 +86,24 @@
grnf_ :: f a -> ()
instance GNFData U1 where
- grnf_ !U1 = ()
- {-# INLINE grnf_ #-}
+ grnf_ U1 = ()
instance NFData a => GNFData (K1 i a) where
grnf_ = rnf . unK1
- {-# INLINE grnf_ #-}
+ {-# INLINEABLE grnf_ #-}
instance GNFData a => GNFData (M1 i c a) where
grnf_ = grnf_ . unM1
- {-# INLINE grnf_ #-}
+ {-# INLINEABLE grnf_ #-}
instance (GNFData a, GNFData b) => GNFData (a :*: b) where
grnf_ (x :*: y) = grnf_ x `seq` grnf_ y
- {-# INLINE grnf_ #-}
+ {-# INLINEABLE grnf_ #-}
instance (GNFData a, GNFData b) => GNFData (a :+: b) where
grnf_ (L1 x) = grnf_ x
grnf_ (R1 x) = grnf_ x
- {-# INLINE grnf_ #-}
-
+ {-# INLINEABLE grnf_ #-}
-- | Variant of 'genericRnf' which supports derivation for uninhabited types.
--
@@ -136,9 +123,15 @@
-- > In an equation for `it': it = genericRnf (undefined :: TagFoo)
-- >
-- > Prelude> genericRnfV1 (undefined :: TagFoo)
--- > *** Exception: Control.DeepSeq.Generics.genericRnfV1: NF not defined for
uninhabited types
+-- > *** Exception: Control.DeepSeq.Generics.genericRnfV1: uninhabited type
+--
+-- 'genericRnfV1' corresponds to @deepseq-1.4.0.0@'s default @rnf@
+-- method implementation.
+--
+-- __NOTE__: The 'GNFDataV1' type-class showing up in the type-signature is
+-- used internally and not exported.
--
--- /Since: 0.1.1.0/
+-- @since 0.1.1.0
genericRnfV1 :: (Generic a, GNFDataV1 (Rep a)) => a -> ()
genericRnfV1 = grnfV1_ . from
{-# INLINE genericRnfV1 #-}
@@ -148,25 +141,24 @@
grnfV1_ :: f a -> ()
instance GNFDataV1 V1 where
- grnfV1_ = error "Control.DeepSeq.Generics.genericRnfV1: NF not defined for
uninhabited types"
+ grnfV1_ = error "Control.DeepSeq.Generics.genericRnfV1: uninhabited type"
instance GNFDataV1 U1 where
- grnfV1_ !U1 = ()
- {-# INLINE grnfV1_ #-}
+ grnfV1_ U1 = ()
instance NFData a => GNFDataV1 (K1 i a) where
grnfV1_ = rnf . unK1
- {-# INLINE grnfV1_ #-}
+ {-# INLINEABLE grnfV1_ #-}
instance GNFDataV1 a => GNFDataV1 (M1 i c a) where
grnfV1_ = grnfV1_ . unM1
- {-# INLINE grnfV1_ #-}
+ {-# INLINEABLE grnfV1_ #-}
instance (GNFDataV1 a, GNFDataV1 b) => GNFDataV1 (a :*: b) where
grnfV1_ (x :*: y) = grnfV1_ x `seq` grnfV1_ y
- {-# INLINE grnfV1_ #-}
+ {-# INLINEABLE grnfV1_ #-}
instance (GNFDataV1 a, GNFDataV1 b) => GNFDataV1 (a :+: b) where
grnfV1_ (L1 x) = grnfV1_ x
grnfV1_ (R1 x) = grnfV1_ x
- {-# INLINE grnfV1_ #-}
+ {-# INLINEABLE grnfV1_ #-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/deepseq-generics-0.1.1.2/changelog
new/deepseq-generics-0.2.0.0/changelog
--- old/deepseq-generics-0.1.1.2/changelog 2014-12-17 13:16:47.000000000
+0100
+++ new/deepseq-generics-0.2.0.0/changelog 1970-01-01 01:00:00.000000000
+0100
@@ -1,17 +0,0 @@
--*-change-log-*-
-
-0.1.1.2 Herbert Valerio Riedel <[email protected]> November 2013
-
- * Add support for GHC 7.10 and `deepseq-1.4.0.0`
-
-0.1.1.1 Herbert Valerio Riedel <[email protected]> November 2013
-
- * Add support for GHC 7.8
-
-0.1.1.0 Herbert Valerio Riedel <[email protected]> September 2013
-
- * Control/DeepSeq/Generics.hs (genericRnfV1): New Function
-
-0.1.0.0 Herbert Valerio Riedel <[email protected]> September 2012
-
- * Initial Release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/deepseq-generics-0.1.1.2/changelog.md
new/deepseq-generics-0.2.0.0/changelog.md
--- old/deepseq-generics-0.1.1.2/changelog.md 1970-01-01 01:00:00.000000000
+0100
+++ new/deepseq-generics-0.2.0.0/changelog.md 2016-01-03 15:45:35.000000000
+0100
@@ -0,0 +1,21 @@
+## 0.2.0.0 January 2016
+
+ * Add support for GHC 8.0
+ * Remove re-exports from `deepseq:Control.DeepSeq`
+ * Synchronise implementation to `deepseq-1.4.0.0`'s code
+
+## 0.1.1.2 December 2014
+
+ * Add support for GHC 7.10 and `deepseq-1.4.0.0`
+
+## 0.1.1.1 November 2013
+
+ * Add support for GHC 7.8
+
+## 0.1.1.0 September 2013
+
+ * New Function `Control.DeepSeq.Generics.genericRnfV1`
+
+## 0.1.0.0 September 2012
+
+ * Initial Release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/deepseq-generics-0.1.1.2/deepseq-generics.cabal
new/deepseq-generics-0.2.0.0/deepseq-generics.cabal
--- old/deepseq-generics-0.1.1.2/deepseq-generics.cabal 2014-12-17
13:16:47.000000000 +0100
+++ new/deepseq-generics-0.2.0.0/deepseq-generics.cabal 2016-01-03
15:45:35.000000000 +0100
@@ -1,5 +1,5 @@
name: deepseq-generics
-version: 0.1.1.2
+version: 0.2.0.0
synopsis: GHC.Generics-based Control.DeepSeq.rnf implementation
homepage: https://github.com/hvr/deepseq-generics
bug-reports: https://github.com/hvr/deepseq-generics/issues
@@ -11,7 +11,7 @@
category: Control
build-type: Simple
cabal-version: >=1.10
-tested-with: GHC==7.6.3, GHC==7.6.2, GHC==7.6.1, GHC==7.4.2, GHC==7.4.1
+tested-with: GHC==8.0.*, GHC==7.10.*, GHC==7.8.*, GHC==7.6.*,
GHC==7.4.*
description:
This package provides a "GHC.Generics"-based
'Control.DeepSeq.Generics.genericRnf' function which can be used
@@ -26,14 +26,14 @@
This package differs from the @generic-deepseq@ package by working
in combination with the existing @deepseq@ package as opposed to
defining a conflicting drop-in replacement for @deepseq@'s
- @Control.Deepseq@ module.
+ @Control.DeepSeq@ module.
.
- Note: The ability to auto-derive via "GHC.Generics" has been
+ __Note__: The ability to auto-derive via "GHC.Generics" has been
merged into @deepseq-1.4.0.0@. This package is now still useful
for writing code that's also compatible with older @deepseq@
versions not yet providing "GHC.Generics"-support.
-extra-source-files: changelog
+extra-source-files: changelog.md
source-repository head
type: git
@@ -42,7 +42,7 @@
library
default-language: Haskell2010
exposed-modules: Control.DeepSeq.Generics
- build-depends: base >= 4.5 && < 4.9, ghc-prim >= 0.2 && < 0.4,
deepseq >= 1.2.0.1 && < 1.5
+ build-depends: base >= 4.5 && < 4.10, ghc-prim >= 0.2 && < 0.6,
deepseq >= 1.2.0.1 && < 1.5
other-extensions: BangPatterns, FlexibleContexts, TypeOperators
ghc-options: -Wall