Mailinglist Archive: opensuse-commit (1903 mails)

< Previous Next >
commit ghc-integer-logarithms for openSUSE:Factory
Hello community,

here is the log from the commit of package ghc-integer-logarithms for
openSUSE:Factory checked in at 2019-04-28 20:13:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-integer-logarithms (Old)
and /work/SRC/openSUSE:Factory/.ghc-integer-logarithms.new.5536 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-integer-logarithms"

Sun Apr 28 20:13:07 2019 rev:8 rq:698553 version:1.0.3

Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-integer-logarithms/ghc-integer-logarithms.changes
2018-10-25 08:17:25.816042189 +0200
+++
/work/SRC/openSUSE:Factory/.ghc-integer-logarithms.new.5536/ghc-integer-logarithms.changes
2019-04-28 20:13:10.378428935 +0200
@@ -1,0 +2,9 @@
+Wed Apr 17 02:01:32 UTC 2019 - psimons@xxxxxxxx
+
+- Update integer-logarithms to version 1.0.3.
+ 1.0.3
+ -----
+
+ - Mark all modules `Trustworthy`. (deprecated modules are `Safe` for
GHC-7.4+).
+
+-------------------------------------------------------------------

Old:
----
integer-logarithms-1.0.2.2.tar.gz
integer-logarithms.cabal

New:
----
integer-logarithms-1.0.3.tar.gz

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

Other differences:
------------------
++++++ ghc-integer-logarithms.spec ++++++
--- /var/tmp/diff_new_pack.PoYaPE/_old 2019-04-28 20:13:11.026428533 +0200
+++ /var/tmp/diff_new_pack.PoYaPE/_new 2019-04-28 20:13:11.030428530 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-integer-logarithms
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,14 +19,13 @@
%global pkg_name integer-logarithms
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.0.2.2
+Version: 1.0.3
Release: 0
Summary: Integer logarithms
License: MIT
Group: Development/Libraries/Haskell
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-array-devel
BuildRequires: ghc-rpm-macros
@@ -61,7 +60,6 @@

%prep
%setup -q -n %{pkg_name}-%{version}
-cp -p %{SOURCE1} %{pkg_name}.cabal

%build
%ghc_lib_build

++++++ integer-logarithms-1.0.2.2.tar.gz -> integer-logarithms-1.0.3.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/integer-logarithms-1.0.2.2/changelog.md
new/integer-logarithms-1.0.3/changelog.md
--- old/integer-logarithms-1.0.2.2/changelog.md 2018-09-10 06:44:59.000000000
+0200
+++ new/integer-logarithms-1.0.3/changelog.md 2001-09-09 03:46:40.000000000
+0200
@@ -1,3 +1,8 @@
+1.0.3
+-----
+
+- Mark all modules `Trustworthy`. (deprecated modules are `Safe` for GHC-7.4+).
+
1.0.2.2
-------

diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/integer-logarithms-1.0.2.2/integer-logarithms.cabal
new/integer-logarithms-1.0.3/integer-logarithms.cabal
--- old/integer-logarithms-1.0.2.2/integer-logarithms.cabal 2018-09-10
06:44:59.000000000 +0200
+++ new/integer-logarithms-1.0.3/integer-logarithms.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
name: integer-logarithms
-version: 1.0.2.2
+version: 1.0.3
cabal-version: >= 1.10
author: Daniel Fischer
copyright: (c) 2011 Daniel Fischer
@@ -31,8 +31,9 @@
GHC==7.10.3,
GHC==8.0.2,
GHC==8.2.2,
- GHC==8.4.3,
- GHC==8.6.1
+ GHC==8.4.4,
+ GHC==8.6.4,
+ GHC==8.8.1

extra-source-files : readme.md changelog.md

@@ -53,10 +54,9 @@
base >= 4.3 && < 4.13,
array >= 0.3 && < 0.6,
ghc-prim < 0.6
- if impl(ghc >= 7.10)
- cpp-options: -DBase48
- else
- build-depends: nats >= 1.1 && <1.2
+
+ if !impl(ghc >= 7.10)
+ build-depends: nats >= 1.1.2 && <1.2

