Hello community,

here is the log from the commit of package ghc-base-prelude for 
openSUSE:Factory checked in at 2017-08-31 20:50:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-base-prelude (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-base-prelude.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-base-prelude"

Thu Aug 31 20:50:11 2017 rev:6 rq:513210 version:1.2.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-base-prelude/ghc-base-prelude.changes        
2016-07-21 08:00:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-base-prelude.new/ghc-base-prelude.changes   
2017-08-31 20:50:11.956206751 +0200
@@ -1,0 +2,5 @@
+Thu Jul 27 14:07:24 UTC 2017 - [email protected]
+
+- Update to version 1.2.0.1.
+
+-------------------------------------------------------------------

Old:
----
  base-prelude-1.0.1.1.tar.gz

New:
----
  base-prelude-1.2.0.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-base-prelude.spec ++++++
--- /var/tmp/diff_new_pack.ybYf9T/_old  2017-08-31 20:50:12.720099523 +0200
+++ /var/tmp/diff_new_pack.ybYf9T/_new  2017-08-31 20:50:12.720099523 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-base-prelude
 #
-# 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,11 +18,11 @@
 
 %global pkg_name base-prelude
 Name:           ghc-%{pkg_name}
-Version:        1.0.1.1
+Version:        1.2.0.1
 Release:        0
 Summary:        The most complete prelude formed solely from the "base" package
 License:        MIT
-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
@@ -58,15 +58,12 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 

++++++ base-prelude-1.0.1.1.tar.gz -> base-prelude-1.2.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/base-prelude-1.0.1.1/CHANGELOG.md 
new/base-prelude-1.2.0.1/CHANGELOG.md
--- old/base-prelude-1.0.1.1/CHANGELOG.md       2016-05-22 13:15:57.000000000 
+0200
+++ new/base-prelude-1.2.0.1/CHANGELOG.md       2017-03-16 13:53:41.000000000 
+0100
@@ -1,3 +1,11 @@
+# 1.2
+
+* Replace the `Foreign` export with `Foreign.Storable`, `Foreign.Ptr`, 
`Foreign.ForeignPtr`, `Foreign.StablePtr`. It's more conservative and way less 
likely to cause name collisions.
+
+# 1.1
+
+* Export `Foreign`
+
 # 1.0.1
 
 * Relaxed the "base" dependency
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/base-prelude-1.0.1.1/base-prelude.cabal 
new/base-prelude-1.2.0.1/base-prelude.cabal
--- old/base-prelude-1.0.1.1/base-prelude.cabal 2016-05-22 13:15:57.000000000 
+0200
+++ new/base-prelude-1.2.0.1/base-prelude.cabal 2017-03-16 13:53:41.000000000 
+0100
@@ -1,7 +1,7 @@
 name:
   base-prelude
 version:
-  1.0.1.1
+  1.2.0.1
 synopsis:
   The most complete prelude formed solely from the "base" package
 description:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/base-prelude-1.0.1.1/library/BasePrelude.hs 
new/base-prelude-1.2.0.1/library/BasePrelude.hs
--- old/base-prelude-1.0.1.1/library/BasePrelude.hs     2016-05-22 
13:15:57.000000000 +0200
+++ new/base-prelude-1.2.0.1/library/BasePrelude.hs     2017-03-16 
13:53:41.000000000 +0100
@@ -66,7 +66,10 @@
 import Data.Version as Exports
 import Data.Word as Exports
 import Debug.Trace as Exports hiding (traceShowId, traceM, traceShowM)
-import Foreign.Storable as Exports (Storable)
+import Foreign.Storable as Exports
+import Foreign.Ptr as Exports
+import Foreign.ForeignPtr as Exports
+import Foreign.StablePtr as Exports
 import GHC.Conc as Exports hiding (withMVar, threadWaitWriteSTM, 
threadWaitWrite, threadWaitReadSTM, threadWaitRead)
 import GHC.Exts as Exports (lazy, inline, sortWith, groupWith)
 import GHC.Generics as Exports (Generic)
@@ -87,9 +90,23 @@
 import Text.Read as Exports (Read(..), readMaybe, readEither)
 import Unsafe.Coerce as Exports
 
+-- Conditional imports for reimplementations
+#if MIN_VERSION_base(4,7,0)
+import Data.Bool (bool)
+import Debug.Trace (traceShowId, traceM, traceShowM)
+import Data.Functor (($>))
+#endif
+#if MIN_VERSION_base(4,8,0)
+import Data.Function ((&))
+import Data.List (isSubsequenceOf, sortOn, uncons)
+#endif
+
+
+---------------------------------
+-- Reimplementations for base-4.7
+---------------------------------
 
--- Reimplementations
--------------------------
+#if !MIN_VERSION_base(4,7,0)
 
 -- | Case analysis for the 'Bool' type.
 -- @bool a b p@ evaluates to @a@ when @p@ is @False@, and evaluates to @b@
@@ -135,6 +152,14 @@
 ($>) :: Functor f => f a -> b -> f b
 ($>) = flip (<$)
 
+#endif
+
+---------------------------------
+-- Reimplementations for base-4.8
+---------------------------------
+
+#if !MIN_VERSION_base(4,8,0)
+
 infixl 1 &
 
 -- | '&' is a reverse application operator.  This provides notational
@@ -177,3 +202,5 @@
 sortOn :: Ord b => (a -> b) -> [a] -> [a]
 sortOn f =
   map snd . sortBy (comparing fst) . map (\x -> let y = f x in y `seq` (y, x))
+
+#endif


Reply via email to