Hello community,

here is the log from the commit of package ghc-call-stack for 
openSUSE:Leap:15.2 checked in at 2020-02-19 18:38:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/ghc-call-stack (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.ghc-call-stack.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-call-stack"

Wed Feb 19 18:38:06 2020 rev:11 rq:771251 version:0.2.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/ghc-call-stack/ghc-call-stack.changes  
2020-01-15 15:01:54.749794055 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.ghc-call-stack.new.26092/ghc-call-stack.changes   
    2020-02-19 18:38:32.657959807 +0100
@@ -1,0 +2,11 @@
+Fri Nov  8 16:13:23 UTC 2019 - Peter Simons <[email protected]>
+
+- Drop obsolete group attributes.
+
+-------------------------------------------------------------------
+Sun Aug  4 02:01:53 UTC 2019 - [email protected]
+
+- Update call-stack to version 0.2.0.
+  Upstream does not provide a change log file.
+
+-------------------------------------------------------------------

Old:
----
  call-stack-0.1.0.tar.gz

New:
----
  call-stack-0.2.0.tar.gz

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

Other differences:
------------------
++++++ ghc-call-stack.spec ++++++
--- /var/tmp/diff_new_pack.K7wpJv/_old  2020-02-19 18:38:32.941960401 +0100
+++ /var/tmp/diff_new_pack.K7wpJv/_new  2020-02-19 18:38:32.941960401 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-call-stack
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -19,11 +19,10 @@
 %global pkg_name call-stack
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.1.0
+Version:        0.2.0
 Release:        0
 Summary:        Use GHC call-stacks in a backward compatible way
 License:        MIT
-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
 BuildRequires:  ghc-Cabal-devel
@@ -37,7 +36,6 @@
 
 %package devel
 Summary:        Haskell %{pkg_name} library development files
-Group:          Development/Libraries/Haskell
 Requires:       %{name} = %{version}-%{release}
 Requires:       ghc-compiler = %{ghc_version}
 Requires(post): ghc-compiler = %{ghc_version}

++++++ call-stack-0.1.0.tar.gz -> call-stack-0.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/call-stack-0.1.0/call-stack.cabal 
new/call-stack-0.2.0/call-stack.cabal
--- old/call-stack-0.1.0/call-stack.cabal       2016-10-03 12:16:09.000000000 
+0200
+++ new/call-stack-0.2.0/call-stack.cabal       2019-08-04 03:45:34.000000000 
+0200
@@ -1,9 +1,13 @@
--- This file has been generated from package.yaml by hpack version 0.15.0.
+cabal-version: 1.12
+
+-- This file has been generated from package.yaml by hpack version 0.31.0.
 --
 -- see: https://github.com/sol/hpack
+--
+-- hash: ead73de1f27ca13dbc12434ae8a06a86ce7c6fc59801f6807140632fc1e44df8
 
 name:           call-stack
-version:        0.1.0
+version:        0.2.0
 synopsis:       Use GHC call-stacks in a backward compatible way
 category:       Data
 homepage:       https://github.com/sol/call-stack#readme
@@ -12,7 +16,6 @@
 license:        MIT
 license-file:   LICENSE
 build-type:     Simple
-cabal-version:  >= 1.10
 
 source-repository head
   type: git
@@ -23,7 +26,7 @@
       src
   ghc-options: -Wall
   build-depends:
-      base >= 4.5.0.0 && < 5
+      base >=4.5.0.0 && <5
   exposed-modules:
       Data.CallStack
   other-modules:
@@ -38,11 +41,12 @@
       test
   ghc-options: -Wall
   build-depends:
-      base >= 4.5.0.0 && < 5
-    , nanospec
+      base >=4.5.0.0 && <5
     , call-stack
+    , nanospec
   other-modules:
       Data.CallStackSpec
       Example
       Util
+      Paths_call_stack
   default-language: Haskell2010
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/call-stack-0.1.0/src/Data/CallStack.hs 
new/call-stack-0.2.0/src/Data/CallStack.hs
--- old/call-stack-0.1.0/src/Data/CallStack.hs  2016-10-03 12:16:09.000000000 
+0200
+++ new/call-stack-0.2.0/src/Data/CallStack.hs  2019-08-04 03:45:34.000000000 
+0200
@@ -8,8 +8,10 @@
 , CallStack
 , SrcLoc(..)
 , callStack
+, callSite
 ) where
 
+import Data.Maybe
 import Data.SrcLoc
 
 #if MIN_VERSION_base(4,8,1)
@@ -35,3 +37,6 @@
 #else
 callStack = []
 #endif
+
+callSite :: HasCallStack => Maybe (String, SrcLoc)
+callSite = listToMaybe (reverse callStack)


Reply via email to