From ae387007b821458d9f1764b454205368dde674ec0ca052c65b40dc1db9dba961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Sat, 28 Dec 2019 14:42:18 +0000 Subject: [PATCH 1/4] osc copypac from project:devel:languages:haskell:ghc-8.8.x package:ghc-unix-compat revision:2, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-unix-compat?expand=0&rev=44 --- ghc-unix-compat.changes | 77 ++--------------------------------------- 1 file changed, 2 insertions(+), 75 deletions(-) diff --git a/ghc-unix-compat.changes b/ghc-unix-compat.changes index ff49c15..50f9668 100644 --- a/ghc-unix-compat.changes +++ b/ghc-unix-compat.changes @@ -1,78 +1,5 @@ ------------------------------------------------------------------- -Fri Nov 8 16:15:06 UTC 2019 - Peter Simons +Wed Aug 28 17:31:06 UTC 2019 - psimons@suse.com -- Drop obsolete group attributes. +- Add unix-compat at version 0.5.2. -------------------------------------------------------------------- -Sat Aug 10 02:01:15 UTC 2019 - psimons@suse.com - -- Update unix-compat to version 0.5.2. - Upstream does not provide a change log file. - -------------------------------------------------------------------- -Tue Jun 11 14:29:20 UTC 2019 - Peter Simons - -- Update Cabal file for more accurate build dependencies. - -------------------------------------------------------------------- -Sat Oct 20 11:32:11 UTC 2018 - Peter Simons - -- Use https URL to refer to bugs.opensuse.org. - -------------------------------------------------------------------- -Thu Aug 30 15:29:14 UTC 2018 - psimons@suse.com - -- Update unix-compat to version 0.5.1. - Upstream does not provide a change log file. - -------------------------------------------------------------------- -Tue Jul 31 14:22:56 UTC 2018 - psimons@suse.com - -- Revise Cabal build instructions to support 'unix' version 2.8.x. - -------------------------------------------------------------------- -Wed Jul 18 14:26:46 UTC 2018 - psimons@suse.com - -- Cosmetic: replace tabs with blanks, strip trailing white space, - and update copyright headers with spec-cleaner. - -------------------------------------------------------------------- -Mon May 14 17:02:11 UTC 2018 - psimons@suse.com - -- Update unix-compat to version 0.5.0.1. - Upstream does not provide a changelog. - -------------------------------------------------------------------- -Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com - -- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. - -------------------------------------------------------------------- -Mon Jul 31 03:01:28 UTC 2017 - psimons@suse.com - -- Update to version 0.4.3.1 revision 2. - -------------------------------------------------------------------- -Mon Jan 16 09:44:51 UTC 2017 - psimons@suse.com - -- Update to version 0.4.3.1 revision 1 with cabal2obs. - -------------------------------------------------------------------- -Fri Dec 16 17:59:39 UTC 2016 - psimons@suse.com - -- Update to version 0.4.3.1 with cabal2obs. - -------------------------------------------------------------------- -Thu Sep 15 06:38:56 UTC 2016 - psimons@suse.com - -- Update to version 0.4.2.0 revision 0 with cabal2obs. - -------------------------------------------------------------------- -Sun Jul 10 17:16:42 UTC 2016 - psimons@suse.com - -- Update to version 0.4.1.4 revision 2 with cabal2obs. - -------------------------------------------------------------------- -Thu Apr 23 20:45:13 UTC 2015 - mimi.vx@gmail.com - -- initial commit From 44220d07ff960ba1498075ea82af26926b3d9f53308aeb75f81301e22514a7f9 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sun, 29 Dec 2019 02:03:58 +0000 Subject: [PATCH 2/4] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-unix-compat revision:10, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-unix-compat?expand=0&rev=45 --- ghc-unix-compat.changes | 77 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 75 insertions(+), 2 deletions(-) diff --git a/ghc-unix-compat.changes b/ghc-unix-compat.changes index 50f9668..ff49c15 100644 --- a/ghc-unix-compat.changes +++ b/ghc-unix-compat.changes @@ -1,5 +1,78 @@ ------------------------------------------------------------------- -Wed Aug 28 17:31:06 UTC 2019 - psimons@suse.com +Fri Nov 8 16:15:06 UTC 2019 - Peter Simons -- Add unix-compat at version 0.5.2. +- Drop obsolete group attributes. +------------------------------------------------------------------- +Sat Aug 10 02:01:15 UTC 2019 - psimons@suse.com + +- Update unix-compat to version 0.5.2. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Tue Jun 11 14:29:20 UTC 2019 - Peter Simons + +- Update Cabal file for more accurate build dependencies. + +------------------------------------------------------------------- +Sat Oct 20 11:32:11 UTC 2018 - Peter Simons + +- Use https URL to refer to bugs.opensuse.org. + +------------------------------------------------------------------- +Thu Aug 30 15:29:14 UTC 2018 - psimons@suse.com + +- Update unix-compat to version 0.5.1. + Upstream does not provide a change log file. + +------------------------------------------------------------------- +Tue Jul 31 14:22:56 UTC 2018 - psimons@suse.com + +- Revise Cabal build instructions to support 'unix' version 2.8.x. + +------------------------------------------------------------------- +Wed Jul 18 14:26:46 UTC 2018 - psimons@suse.com + +- Cosmetic: replace tabs with blanks, strip trailing white space, + and update copyright headers with spec-cleaner. + +------------------------------------------------------------------- +Mon May 14 17:02:11 UTC 2018 - psimons@suse.com + +- Update unix-compat to version 0.5.0.1. + Upstream does not provide a changelog. + +------------------------------------------------------------------- +Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com + +- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf. + +------------------------------------------------------------------- +Mon Jul 31 03:01:28 UTC 2017 - psimons@suse.com + +- Update to version 0.4.3.1 revision 2. + +------------------------------------------------------------------- +Mon Jan 16 09:44:51 UTC 2017 - psimons@suse.com + +- Update to version 0.4.3.1 revision 1 with cabal2obs. + +------------------------------------------------------------------- +Fri Dec 16 17:59:39 UTC 2016 - psimons@suse.com + +- Update to version 0.4.3.1 with cabal2obs. + +------------------------------------------------------------------- +Thu Sep 15 06:38:56 UTC 2016 - psimons@suse.com + +- Update to version 0.4.2.0 revision 0 with cabal2obs. + +------------------------------------------------------------------- +Sun Jul 10 17:16:42 UTC 2016 - psimons@suse.com + +- Update to version 0.4.1.4 revision 2 with cabal2obs. + +------------------------------------------------------------------- +Thu Apr 23 20:45:13 UTC 2015 - mimi.vx@gmail.com + +- initial commit From f8c7ee8c3d0e836a0dd6b9545992e1c8eb18c83ffb74151546d1147b7188b7a0 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 10 Jan 2020 02:01:32 +0000 Subject: [PATCH 3/4] osc copypac from project:devel:languages:haskell:ghc-8.8.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=46 --- ghc-unix-compat.spec | 2 ++ unix-compat.cabal | 73 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 unix-compat.cabal diff --git a/ghc-unix-compat.spec b/ghc-unix-compat.spec index 80d14b6..a7607af 100644 --- a/ghc-unix-compat.spec +++ b/ghc-unix-compat.spec @@ -24,6 +24,7 @@ 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-rpm-macros BuildRequires: ghc-unix-devel @@ -45,6 +46,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build diff --git a/unix-compat.cabal b/unix-compat.cabal new file mode 100644 index 0000000..06eec20 --- /dev/null +++ b/unix-compat.cabal @@ -0,0 +1,73 @@ +name: unix-compat +version: 0.5.2 +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.6 + +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 + 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 + + 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.10 + build-depends: directory >= 1.2 && < 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 From b4a3dbb589c204e44899af5e7bd00e58f0674bb68afff316cf3414473b7ffee1 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 7 May 2020 08:45:51 +0000 Subject: [PATCH 4/4] osc copypac from project:devel:languages:haskell:ghc-8.10.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=47 --- ghc-unix-compat.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-unix-compat.changes b/ghc-unix-compat.changes index ff49c15..012c006 100644 --- a/ghc-unix-compat.changes +++ b/ghc-unix-compat.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 7 08:08:26 UTC 2020 - Peter Simons + +- Update Cabal file to get more accurate dependency information. + ------------------------------------------------------------------- Fri Nov 8 16:15:06 UTC 2019 - Peter Simons