if flag(integer-gmp)
build-depends:
@@ -98,11 +98,11 @@
build-depends:
base,
integer-logarithms,
- tasty >= 0.10 && < 1.2,
+ tasty >= 0.10 && < 1.3,
tasty-smallcheck >= 0.8 && < 0.9,
tasty-quickcheck >= 0.8 && < 0.11,
tasty-hunit >= 0.9 && < 0.11,
- QuickCheck >= 2.10 && < 2.12,
+ QuickCheck >= 2.10 && < 2.14,
smallcheck >= 1.1.3 && < 1.2
if !impl(ghc >= 7.10)
build-depends: nats >= 1.1 && <1.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/integer-logarithms-1.0.2.2/src/GHC/Integer/Logarithms/Compat.hs
new/integer-logarithms-1.0.3/src/GHC/Integer/Logarithms/Compat.hs
--- old/integer-logarithms-1.0.2.2/src/GHC/Integer/Logarithms/Compat.hs
2018-09-10 06:44:59.000000000 +0200
+++ new/integer-logarithms-1.0.3/src/GHC/Integer/Logarithms/Compat.hs
2001-09-09 03:46:40.000000000 +0200
@@ -8,6 +8,9 @@
--
-- Low level stuff for integer logarithms.
{-# LANGUAGE CPP, MagicHash, UnboxedTuples #-}
+#if __GLASGOW_HASKELL__ >= 702
+{-# LANGUAGE Trustworthy #-}
+#endif
module GHC.Integer.Logarithms.Compat
( -- * Functions
integerLogBase#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/integer-logarithms-1.0.2.2/src/Math/NumberTheory/Logarithms.hs
new/integer-logarithms-1.0.3/src/Math/NumberTheory/Logarithms.hs
--- old/integer-logarithms-1.0.2.2/src/Math/NumberTheory/Logarithms.hs
2018-09-10 06:44:59.000000000 +0200
+++ new/integer-logarithms-1.0.3/src/Math/NumberTheory/Logarithms.hs
2001-09-09 03:46:40.000000000 +0200
@@ -11,6 +11,9 @@
--
{-# LANGUAGE CPP #-}
{-# LANGUAGE MagicHash #-}
+#if __GLASGOW_HASKELL__ >= 702
+{-# LANGUAGE Trustworthy #-}
+#endif
module Math.NumberTheory.Logarithms
( -- * Integer logarithms with input checks
integerLogBase
@@ -42,7 +45,7 @@
import Numeric.Natural

import GHC.Integer.Logarithms.Compat
-#if Base48 && defined(MIN_VERSION_integer_gmp)
+#if MIN_VERSION_base(4,8,0) && defined(MIN_VERSION_integer_gmp)
import GHC.Integer.GMP.Internals (Integer (..))
import GHC.Natural
#endif
@@ -313,7 +316,7 @@
fromNatural = fromIntegral

naturalLog2# :: Natural -> Int#
-#if Base48 && defined(MIN_VERSION_integer_gmp)
+#if MIN_VERSION_base(4,8,0) && defined(MIN_VERSION_integer_gmp)
naturalLog2# (NatS# b) = wordLog2# b
naturalLog2# (NatJ# n) = integerLog2# (Jp# n)
#else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/integer-logarithms-1.0.2.2/src/Math/NumberTheory/Powers/Integer.hs
new/integer-logarithms-1.0.3/src/Math/NumberTheory/Powers/Integer.hs
--- old/integer-logarithms-1.0.2.2/src/Math/NumberTheory/Powers/Integer.hs
2018-09-10 06:44:59.000000000 +0200
+++ new/integer-logarithms-1.0.3/src/Math/NumberTheory/Powers/Integer.hs
2001-09-09 03:46:40.000000000 +0200
@@ -10,6 +10,13 @@
-- 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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/integer-logarithms-1.0.2.2/src/Math/NumberTheory/Powers/Natural.hs
new/integer-logarithms-1.0.3/src/Math/NumberTheory/Powers/Natural.hs
--- old/integer-logarithms-1.0.2.2/src/Math/NumberTheory/Powers/Natural.hs
2018-09-10 06:44:59.000000000 +0200
+++ new/integer-logarithms-1.0.3/src/Math/NumberTheory/Powers/Natural.hs
2001-09-09 03:46:40.000000000 +0200
@@ -10,6 +10,13 @@
-- 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


< Previous Next >
This Thread
  • No further messages