Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-primitive for openSUSE:Factory 
checked in at 2024-03-27 20:42:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-primitive (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-primitive.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-primitive"

Wed Mar 27 20:42:57 2024 rev:31 rq:1161310 version:0.9.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-primitive/ghc-primitive.changes      
2024-03-20 21:16:23.646536932 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-primitive.new.1905/ghc-primitive.changes    
2024-03-27 20:43:36.347416915 +0100
@@ -1,0 +2,6 @@
+Sat Mar 16 15:32:42 UTC 2024 - Peter Simons <[email protected]>
+
+- Update primitive to version 0.9.0.0 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------

New:
----
  primitive.cabal

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

Other differences:
------------------
++++++ ghc-primitive.spec ++++++
--- /var/tmp/diff_new_pack.25ciBq/_old  2024-03-27 20:43:37.951476057 +0100
+++ /var/tmp/diff_new_pack.25ciBq/_new  2024-03-27 20:43:37.951476057 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-primitive
 #
-# 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
@@ -26,6 +26,7 @@
 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
@@ -85,6 +86,7 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ primitive.cabal ++++++
Cabal-Version:  2.0
Name:           primitive
Version:        0.9.0.0
x-revision: 1
License:        BSD3
License-File:   LICENSE

Author:         Roman Leshchinskiy <[email protected]>
Maintainer:     [email protected]
Copyright:      (c) Roman Leshchinskiy 2009-2012
Homepage:       https://github.com/haskell/primitive
Bug-Reports:    https://github.com/haskell/primitive/issues
Category:       Data
Synopsis:       Primitive memory-related operations
Build-Type:     Simple
Description:    This package provides various primitive memory-related 
operations.

Extra-Source-Files: changelog.md
                    test/*.hs
                    test/LICENSE

Tested-With:
  GHC == 8.0.2
  GHC == 8.2.2
  GHC == 8.4.4
  GHC == 8.6.5
  GHC == 8.8.4
  GHC == 8.10.7
  GHC == 9.0.2
  GHC == 9.2.8
  GHC == 9.4.8
  GHC == 9.6.4
  GHC == 9.8.2

Library
  Default-Language: Haskell2010
  Default-Extensions:
        TypeOperators
  Other-Extensions:
        BangPatterns, CPP, DeriveDataTypeable,
        MagicHash, TypeFamilies, UnboxedTuples, UnliftedFFITypes

  Exposed-Modules:
        Control.Monad.Primitive
        Data.Primitive
        Data.Primitive.MachDeps
        Data.Primitive.Types
        Data.Primitive.Array
        Data.Primitive.ByteArray
        Data.Primitive.PrimArray
        Data.Primitive.SmallArray
        Data.Primitive.Ptr
        Data.Primitive.MutVar
        Data.Primitive.MVar
        Data.Primitive.PrimVar

  Other-Modules:
        Data.Primitive.Internal.Operations
        Data.Primitive.Internal.Read

  Build-Depends: base >= 4.9 && < 4.21
               , deepseq >= 1.1 && < 1.6
               , transformers >= 0.5 && < 0.7
               , template-haskell >= 2.11

  if impl(ghc >= 9.2)
    cpp-options: -DHAVE_KEEPALIVE

  if impl(ghc < 9.4)
    build-depends: data-array-byte >= 0.1 && < 0.1.1

  Ghc-Options: -O2

  Include-Dirs: cbits
  Install-Includes: primitive-memops.h
  includes: primitive-memops.h
  c-sources: cbits/primitive-memops.c
  if !os(solaris)
      cc-options: -ftree-vectorize
  if arch(i386) || arch(x86_64)
      cc-options: -msse2

test-suite test-qc
  Default-Language: Haskell2010
  hs-source-dirs: test
                  test/src
  main-is: Main.hs
  Other-Modules: PrimLaws
  type: exitcode-stdio-1.0
  build-depends: base
               , base-orphans
               , ghc-prim
               , primitive
               , quickcheck-classes-base >= 0.6 && <0.7
               , QuickCheck >= 2.13 && < 2.15
               , tasty >= 1.2 && < 1.6
               , tasty-quickcheck
               , tagged
               , transformers >= 0.5
               , transformers-compat

  cpp-options: -DHAVE_UNARY_LAWS
  ghc-options: -O2

benchmark bench
  Default-Language: Haskell2010
  hs-source-dirs: bench
  main-is: main.hs
  type: exitcode-stdio-1.0
  ghc-options: -O2
  other-modules:
    Array.Traverse.Closure
    Array.Traverse.Unsafe
    ByteArray.Compare
    PrimArray.Compare
    PrimArray.Traverse
  build-depends:
      base
    , primitive
    , deepseq
    , tasty-bench
    , transformers >= 0.5

source-repository head
  type:     git
  location: https://github.com/haskell/primitive

Reply via email to