From 35d5e5a99c6439bc3dd03cfeedd39270e50ade28c6ed758e58e13e7f458c4006 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 10 Nov 2023 14:07:22 +0000 Subject: [PATCH 1/4] osc copypac from project:devel:languages:haskell:ghc-9.6.x package:ghc-unix-compat revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-unix-compat?expand=0&rev=76 --- ghc-unix-compat.changes | 8 +++ ghc-unix-compat.spec | 4 +- unix-compat-0.6.tar.gz | 3 - unix-compat-0.7.tar.gz | 3 + unix-compat.cabal | 149 ---------------------------------------- 5 files changed, 12 insertions(+), 155 deletions(-) delete mode 100644 unix-compat-0.6.tar.gz create mode 100644 unix-compat-0.7.tar.gz delete mode 100644 unix-compat.cabal diff --git a/ghc-unix-compat.changes b/ghc-unix-compat.changes index 378d01a..da3d8f9 100644 --- a/ghc-unix-compat.changes +++ b/ghc-unix-compat.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Wed Mar 15 19:44:09 UTC 2023 - Peter Simons + +- Update unix-compat to version 0.7. + ## Version 0.7 (2023-03-15) + + - Remote `System.PosixCompat.User` module + ------------------------------------------------------------------- Thu Mar 30 17:08:48 UTC 2023 - Peter Simons diff --git a/ghc-unix-compat.spec b/ghc-unix-compat.spec index 00020ab..c7372db 100644 --- a/ghc-unix-compat.spec +++ b/ghc-unix-compat.spec @@ -20,13 +20,12 @@ %global pkgver %{pkg_name}-%{version} %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.6 +Version: 0.7 Release: 0 Summary: Portable POSIX-compatibility layer 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 @@ -82,7 +81,6 @@ This package provides the Haskell %{pkg_name} profiling library. %prep %autosetup -n %{pkg_name}-%{version} -cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/unix-compat-0.6.tar.gz b/unix-compat-0.6.tar.gz deleted file mode 100644 index c6a49c3..0000000 --- a/unix-compat-0.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b4cd823a6543ad3aca8e740ecf5f44aabde60f1452b5a55655db5c8b7a44d5f8 -size 15777 diff --git a/unix-compat-0.7.tar.gz b/unix-compat-0.7.tar.gz new file mode 100644 index 0000000..dffb804 --- /dev/null +++ b/unix-compat-0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2b75ca79e0f7368f915f01ca6a5201f7df58ada46b9e4869bca1b92d853f2e3e +size 15210 diff --git a/unix-compat.cabal b/unix-compat.cabal deleted file mode 100644 index a319f56..0000000 --- a/unix-compat.cabal +++ /dev/null @@ -1,149 +0,0 @@ -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 -category: System -build-type: Simple -cabal-version: >= 1.10 - -extra-source-files: - CHANGELOG.md - -source-repository head - type: git - location: git@github.com: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 From e4f6b8fcbe77c5f90b695a3eba2397ae24661666ccba3184da7efa5f3fa7ae45 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 16 Nov 2023 16:59:37 +0000 Subject: [PATCH 2/4] osc copypac from project:devel:languages:haskell:ghc-9.6.x package:ghc-unix-compat revision:4, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-unix-compat?expand=0&rev=77 --- ghc-unix-compat.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-unix-compat.changes b/ghc-unix-compat.changes index da3d8f9..4af9026 100644 --- a/ghc-unix-compat.changes +++ b/ghc-unix-compat.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 16 13:26:55 UTC 2023 - Peter Simons + +- Strip CRLF line endings from the bundled Cabal file. + ------------------------------------------------------------------- Wed Mar 15 19:44:09 UTC 2023 - Peter Simons From f0312ea03c2033e319abf4a9667f11424925cafd484ebda24aabe5c9931c759e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 16 Nov 2023 17:38:36 +0000 Subject: [PATCH 3/4] osc copypac from project:devel:languages:haskell:ghc-9.6.x package:ghc-unix-compat revision:5, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-unix-compat?expand=0&rev=78 --- ghc-unix-compat.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-unix-compat.changes b/ghc-unix-compat.changes index 4af9026..bc1420d 100644 --- a/ghc-unix-compat.changes +++ b/ghc-unix-compat.changes @@ -4,7 +4,7 @@ Thu Nov 16 13:26:55 UTC 2023 - Peter Simons - Strip CRLF line endings from the bundled Cabal file. ------------------------------------------------------------------- -Wed Mar 15 19:44:09 UTC 2023 - Peter Simons +Wed Mar 30 19:44:09 UTC 2023 - Peter Simons - Update unix-compat to version 0.7. ## Version 0.7 (2023-03-15) From 300942eebf8565588183fbbd78be8389afbba9c02420dd85fe080fdc8656578c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 22 Nov 2023 09:17:23 +0000 Subject: [PATCH 4/4] osc copypac from project:devel:languages:haskell:ghc-9.6.x package:ghc-unix-compat revision:6, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-unix-compat?expand=0&rev=79 --- ghc-unix-compat.changes | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ghc-unix-compat.changes b/ghc-unix-compat.changes index bc1420d..36dd7b1 100644 --- a/ghc-unix-compat.changes +++ b/ghc-unix-compat.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Thu Nov 16 13:26:55 UTC 2023 - Peter Simons - -- Strip CRLF line endings from the bundled Cabal file. - ------------------------------------------------------------------- Wed Mar 30 19:44:09 UTC 2023 - Peter Simons