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 2021-11-11 21:36:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-integer-logarithms (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-integer-logarithms.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-integer-logarithms"

Thu Nov 11 21:36:36 2021 rev:16 rq:930337 version:1.0.3.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-integer-logarithms/ghc-integer-logarithms.changes
    2020-12-22 11:41:30.553622200 +0100
+++ 
/work/SRC/openSUSE:Factory/.ghc-integer-logarithms.new.1890/ghc-integer-logarithms.changes
  2021-11-11 21:36:52.500908475 +0100
@@ -1,0 +2,6 @@
+Mon Nov  1 08:41:03 UTC 2021 - [email protected]
+
+- Update integer-logarithms to version 1.0.3.1 revision 2.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------

New:
----
  integer-logarithms.cabal

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

Other differences:
------------------
++++++ ghc-integer-logarithms.spec ++++++
--- /var/tmp/diff_new_pack.4Lf9nL/_old  2021-11-11 21:36:53.296909056 +0100
+++ /var/tmp/diff_new_pack.4Lf9nL/_new  2021-11-11 21:36:53.300909059 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-integer-logarithms
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,7 @@
 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/2.cabal#/%{pkg_name}.cabal
 BuildRequires:  ghc-Cabal-devel
 BuildRequires:  ghc-array-devel
 BuildRequires:  ghc-rpm-macros
@@ -59,6 +60,7 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ integer-logarithms.cabal ++++++
name:               integer-logarithms
version:            1.0.3.1
x-revision:         2
cabal-version:      >=1.10
author:             Daniel Fischer
copyright:
  (c) 2011 Daniel Fischer, 2017-2020 Oleg Grenrus, Andrew Lelechenko

license:            MIT
license-file:       LICENSE
maintainer:         Oleg Grenrus <[email protected]>
build-type:         Simple
stability:          Provisional
homepage:           https://github.com/haskellari/integer-logarithms
bug-reports:        https://github.com/haskellari/integer-logarithms/issues
synopsis:           Integer logarithms.
description:
  "Math.NumberTheory.Logarithms" and "Math.NumberTheory.Powers.Integer"
  from the arithmoi package.
  .
  Also provides "GHC.Integer.Logarithms.Compat" and
  "Math.NumberTheory.Power.Natural" modules, as well as some
  additional functions in migrated modules.

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
     || ==8.8.4
     || ==8.10.4
     || ==9.0.1
     || ==9.2.1
  , GHCJS ==8.4

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

flag integer-gmp
  description: integer-gmp or integer-simple
  default:     True
  manual:      False

flag check-bounds
  description: Replace unsafe array operations with safe ones
  default:     False
  manual:      True

library
  default-language: Haskell2010
  hs-source-dirs:   src
  build-depends:
      array     >=0.3 && <0.6
    , base      >=4.3 && <4.17
    , ghc-prim  <0.9

  if !impl(ghc >=7.10)
    build-depends: nats >=1.1.2 && <1.2

  if impl(ghc >=9.0)
    build-depends:
        base        >=4.15
      , ghc-bignum  >=1.0  && <1.3

    if !flag(integer-gmp)
      build-depends: invalid-cabal-flag-settings <0

  else
    build-depends: base <4.15

    if flag(integer-gmp)
      build-depends: integer-gmp <1.1

    else
      build-depends: integer-simple

  exposed-modules:
    Math.NumberTheory.Logarithms
    Math.NumberTheory.Powers.Integer
    Math.NumberTheory.Powers.Natural

  -- compat module
  exposed-modules:  GHC.Integer.Logarithms.Compat
  other-extensions:
    BangPatterns
    CPP
    MagicHash

  ghc-options:      -O2 -Wall

  if flag(check-bounds)
    cpp-options: -DCheckBounds

source-repository head
  type:     git
  location: https://github.com/haskellari/integer-logarithms

test-suite spec
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test-suite
  ghc-options:      -Wall
  main-is:          Test.hs
  default-language: Haskell2010
  other-extensions:
    FlexibleContexts
    FlexibleInstances
    GeneralizedNewtypeDeriving
    MultiParamTypeClasses
    StandaloneDeriving

  build-depends:
      base
    , integer-logarithms
    , QuickCheck          >=2.14.1 && <2.15
    , smallcheck          >=1.2    && <1.3
    , tasty               >=0.10   && <1.5
    , tasty-hunit         >=0.9    && <0.11
    , tasty-quickcheck    >=0.8    && <0.11
    , tasty-smallcheck    >=0.8    && <0.9

  if !impl(ghc >=7.10)
    build-depends: nats ==1.1.*

  other-modules:
    Math.NumberTheory.LogarithmsTests
    Math.NumberTheory.TestUtils
    Orphans

Reply via email to