Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-unix-compat for openSUSE:Factory 
checked in at 2022-10-13 15:44:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-unix-compat (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-unix-compat.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-unix-compat"

Thu Oct 13 15:44:17 2022 rev:24 rq:1009717 version:0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-unix-compat/ghc-unix-compat.changes  
2022-08-01 21:31:20.789819570 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-unix-compat.new.2275/ghc-unix-compat.changes    
    2022-10-13 15:44:53.803060205 +0200
@@ -1,0 +2,6 @@
+Thu Sep 29 23:12:17 UTC 2022 - Peter Simons <[email protected]>
+
+- Update unix-compat to version 0.6 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------

New:
----
  unix-compat.cabal

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

Other differences:
------------------
++++++ ghc-unix-compat.spec ++++++
--- /var/tmp/diff_new_pack.WwB9P3/_old  2022-10-13 15:44:54.511061587 +0200
+++ /var/tmp/diff_new_pack.WwB9P3/_new  2022-10-13 15:44:54.515061594 +0200
@@ -25,6 +25,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-rpm-macros
 BuildRequires:  ghc-unix-devel
@@ -55,6 +56,7 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ unix-compat.cabal ++++++
name:           unix-compat
version:        0.6
x-revision: 1
synopsis:       Portable POSIX-compatibility layer.
description:    This package provides portable implementations of parts
                of the unix package. This package re-exports the unix
                package when available. When it isn't available,
                portable implementations are used.

homepage:       http://github.com/jacobstanley/unix-compat
license:        BSD3
license-file:   LICENSE
author:         Bj??rn Bringert, Duncan Coutts, Jacob Stanley, Bryan O'Sullivan
maintainer:     Jacob Stanley <[email protected]>
category:       System
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
  CHANGELOG.md

source-repository head
  type:     git
  location: [email protected]:jacobstanley/unix-compat.git

flag old-time
  description: build against old-time package
  default: False

Library
  default-language: Haskell2010
  hs-source-dirs: src
  ghc-options: -Wall
  build-depends: base == 4.*

  exposed-modules:
    System.PosixCompat
    System.PosixCompat.Extensions
    System.PosixCompat.Files
    System.PosixCompat.Temp
    System.PosixCompat.Time
    System.PosixCompat.Types
    System.PosixCompat.Unistd
    System.PosixCompat.User

  if os(windows)
    c-sources:
      cbits/HsUname.c
      cbits/mktemp.c

    extra-libraries: msvcrt
    build-depends: Win32 >= 2.5.0.0
    build-depends: filepath >= 1.0 && < 1.5

    if flag(old-time)
      build-depends: old-time >= 1.0.0.0 && < 1.2.0.0
      cpp-options: -DOLD_TIME

      if impl(ghc < 7)
        build-depends: directory == 1.0.*
        cpp-options: -DDIRECTORY_1_0
      else
        build-depends: directory == 1.1.*
    else
      build-depends: time >= 1.0 && < 1.13
      build-depends: directory >= 1.3.1 && < 1.4

    other-modules:
      System.PosixCompat.Internal.Time

  else
    build-depends: unix >= 2.6 && < 2.8
    include-dirs: include
    includes: HsUnixCompat.h
    install-includes: HsUnixCompat.h
    c-sources: cbits/HsUnixCompat.c
    if os(solaris)
      cc-options: -DSOLARIS

Test-Suite unix-compat-testsuite
  default-language: Haskell2010
  type: exitcode-stdio-1.0
  hs-source-dirs: tests
  ghc-options: -Wall
  main-is: main.hs

  other-modules:
     MkstempSpec
     LinksSpec

  -- ghc-options:
  --   -Wall
  --   -fwarn-tabs
  --   -funbox-strict-fields
  --   -threaded
  --   -fno-warn-unused-do-bind
  --   -fno-warn-type-defaults

  -- extensions:
  --   OverloadedStrings
  --   ExtendedDefaultRules

  -- if flag(lifted)
  --    cpp-options: -DLIFTED

  build-depends:
      unix-compat
    , base == 4.*
    , monad-parallel
    , hspec
    , HUnit
    , directory
    , extra
    , temporary

  if os(windows)
    -- c-sources:
    --   cbits/HsUname.c
    --   cbits/mktemp.c

    -- extra-libraries: msvcrt
    -- build-depends: Win32 >= 2.5.0.0

    if flag(old-time)
      build-depends: old-time >= 1.0.0.0 && < 1.2.0.0
      cpp-options: -DOLD_TIME

      if impl(ghc < 7)
        build-depends: directory == 1.0.*
        cpp-options: -DDIRECTORY_1_0
      else
        build-depends: directory == 1.1.*
    else
      build-depends: time >= 1.0 && < 1.13
      build-depends: directory >= 1.3.1 && < 1.4

    -- other-modules:
    --   System.PosixCompat.Internal.Time

  else
    -- build-depends: unix >= 2.4 && < 2.9
    -- include-dirs: include
    -- includes: HsUnixCompat.h
    -- install-includes: HsUnixCompat.h
    -- c-sources: cbits/HsUnixCompat.c
    if os(solaris)
      cc-options: -DSOLARIS

    build-depends: directory >= 1.3.1 && < 1.4

Reply via email to