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 2024-07-22 17:16:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-unix-compat (Old)
and /work/SRC/openSUSE:Factory/.ghc-unix-compat.new.17339 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-unix-compat"
Mon Jul 22 17:16:52 2024 rev:28 rq:1188665 version:0.7.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-unix-compat/ghc-unix-compat.changes
2023-12-14 22:03:17.876407923 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-unix-compat.new.17339/ghc-unix-compat.changes
2024-07-22 17:18:01.801341008 +0200
@@ -1,0 +2,9 @@
+Tue Jun 25 13:44:12 UTC 2024 - Peter Simons <[email protected]>
+
+- Update unix-compat to version 0.7.2.
+ Upstream has edited the change log file since the last release in
+ a non-trivial way, i.e. they did more than just add a new entry
+ at the top. You can review the file at:
+ http://hackage.haskell.org/package/unix-compat-0.7.2/src/CHANGELOG.md
+
+-------------------------------------------------------------------
Old:
----
unix-compat-0.7.1.tar.gz
New:
----
unix-compat-0.7.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-unix-compat.spec ++++++
--- /var/tmp/diff_new_pack.8QJ4iA/_old 2024-07-22 17:18:02.809381227 +0200
+++ /var/tmp/diff_new_pack.8QJ4iA/_new 2024-07-22 17:18:02.809381227 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-unix-compat
#
-# 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
@@ -20,7 +20,7 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.7.1
+Version: 0.7.2
Release: 0
Summary: Portable POSIX-compatibility layer
License: BSD-3-Clause
++++++ unix-compat-0.7.1.tar.gz -> unix-compat-0.7.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/unix-compat-0.7.1/CHANGELOG.md
new/unix-compat-0.7.2/CHANGELOG.md
--- old/unix-compat-0.7.1/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200
+++ new/unix-compat-0.7.2/CHANGELOG.md 2001-09-09 03:46:40.000000000 +0200
@@ -1,11 +1,17 @@
+## Version 0.7.2 (2024-06-25)
+
+- Remove flag `old-time` and drop support for `old-time`.
+- Remove support for GHC 7.
+- Tested with GHC 8.0 - 9.10.
+
## Version 0.7.1 (2023-12-06) Santa Clause edition
-- Add `System.PosixCompat.Process` module, exporting `getProcessID`
+- Add `System.PosixCompat.Process` module, exporting `getProcessID`.
## Version 0.7 (2023-03-15)
-- Remove `System.PosixCompat.User` module
+- Remove `System.PosixCompat.User` module.
## Version 0.6 (2022-05-22)
-- Better support for symbolic links
+- Better support for symbolic links.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/unix-compat-0.7.1/src/System/PosixCompat/Internal/Time.hs
new/unix-compat-0.7.2/src/System/PosixCompat/Internal/Time.hs
--- old/unix-compat-0.7.1/src/System/PosixCompat/Internal/Time.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/unix-compat-0.7.2/src/System/PosixCompat/Internal/Time.hs
2001-09-09 03:46:40.000000000 +0200
@@ -10,16 +10,6 @@
) where
import System.Posix.Types (EpochTime)
-
-#ifdef OLD_TIME
-
-import System.Time (ClockTime(TOD), getClockTime)
-
-clockTimeToEpochTime :: ClockTime -> EpochTime
-clockTimeToEpochTime (TOD s _) = fromInteger s
-
-#else
-
import Data.Time.Clock.POSIX (POSIXTime, getPOSIXTime)
type ClockTime = POSIXTime
@@ -29,5 +19,3 @@
clockTimeToEpochTime :: ClockTime -> EpochTime
clockTimeToEpochTime = fromInteger . floor
-
-#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/unix-compat-0.7.1/unix-compat.cabal
new/unix-compat-0.7.2/unix-compat.cabal
--- old/unix-compat-0.7.1/unix-compat.cabal 2001-09-09 03:46:40.000000000
+0200
+++ new/unix-compat-0.7.2/unix-compat.cabal 2001-09-09 03:46:40.000000000
+0200
@@ -1,5 +1,6 @@
+cabal-version: >= 1.10
name: unix-compat
-version: 0.7.1
+version: 0.7.2
synopsis: Portable POSIX-compatibility layer.
description: This package provides portable implementations of parts
of the unix package. This package re-exports the unix
@@ -13,7 +14,20 @@
maintainer: https://github.com/haskell-pkg-janitors
category: System
build-type: Simple
-cabal-version: >= 1.10
+
+tested-with:
+ GHC == 9.10.1
+ GHC == 9.8.2
+ GHC == 9.6.5
+ GHC == 9.4.8
+ GHC == 9.2.8
+ GHC == 9.0.2
+ GHC == 8.10.7
+ GHC == 8.8.4
+ GHC == 8.6.5
+ GHC == 8.4.4
+ GHC == 8.2.2
+ GHC == 8.0.2
extra-source-files:
CHANGELOG.md
@@ -22,15 +36,8 @@
type: git
location: https://github.com/haskell-pkg-janitors/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
@@ -42,27 +49,18 @@
System.PosixCompat.Types
System.PosixCompat.Unistd
+ build-depends: base >= 4.9 && < 5
+
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
+ build-depends: Win32 >= 2.5.0.0
+ build-depends: directory >= 1.3.1 && < 1.4
+ build-depends: filepath >= 1.0 && < 1.6
+ build-depends: time >= 1.0 && < 1.13
other-modules:
System.PosixCompat.Internal.Time
@@ -76,11 +74,14 @@
if os(solaris)
cc-options: -DSOLARIS
-Test-Suite unix-compat-testsuite
default-language: Haskell2010
+ ghc-options:
+ -Wall
+ -Wcompat
+
+Test-Suite unix-compat-testsuite
type: exitcode-stdio-1.0
hs-source-dirs: tests
- ghc-options: -Wall
main-is: main.hs
other-modules:
@@ -105,11 +106,12 @@
build-depends:
unix-compat
- , base == 4.*
+ , base
, monad-parallel
, hspec
, HUnit
- , directory
+ , directory >= 1.3.1.0
+ -- directory-1.3.1.0 adds createFileLink
, extra
, temporary
@@ -120,19 +122,8 @@
-- 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
+ build-depends: time
+ build-depends: directory
-- other-modules:
-- System.PosixCompat.Internal.Time
@@ -146,4 +137,7 @@
if os(solaris)
cc-options: -DSOLARIS
- build-depends: directory >= 1.3.1 && < 1.4
+ default-language: Haskell2010
+ ghc-options:
+ -Wall
+ -Wcompat