Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-scientific for openSUSE:Factory 
checked in at 2024-05-22 21:31:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-scientific (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-scientific.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-scientific"

Wed May 22 21:31:50 2024 rev:32 rq:1175646 version:0.3.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-scientific/ghc-scientific.changes    
2023-10-18 21:26:20.110059858 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-scientific.new.1880/ghc-scientific.changes  
2024-05-22 21:32:12.625394128 +0200
@@ -1,0 +2,7 @@
+Tue May 14 10:23:19 UTC 2024 - Peter Simons <[email protected]>
+
+- Update scientific to version 0.3.8.0.
+  Upstream has not updated the file "changelog" since the last
+  release.
+
+-------------------------------------------------------------------

Old:
----
  scientific-0.3.7.0.tar.gz
  scientific.cabal

New:
----
  scientific-0.3.8.0.tar.gz

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

Other differences:
------------------
++++++ ghc-scientific.spec ++++++
--- /var/tmp/diff_new_pack.fYl7L2/_old  2024-05-22 21:32:13.185414611 +0200
+++ /var/tmp/diff_new_pack.fYl7L2/_new  2024-05-22 21:32:13.189414757 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-scientific
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,13 +20,12 @@
 %global pkgver %{pkg_name}-%{version}
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.3.7.0
+Version:        0.3.8.0
 Release:        0
 Summary:        Numbers represented using scientific notation
 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/7.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-base-devel
 BuildRequires:  ghc-base-prof
@@ -123,7 +122,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ scientific-0.3.7.0.tar.gz -> scientific-0.3.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scientific-0.3.7.0/scientific.cabal 
new/scientific-0.3.8.0/scientific.cabal
--- old/scientific-0.3.7.0/scientific.cabal     2001-09-09 03:46:40.000000000 
+0200
+++ new/scientific-0.3.8.0/scientific.cabal     2001-09-09 03:46:40.000000000 
+0200
@@ -1,5 +1,5 @@
 name:               scientific
-version:            0.3.7.0
+version:            0.3.8.0
 synopsis:           Numbers represented using scientific notation
 description:
   "Data.Scientific" provides the number type 'Scientific'. Scientific numbers 
are
@@ -43,28 +43,20 @@
 cabal-version:      >=1.10
 extra-source-files: changelog
 tested-with:
-  GHC ==7.6.3
-   || ==7.8.4
-   || ==7.10.3
-   || ==8.0.2
-   || ==8.2.2
-   || ==8.4.4
-   || ==8.6.5
+  GHC ==8.6.5
    || ==8.8.4
-   || ==8.10.4
-   || ==9.0.1
+   || ==8.10.7
+   || ==9.0.2
+   || ==9.2.8
+   || ==9.4.8
+   || ==9.6.5
+   || ==9.8.2
+   || ==9.10.1
 
 source-repository head
   type:     git
   location: git://github.com/basvandijk/scientific.git
 
-flag bytestring-builder
-  description:
-    Depend on the bytestring-builder package for backwards compatibility.
-
-  default:     False
-  manual:      False
-
 flag integer-simple
   description: Use the integer-simple package instead of integer-gmp
   default:     False
@@ -86,23 +78,16 @@
 
   ghc-options:      -Wall
   build-depends:
-      base                >=4.5     && <4.16
-    , binary              >=0.5.1   && <0.9
-    , containers          >=0.4.2.1 && <0.7
-    , deepseq             >=1.3.0.0 && <1.5
-    , hashable            >=1.2.7.0 && <1.4
-    , integer-logarithms  >=1.0.3.1 && <1.1
-    , primitive           >=0.7.1.0 && <0.8
-    , template-haskell    >=2.8     && <2.18
-    , text                >=1.2.3.0 && <1.3
-
-  if flag(bytestring-builder)
-    build-depends:
-        bytestring          >=0.9    && <0.10.4
-      , bytestring-builder  >=0.10.4 && <0.11
-
-  else
-    build-depends: bytestring >=0.10.4 && <0.12
+      base                >=4.5      && <4.21
+    , binary              >=0.8.6.0  && <0.9
+    , bytestring          >=0.10.8.2 && <0.13
+    , containers          >=0.6.0.1  && <0.8
+    , deepseq             >=1.4.4.0  && <1.6
+    , hashable            >=1.4.4.0  && <1.5
+    , integer-logarithms  >=1.0.3.1  && <1.1
+    , primitive           >=0.9.0.0  && <0.10
+    , template-haskell    >=2.14.0.0 && <2.23
+    , text                >=1.2.3.0  && <1.3  || >=2.0 && <2.2
 
   if impl(ghc >=9.0)
     build-depends: base >=4.15
@@ -120,7 +105,7 @@
   if impl(ghc <8)
     other-extensions: TemplateHaskell
 
-  if impl(ghc >= 9.0)
+  if impl(ghc >=9.0)
     -- these flags may abort compilation with GHC-8.10
     -- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/3295
     ghc-options: -Winferred-safe-imports -Wmissing-safe-haskell-mode
@@ -137,6 +122,7 @@
   build-depends:
       base
     , binary
+    , bytestring
     , QuickCheck        >=2.14.2
     , scientific
     , smallcheck        >=1.0
@@ -146,14 +132,6 @@
     , tasty-smallcheck  >=0.2
     , text
 
-  if flag(bytestring-builder)
-    build-depends:
-        bytestring
-      , bytestring-builder
-
-  else
-    build-depends: bytestring
-
 benchmark bench-scientific
   type:             exitcode-stdio-1.0
   hs-source-dirs:   bench
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/scientific-0.3.7.0/src/Data/ByteString/Builder/Scientific.hs 
new/scientific-0.3.8.0/src/Data/ByteString/Builder/Scientific.hs
--- old/scientific-0.3.7.0/src/Data/ByteString/Builder/Scientific.hs    
2001-09-09 03:46:40.000000000 +0200
+++ new/scientific-0.3.8.0/src/Data/ByteString/Builder/Scientific.hs    
2001-09-09 03:46:40.000000000 +0200
@@ -1,4 +1,4 @@
-{-# LANGUAGE CPP, OverloadedStrings, Safe #-}
+{-# LANGUAGE OverloadedStrings, Safe #-}
 
 module Data.ByteString.Builder.Scientific
     ( scientificBuilder
@@ -17,18 +17,7 @@
 
 import Utils (roundTo, i2d)
 
-#if !MIN_VERSION_base(4,8,0)
-import Data.Monoid                  (mempty)
-#endif
-
-#if MIN_VERSION_base(4,5,0)
 import Data.Monoid                  ((<>))
-#else
-import Data.Monoid                  (Monoid, mappend)
-(<>) :: Monoid a => a -> a -> a
-(<>) = mappend
-infixr 6 <>
-#endif
 
 
 -- | A @ByteString@ @Builder@ which renders a scientific number to full
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scientific-0.3.7.0/src/Data/Scientific.hs 
new/scientific-0.3.8.0/src/Data/Scientific.hs
--- old/scientific-0.3.7.0/src/Data/Scientific.hs       2001-09-09 
03:46:40.000000000 +0200
+++ new/scientific-0.3.8.0/src/Data/Scientific.hs       2001-09-09 
03:46:40.000000000 +0200
@@ -1,17 +1,11 @@
-{-# LANGUAGE CPP #-}
 {-# LANGUAGE DeriveDataTypeable #-}
 {-# LANGUAGE BangPatterns #-}
 {-# LANGUAGE ScopedTypeVariables #-}
 {-# LANGUAGE UnboxedTuples #-}
 {-# LANGUAGE PatternGuards #-}
 {-# LANGUAGE Trustworthy #-}
-
-#if __GLASGOW_HASKELL__ >= 800
 {-# LANGUAGE DeriveLift #-}
 {-# LANGUAGE StandaloneDeriving #-}
-#else
-{-# LANGUAGE TemplateHaskell #-}
-#endif
 
 -- |
 -- Module      :  Data.Scientific
@@ -125,16 +119,6 @@
 import           Text.ParserCombinators.ReadP     ( ReadP )
 import           Data.Text.Lazy.Builder.RealFloat (FPFormat(..))
 
-#if !MIN_VERSION_base(4,9,0)
-import           Control.Applicative          ((*>))
-#endif
-
-#if !MIN_VERSION_base(4,8,0)
-import           Data.Functor                 ((<$>))
-import           Data.Word                    (Word)
-import           Control.Applicative          ((<*>))
-#endif
-
 import GHC.Integer.Compat (quotRemInteger, quotInteger, divInteger)
 import Utils              (maxExpt, roundTo, magnitude)
 
@@ -191,14 +175,8 @@
 -- Instances
 ----------------------------------------------------------------------
 
-#if __GLASGOW_HASKELL__ >= 800
 -- | @since 0.3.7.0
 deriving instance Lift Scientific
-#else
-instance Lift Scientific where
-    lift (Scientific c e) = [| Scientific c e |]
-#endif
-
 
 instance NFData Scientific where
     rnf (Scientific _ _) = ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/scientific-0.3.7.0/src/Data/Text/Lazy/Builder/Scientific.hs 
new/scientific-0.3.8.0/src/Data/Text/Lazy/Builder/Scientific.hs
--- old/scientific-0.3.7.0/src/Data/Text/Lazy/Builder/Scientific.hs     
2001-09-09 03:46:40.000000000 +0200
+++ new/scientific-0.3.8.0/src/Data/Text/Lazy/Builder/Scientific.hs     
2001-09-09 03:46:40.000000000 +0200
@@ -1,4 +1,4 @@
-{-# LANGUAGE CPP, OverloadedStrings, Safe #-}
+{-# LANGUAGE OverloadedStrings, Safe #-}
 
 module Data.Text.Lazy.Builder.Scientific
     ( scientificBuilder
@@ -16,14 +16,7 @@
 import qualified Data.Text as T     (replicate)
 import Utils (roundTo, i2d)
 
-#if MIN_VERSION_base(4,5,0)
 import Data.Monoid                  ((<>))
-#else
-import Data.Monoid                  (Monoid, mappend)
-(<>) :: Monoid a => a -> a -> a
-(<>) = mappend
-infixr 6 <>
-#endif
 
 -- | A @Text@ @Builder@ which renders a scientific number to full
 -- precision, using standard decimal notation for arguments whose
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scientific-0.3.7.0/src/Utils.hs 
new/scientific-0.3.8.0/src/Utils.hs
--- old/scientific-0.3.7.0/src/Utils.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/scientific-0.3.8.0/src/Utils.hs 2001-09-09 03:46:40.000000000 +0200
@@ -17,11 +17,7 @@
 import qualified Data.Primitive.Array as Primitive
 import           Control.Monad.ST             (runST)
 
-#if MIN_VERSION_base(4,5,0)
 import           Data.Bits                    (unsafeShiftR)
-#else
-import           Data.Bits                    (shiftR)
-#endif
 
 roundTo :: Int -> [Int] -> (Int, [Int])
 roundTo d is =
@@ -71,11 +67,7 @@
           where
             xx = x * x
             x  = Primitive.indexArray expts10 half
-#if MIN_VERSION_base(4,5,0)
             !half = ix `unsafeShiftR` 1
-#else
-            !half = ix `shiftR` 1
-#endif
     go 2
 
 uninitialised :: error
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/scientific-0.3.7.0/test/test.hs 
new/scientific-0.3.8.0/test/test.hs
--- old/scientific-0.3.7.0/test/test.hs 2001-09-09 03:46:40.000000000 +0200
+++ new/scientific-0.3.8.0/test/test.hs 2001-09-09 03:46:40.000000000 +0200
@@ -1,4 +1,3 @@
-{-# LANGUAGE CPP #-}
 {-# LANGUAGE FlexibleInstances #-}
 {-# LANGUAGE FlexibleContexts #-}
 {-# LANGUAGE MultiParamTypeClasses #-}
@@ -10,9 +9,6 @@
 
 module Main where
 
-#if !MIN_VERSION_base(4,8,0)
-import           Control.Applicative
-#endif
 import           Control.Monad
 import           Data.Int
 import           Data.Word
@@ -468,8 +464,4 @@
 bigIntGen = QC.sized $ \size -> QC.resize (size * 1000) intGen
 
 intGen :: QC.Gen Int
-#if MIN_VERSION_QuickCheck(2,7,0)
 intGen = QC.arbitrary
-#else
-intGen = QC.sized $ \n -> QC.choose (-n, n)
-#endif

Reply via email to