Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-integer-logarithms for
openSUSE:Factory checked in at 2024-12-29 11:56:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-integer-logarithms (Old)
and /work/SRC/openSUSE:Factory/.ghc-integer-logarithms.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-integer-logarithms"
Sun Dec 29 11:56:32 2024 rev:22 rq:1233619 version:1.0.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-integer-logarithms/ghc-integer-logarithms.changes
2024-04-12 17:40:16.011865616 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-integer-logarithms.new.1881/ghc-integer-logarithms.changes
2024-12-29 11:56:48.060575911 +0100
@@ -1,0 +2,10 @@
+Fri Dec 20 17:13:43 UTC 2024 - Peter Simons <[email protected]>
+
+- Update integer-logarithms to version 1.0.4.
+ 1.0.4
+ -----
+
+ - Drop support for GHCs prior 8.6.5
+ - GHC-9.12 support
+
+-------------------------------------------------------------------
Old:
----
integer-logarithms-1.0.3.1.tar.gz
integer-logarithms.cabal
New:
----
integer-logarithms-1.0.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-integer-logarithms.spec ++++++
--- /var/tmp/diff_new_pack.uhOFKn/_old 2024-12-29 11:56:49.112619053 +0100
+++ /var/tmp/diff_new_pack.uhOFKn/_new 2024-12-29 11:56:49.112619053 +0100
@@ -20,13 +20,12 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.0.3.1
+Version: 1.0.4
Release: 0
Summary: Integer logarithms
License: MIT
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/6.cabal#/%{pkg_name}.cabal
BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-array-devel
BuildRequires: ghc-array-prof
@@ -86,7 +85,6 @@
%prep
%autosetup -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build
++++++ integer-logarithms-1.0.3.1.tar.gz -> integer-logarithms-1.0.4.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/integer-logarithms-1.0.3.1/changelog.md
new/integer-logarithms-1.0.4/changelog.md
--- old/integer-logarithms-1.0.3.1/changelog.md 2001-09-09 03:46:40.000000000
+0200
+++ new/integer-logarithms-1.0.4/changelog.md 2001-09-09 03:46:40.000000000
+0200
@@ -1,3 +1,9 @@
+1.0.4
+-----
+
+- Drop support for GHCs prior 8.6.5
+- GHC-9.12 support
+
1.0.3.1
-------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/integer-logarithms-1.0.3.1/integer-logarithms.cabal
new/integer-logarithms-1.0.4/integer-logarithms.cabal
--- old/integer-logarithms-1.0.3.1/integer-logarithms.cabal 2001-09-09
03:46:40.000000000 +0200
+++ new/integer-logarithms-1.0.4/integer-logarithms.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
name: integer-logarithms
-version: 1.0.3.1
+version: 1.0.4
cabal-version: >=1.10
author: Daniel Fischer
copyright:
@@ -23,19 +23,16 @@
category: Math, Algorithms, Number Theory
tested-with:
- GHC ==7.0.4
- || ==7.2.2
- || ==7.4.2
- || ==7.6.3
- || ==7.8.4
- || ==7.10.3
- || ==8.0.2
- || ==8.2.2
- || ==8.4.4
- || ==8.6.4
+ GHC ==8.6.5
|| ==8.8.4
- || ==8.10.2
- , GHCJS ==8.4
+ || ==8.10.4
+ || ==9.0.2
+ || ==9.2.8
+ || ==9.4.8
+ || ==9.6.6
+ || ==9.8.4
+ || ==9.10.1
+ || ==9.12.1
extra-source-files:
changelog.md
@@ -55,9 +52,9 @@
default-language: Haskell2010
hs-source-dirs: src
build-depends:
- array >=0.3 && <0.6
- , base >=4.3 && <4.16
- , ghc-prim >=0 && <0.8
+ array >=0.5.3.0 && <0.6
+ , base >=4.12.0.0 && <4.22
+ , ghc-prim <0.14
if !impl(ghc >=7.10)
build-depends: nats >=1.1.2 && <1.2
@@ -65,7 +62,7 @@
if impl(ghc >=9.0)
build-depends:
base >=4.15
- , ghc-bignum >=1.0 && <1.1
+ , ghc-bignum >=1.0 && <1.4
if !flag(integer-gmp)
build-depends: invalid-cabal-flag-settings <0
@@ -116,16 +113,13 @@
build-depends:
base
, integer-logarithms
- , QuickCheck >=2.14.1 && <2.15
+ , QuickCheck >=2.14.1 && <2.16
, smallcheck >=1.2 && <1.3
- , tasty >=0.10 && <1.4
- , tasty-hunit >=0.9 && <0.11
- , tasty-quickcheck >=0.8 && <0.11
+ , tasty >=1.4 && <1.6
+ , tasty-hunit >=0.10 && <0.11
+ , tasty-quickcheck >=0.10 && <0.12
, tasty-smallcheck >=0.8 && <0.9
- if !impl(ghc >=7.10)
- build-depends: nats ==1.1.*
-
other-modules:
Math.NumberTheory.LogarithmsTests
Math.NumberTheory.TestUtils
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/integer-logarithms-1.0.3.1/src/Math/NumberTheory/Logarithms.hs
new/integer-logarithms-1.0.4/src/Math/NumberTheory/Logarithms.hs
--- old/integer-logarithms-1.0.3.1/src/Math/NumberTheory/Logarithms.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/integer-logarithms-1.0.4/src/Math/NumberTheory/Logarithms.hs
2001-09-09 03:46:40.000000000 +0200
@@ -11,9 +11,7 @@
--
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
-#if __GLASGOW_HASKELL__ >= 702
{-# LANGUAGE Trustworthy #-}
-#endif
module Math.NumberTheory.Logarithms
( -- * Integer logarithms with input checks
integerLogBase
@@ -330,9 +328,3 @@
naturalLog2# n = integerLog2# (toInteger n)
#endif
#endif
-
-#if __GLASGOW_HASKELL__ < 707
--- The times they are a-changing. The types of primops too :(
-isTrue# :: Bool -> Bool
-isTrue# = id
-#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/integer-logarithms-1.0.3.1/src/Math/NumberTheory/Powers/Integer.hs
new/integer-logarithms-1.0.4/src/Math/NumberTheory/Powers/Integer.hs
--- old/integer-logarithms-1.0.3.1/src/Math/NumberTheory/Powers/Integer.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/integer-logarithms-1.0.4/src/Math/NumberTheory/Powers/Integer.hs
2001-09-09 03:46:40.000000000 +0200
@@ -9,24 +9,13 @@
-- Potentially faster power function for 'Integer' base and 'Int'
-- or 'Word' exponent.
--
-{-# LANGUAGE CPP #-}
-#if __GLASGOW_HASKELL__ >= 702
-#if __GLASGOW_HASKELL__ >= 704
{-# LANGUAGE Safe #-}
-#else
-{-# LANGUAGE Trustworthy #-}
-#endif
-#endif
module Math.NumberTheory.Powers.Integer
{-# DEPRECATED "It is no faster than (^)" #-}
( integerPower
, integerWordPower
) where
-#if !MIN_VERSION_base(4,8,0)
-import Data.Word
-#endif
-
-- | Power of an 'Integer' by the left-to-right repeated squaring algorithm.
-- This needs two multiplications in each step while the right-to-left
-- algorithm needs only one multiplication for 0-bits, but here the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/integer-logarithms-1.0.3.1/src/Math/NumberTheory/Powers/Natural.hs
new/integer-logarithms-1.0.4/src/Math/NumberTheory/Powers/Natural.hs
--- old/integer-logarithms-1.0.3.1/src/Math/NumberTheory/Powers/Natural.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/integer-logarithms-1.0.4/src/Math/NumberTheory/Powers/Natural.hs
2001-09-09 03:46:40.000000000 +0200
@@ -9,25 +9,14 @@
-- Potentially faster power function for 'Natural' base and 'Int'
-- or 'Word' exponent.
--
-{-# LANGUAGE CPP #-}
-#if __GLASGOW_HASKELL__ >= 702
-#if __GLASGOW_HASKELL__ >= 704
{-# LANGUAGE Safe #-}
-#else
-{-# LANGUAGE Trustworthy #-}
-#endif
-#endif
module Math.NumberTheory.Powers.Natural
{-# DEPRECATED "It is no faster than (^)" #-}
( naturalPower
, naturalWordPower
) where
-#if !MIN_VERSION_base(4,8,0)
-import Data.Word
-#endif
-
-import Numeric.Natural
+import Numeric.Natural (Natural)
-- | Power of an 'Natural' by the left-to-right repeated squaring algorithm.
-- This needs two multiplications in each step while the right-to-left
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/integer-logarithms-1.0.3.1/test-suite/Math/NumberTheory/LogarithmsTests.hs
new/integer-logarithms-1.0.4/test-suite/Math/NumberTheory/LogarithmsTests.hs
---
old/integer-logarithms-1.0.3.1/test-suite/Math/NumberTheory/LogarithmsTests.hs
2001-09-09 03:46:40.000000000 +0200
+++
new/integer-logarithms-1.0.4/test-suite/Math/NumberTheory/LogarithmsTests.hs
2001-09-09 03:46:40.000000000 +0200
@@ -8,8 +8,6 @@
-- Tests for Math.NumberTheory.Logarithms
--
-{-# LANGUAGE CPP #-}
-
{-# OPTIONS_GHC -fno-warn-type-defaults #-}
module Math.NumberTheory.LogarithmsTests
@@ -17,11 +15,6 @@
) where
import Test.Tasty
-
-#if MIN_VERSION_base(4,8,0)
-#else
-import Data.Word
-#endif
import Numeric.Natural
import Math.NumberTheory.Logarithms