Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-foundation for openSUSE:Factory 
checked in at 2022-08-01 21:28:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-foundation (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-foundation.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-foundation"

Mon Aug  1 21:28:42 2022 rev:7 rq:985812 version:0.0.28

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-foundation/ghc-foundation.changes    
2022-02-11 23:10:47.551185974 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-foundation.new.1533/ghc-foundation.changes  
2022-08-01 21:28:47.729380451 +0200
@@ -1,0 +2,6 @@
+Thu Mar  3 03:43:42 UTC 2022 - Peter Simons <[email protected]>
+
+- Update foundation to version 0.0.28.
+  Upstream does not provide a change log file.
+
+-------------------------------------------------------------------

Old:
----
  foundation-0.0.26.1.tar.gz
  foundation.cabal

New:
----
  foundation-0.0.28.tar.gz

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

Other differences:
------------------
++++++ ghc-foundation.spec ++++++
--- /var/tmp/diff_new_pack.WEA0HK/_old  2022-08-01 21:28:48.309382115 +0200
+++ /var/tmp/diff_new_pack.WEA0HK/_new  2022-08-01 21:28:48.313382127 +0200
@@ -19,13 +19,12 @@
 %global pkg_name foundation
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.0.26.1
+Version:        0.0.28
 Release:        0
 Summary:        Alternative prelude with batteries and no dependencies
 License:        BSD-3-Clause
 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-basement-devel
 BuildRequires:  ghc-rpm-macros
@@ -64,7 +63,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ foundation-0.0.26.1.tar.gz -> foundation-0.0.28.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/foundation-0.0.26.1/Foundation/Time/StopWatch.hs 
new/foundation-0.0.28/Foundation/Time/StopWatch.hs
--- old/foundation-0.0.26.1/Foundation/Time/StopWatch.hs        2019-09-02 
05:58:08.000000000 +0200
+++ new/foundation-0.0.28/Foundation/Time/StopWatch.hs  2022-03-03 
03:54:04.000000000 +0100
@@ -69,8 +69,11 @@
 startPrecise = do
 #if defined(mingw32_HOST_OS)
     blk <- newPinned 16
-    _ <- withMutablePtr blk $ \p ->
-        c_QueryPerformanceCounter (castPtr p `ptrPlus` 8)
+    _ <- withMutablePtr blk $ \p -> do
+          ticks <- integralDownsize <$> queryPerformanceCounter :: IO Word64
+          let p64 = castPtr p :: Ptr Word64
+          poke (p64 `ptrPlus` 8) ticks
+          pure p
     pure (StopWatchPrecise blk)
 #elif defined(darwin_HOST_OS)
     StopWatchPrecise <$> sysMacos_absolute_time
@@ -86,9 +89,8 @@
 stopPrecise (StopWatchPrecise blk) = do
 #if defined(mingw32_HOST_OS)
     withMutablePtr blk $ \p -> do
-        _ <- c_QueryPerformanceCounter (castPtr p)
+        end <- integralDownsize <$> queryPerformanceCounter
         let p64 = castPtr p :: Ptr Word64
-        end   <- peek p64
         start <- peek (p64 `ptrPlus` 8)
         pure $ NanoSeconds ((end - start) * secondInNano `div` initPrecise)
 #elif defined(darwin_HOST_OS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/foundation-0.0.26.1/foundation.cabal 
new/foundation-0.0.28/foundation.cabal
--- old/foundation-0.0.26.1/foundation.cabal    2021-04-25 03:20:06.000000000 
+0200
+++ new/foundation-0.0.28/foundation.cabal      2022-03-03 04:08:44.000000000 
+0100
@@ -1,5 +1,5 @@
 name:                foundation
-version:             0.0.26.1
+version:             0.0.28
 synopsis:            Alternative prelude with batteries and no dependencies
 description:
     A custom prelude with no dependencies apart from base.
@@ -196,7 +196,7 @@
                       BangPatterns
                       DeriveDataTypeable
 
-  if impl(ghc < 8.0) || impl(ghcjs)
+  if impl(ghc < 8.8) || impl(ghcjs)
     buildable: False
   else
     build-depends:   base
@@ -206,7 +206,7 @@
       if arch(i386)
         extra-libraries: gcc
 
-  build-depends: basement == 0.0.12
+  build-depends: basement == 0.0.14
 
   -- FIXME add suport for armel mipsel
   --  CPP-options: -DARCH_IS_LITTLE_ENDIAN
@@ -216,10 +216,8 @@
     cpp-options: -DARCH_IS_LITTLE_ENDIAN
   else
     cpp-options: -DARCH_IS_UNKNOWN_ENDIAN
-  ghc-options:       -Wall -fwarn-tabs
+  ghc-options:       -Wall -fwarn-tabs -Wno-redundant-constraints
   default-language:  Haskell2010
-  if impl(ghc >= 8.0)
-    ghc-options:     -Wno-redundant-constraints
   if flag(bounds-check)
     cpp-options: -DFOUNDATION_BOUNDS_CHECK
 
@@ -251,10 +249,8 @@
   build-depends:     base > 0 && < 1000
                    , basement
                    , foundation
-  ghc-options:       -Wall -fno-warn-orphans -fno-warn-missing-signatures
+  ghc-options:       -Wall -fno-warn-orphans -fno-warn-missing-signatures 
-Wno-redundant-constraints
   default-language:  Haskell2010
-  if impl(ghc >= 8.0)
-    ghc-options:     -Wno-redundant-constraints
 
 test-suite foundation-link
   type:              exitcode-stdio-1.0

Reply via email to