Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-random for openSUSE:Factory 
checked in at 2024-02-12 18:58:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-random (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-random.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-random"

Mon Feb 12 18:58:32 2024 rev:25 rq:1146132 version:1.2.1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-random/ghc-random.changes    2023-10-12 
11:41:16.927258227 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-random.new.1815/ghc-random.changes  
2024-02-12 18:58:33.544276252 +0100
@@ -1,0 +2,7 @@
+Sun Feb  4 16:26:32 UTC 2024 - Peter Simons <psim...@suse.com>
+
+- Update random to version 1.2.1.2.
+  Upstream has not updated the file "CHANGELOG.md" since the last
+  release.
+
+-------------------------------------------------------------------

Old:
----
  random-1.2.1.1.tar.gz
  random.cabal

New:
----
  random-1.2.1.2.tar.gz

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

Other differences:
------------------
++++++ ghc-random.spec ++++++
--- /var/tmp/diff_new_pack.wMmnOf/_old  2024-02-12 18:58:34.168298935 +0100
+++ /var/tmp/diff_new_pack.wMmnOf/_new  2024-02-12 18:58:34.172299081 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-random
 #
-# 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:        1.2.1.1
+Version:        1.2.1.2
 Release:        0
 Summary:        Pseudo-random number generation
 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-base-devel
 BuildRequires:  ghc-base-prof
@@ -136,7 +135,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ random-1.2.1.1.tar.gz -> random-1.2.1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/random-1.2.1.1/random.cabal 
new/random-1.2.1.2/random.cabal
--- old/random-1.2.1.1/random.cabal     2022-05-09 03:39:12.000000000 +0200
+++ new/random-1.2.1.2/random.cabal     2024-02-04 15:30:38.000000000 +0100
@@ -1,6 +1,6 @@
 cabal-version:      >=1.10
 name:               random
-version:            1.2.1.1
+version:            1.2.1.2
 license:            BSD3
 license-file:       LICENSE
 maintainer:         core-libraries-commit...@haskell.org
@@ -63,9 +63,7 @@
 extra-source-files:
     README.md
     CHANGELOG.md
-tested-with:         GHC == 7.10.2
-                   , GHC == 7.10.3
-                   , GHC == 8.0.2
+tested-with:         GHC == 8.0.2
                    , GHC == 8.2.2
                    , GHC == 8.4.3
                    , GHC == 8.4.4
@@ -99,7 +97,7 @@
 
     build-depends:
         base >=4.8 && <5,
-        bytestring >=0.10.4 && <0.12,
+        bytestring >=0.10.4 && <0.13,
         deepseq >=1.1 && <2,
         mtl >=2.2 && <2.4,
         splitmix >=0.1 && <0.2
@@ -119,7 +117,7 @@
         RangeTest
 
     default-language: Haskell2010
-    ghc-options:      -with-rtsopts=-M8M
+    ghc-options:      -rtsopts -with-rtsopts=-M9M
     if impl(ghc >= 8.0)
         ghc-options:
             -Wno-deprecations
@@ -135,7 +133,7 @@
     default-language: Haskell2010
     build-depends:
         base,
-        doctest >=0.15 && <0.21
+        doctest >=0.15 && <0.23
     if impl(ghc >= 8.2) && impl(ghc < 8.10)
         build-depends:
             mwc-random >=0.13 && <0.16,
@@ -162,7 +160,7 @@
         random,
         smallcheck >=1.2 && <1.3,
         stm,
-        tasty >=1.0 && <1.5,
+        tasty >=1.0 && <1.6,
         tasty-smallcheck >=0.8 && <0.9,
         tasty-hunit >=0.10 && <0.11,
         transformers
@@ -173,14 +171,12 @@
     type:             exitcode-stdio-1.0
     main-is:          Spec.hs
     hs-source-dirs:   test-inspection
-    build-depends:
-
     default-language: Haskell2010
     ghc-options:      -Wall
     build-depends:
         base,
         random,
-        tasty >=1.0 && <1.5
+        tasty >=1.0 && <1.6
     if impl(ghc >= 8.0)
         build-depends:
             tasty-inspection-testing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/random-1.2.1.1/test-inspection/Spec/Inspection.hs 
new/random-1.2.1.2/test-inspection/Spec/Inspection.hs
--- old/random-1.2.1.1/test-inspection/Spec/Inspection.hs       2021-09-19 
23:39:00.000000000 +0200
+++ new/random-1.2.1.2/test-inspection/Spec/Inspection.hs       2024-02-04 
10:15:59.000000000 +0100
@@ -1,3 +1,4 @@
+{-# LANGUAGE CPP              #-}
 {-# LANGUAGE DeriveAnyClass   #-}
 {-# LANGUAGE DeriveGeneric    #-}
 {-# LANGUAGE TemplateHaskell  #-}
@@ -43,7 +44,15 @@
   [ $(inspectObligations [(`doesNotUse` 'StateGenM), hasNoGenerics, 
hasNoTypeClasses] 'uniform_Word8)
   , $(inspectObligations [(`doesNotUse` 'StateGenM), hasNoGenerics, 
hasNoTypeClasses] 'uniform_Int8)
   , $(inspectObligations [(`doesNotUse` 'StateGenM), hasNoGenerics, 
hasNoTypeClasses] 'uniform_Char)
-  , $(inspectObligations [(`doesNotUse` 'StateGenM), hasNoGenerics, 
hasNoTypeClasses] 'uniform_MyAction)
+  , $(inspectObligations [(`doesNotUse` 'StateGenM), hasNoTypeClasses] 
'uniform_MyAction)
+
+#if !MIN_VERSION_base(4,17,0)
+  -- Starting from GHC 9.4 and base-4.17
+  -- 'error' :: M1 C ('MetaCons "Never" 'PrefixI 'False) ..
+  -- survives. This does not really matter, because Never is uninhabited,
+  -- but fails inspection testing.
+  , $(inspectTest $ hasNoGenerics 'uniform_MyAction)
+#endif
 
   , $(inspectObligations [(`doesNotUse` 'StateGenM), hasNoGenerics, 
hasNoTypeClasses] 'uniformR_Word8)
   , $(inspectObligations [(`doesNotUse` 'StateGenM), hasNoGenerics, 
hasNoTypeClasses] 'uniformR_Int8)

Reply via email to