Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-OneTuple for openSUSE:Factory 
checked in at 2026-06-10 15:57:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-OneTuple (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-OneTuple.new.2375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-OneTuple"

Wed Jun 10 15:57:25 2026 rev:10 rq:1358324 version:0.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-OneTuple/ghc-OneTuple.changes        
2024-12-29 11:56:40.404261942 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-OneTuple.new.2375/ghc-OneTuple.changes      
2026-06-10 15:57:47.492250715 +0200
@@ -1,0 +2,15 @@
+Fri May  8 12:25:37 UTC 2026 - Peter Simons <[email protected]>
+
+- Update OneTuple to version 0.4.3.
+  # 0.4.3
+
+  - Use automatic flags for compatibility conditionals
+
+-------------------------------------------------------------------
+Fri Jan  2 18:38:39 UTC 2026 - Peter Simons <[email protected]>
+
+- Update OneTuple to version 0.4.2.1.
+  Upstream has not updated the file "Changelog.md" since the last
+  release.
+
+-------------------------------------------------------------------

Old:
----
  OneTuple-0.4.2.tar.gz
  OneTuple.cabal

New:
----
  OneTuple-0.4.3.tar.gz

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

Other differences:
------------------
++++++ ghc-OneTuple.spec ++++++
--- /var/tmp/diff_new_pack.Bho7sS/_old  2026-06-10 15:57:49.776345367 +0200
+++ /var/tmp/diff_new_pack.Bho7sS/_new  2026-06-10 15:57:49.804346527 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-OneTuple
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 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.4.2
+Version:        0.4.3
 Release:        0
 Summary:        Singleton Tuple
 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
@@ -76,7 +75,6 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ OneTuple-0.4.2.tar.gz -> OneTuple-0.4.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OneTuple-0.4.2/Changelog.md 
new/OneTuple-0.4.3/Changelog.md
--- old/OneTuple-0.4.2/Changelog.md     2001-09-09 03:46:40.000000000 +0200
+++ new/OneTuple-0.4.3/Changelog.md     2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,7 @@
+# 0.4.3
+
+- Use automatic flags for compatibility conditionals
+
 # 0.4.1.1
 
 - Support GHC-7.2 and GHC-7.0.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OneTuple-0.4.2/OneTuple.cabal 
new/OneTuple-0.4.3/OneTuple.cabal
--- old/OneTuple-0.4.2/OneTuple.cabal   2001-09-09 03:46:40.000000000 +0200
+++ new/OneTuple-0.4.3/OneTuple.cabal   2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:      1.12
 name:               OneTuple
-version:            0.4.2
+version:            0.4.3
 synopsis:           Singleton Tuple
 category:           Data
 description:
@@ -27,10 +27,12 @@
    || ==8.10.7
    || ==9.0.2
    || ==9.2.8
-   || ==9.4.7
-   || ==9.6.3
-   || ==9.8.2
-   || ==9.10.1
+   || ==9.4.8
+   || ==9.6.4
+   || ==9.8.6
+   || ==9.10.2
+   || ==9.12.2
+   || ==9.14.1
 
 extra-source-files: Changelog.md
 
@@ -38,6 +40,16 @@
   type:     git
   location: https://github.com/phadej/OneTuple.git
 
+flag base-ge-4-15
+  description: @base >=4.15@ (GHC-9.0)
+  default:     True
+  manual:      False
+
+flag base-ge-4-16
+  description: @base >=4.16@ (GHC-9.2)
+  default:     True
+  manual:      False
+
 library
   default-language: Haskell98
   exposed-modules:
@@ -47,20 +59,34 @@
 
   hs-source-dirs:   src
   build-depends:
-      base              >=4.12 && <4.21
+      base              >=4.12 && <4.23
     , template-haskell
 
-  if impl(ghc >=9.0)
+  if flag(base-ge-4-15)
     build-depends: ghc-prim
+
   else
-    build-depends: hashable >=1.3.5.0 && <1.5
+    build-depends: hashable >=1.3.5.0 && <1.6
 
-  if !impl(ghc >=9.0)
+  if !flag(base-ge-4-15)
     build-depends: foldable1-classes-compat >=0.1 && <0.2
 
-  if !impl(ghc >=9.2)
+  if !flag(base-ge-4-16)
     build-depends: base-orphans >=0.8.6
 
+  -- flag selection forcing conditionals
+  if flag(base-ge-4-15)
+    build-depends: base >=4.15
+
+  else
+    build-depends: base <4.15
+
+  if flag(base-ge-4-16)
+    build-depends: base >=4.16
+
+  else
+    build-depends: base <4.16
+
 test-suite instances
   type:             exitcode-stdio-1.0
   default-language: Haskell98
@@ -88,4 +114,3 @@
   build-depends:
       base
     , OneTuple
-    , template-haskell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OneTuple-0.4.2/src/Data/Tuple/OneTuple.hs 
new/OneTuple-0.4.3/src/Data/Tuple/OneTuple.hs
--- old/OneTuple-0.4.2/src/Data/Tuple/OneTuple.hs       2001-09-09 
03:46:40.000000000 +0200
+++ new/OneTuple-0.4.3/src/Data/Tuple/OneTuple.hs       2001-09-09 
03:46:40.000000000 +0200
@@ -1,7 +1,4 @@
-{-# LANGUAGE CPP             #-}
-#if __GLASGOW_HASKELL__ >= 708
 {-# LANGUAGE PatternSynonyms #-}
-#endif
 -- | This is a module to help migration from @OneTuple@ to @Solo@.
 -- Migrate to use "Data.Tuple" from @base-4.16@ or "Data.Tuple.Solo" with all 
GHCs.
 --
@@ -10,9 +7,7 @@
 {-# DEPRECATED "Use Data.Tuple.Solo" #-}
 (
     OneTuple,
-#if __GLASGOW_HASKELL__ >= 708
     pattern OneTuple,
-#endif
     only,
 ) where
 
@@ -23,13 +18,7 @@
 only :: OneTuple a -> a
 only = getSolo
 
-#if __GLASGOW_HASKELL__ >= 708
-#if __GLASGOW_HASKELL__ >= 710
 pattern OneTuple :: a -> Solo a
-#endif
 pattern OneTuple a = MkSolo a
-#endif
 
-#if __GLASGOW_HASKELL__ >= 800
 {-# COMPLETE OneTuple #-}
-#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OneTuple-0.4.2/src/Data/Tuple/Solo.hs 
new/OneTuple-0.4.3/src/Data/Tuple/Solo.hs
--- old/OneTuple-0.4.2/src/Data/Tuple/Solo.hs   2001-09-09 03:46:40.000000000 
+0200
+++ new/OneTuple-0.4.3/src/Data/Tuple/Solo.hs   2001-09-09 03:46:40.000000000 
+0200
@@ -54,6 +54,7 @@
 
 {-# COMPLETE MkSolo #-}
 
+-- !MIN_VERSION_base(4,15,0)
 #else
 
 import Control.Applicative (Applicative (..))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/OneTuple-0.4.2/test/instances.hs 
new/OneTuple-0.4.3/test/instances.hs
--- old/OneTuple-0.4.2/test/instances.hs        2001-09-09 03:46:40.000000000 
+0200
+++ new/OneTuple-0.4.3/test/instances.hs        2001-09-09 03:46:40.000000000 
+0200
@@ -1,9 +1,6 @@
 {-# LANGUAGE CPP #-}
-#if __GLASGOW_HASKELL__ >= 800
 {-# OPTIONS_GHC -Wincomplete-patterns -Werror=incomplete-patterns #-}
-#else
 {-# OPTIONS_GHC -fwarn-incomplete-patterns -Werror #-}
-#endif
 module Main where
 
 import Control.Applicative  (Applicative (..))
@@ -66,9 +63,7 @@
 hasMonad :: Monad f => f a -> f a; hasMonad x = x; testMonad = hasMonad tup1
 hasMonadFix :: MonadFix f => f a -> f a; hasMonadFix x = x; testMonadFix = 
hasMonadFix tup1
 
-#if MIN_VERSION_base(4,4,0)
 hasMonadZip :: MonadZip f => f a -> f a; hasMonadZip x = x; testMonadZip = 
hasMonadZip tup1
-#endif
 
 hasEq1 :: Eq1 f => f a -> f a; hasEq1 x = x; testEq1 = hasEq1 tup1
 hasOrd1 :: Ord1 f => f a -> f a; hasOrd1 x = x; testOrd1 = hasOrd1 tup1

Reply via email to