Accepting request 953554 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/953554 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-unix-compat?expand=0&rev=22
This commit is contained in:
commit
df74f6b4a9
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 11 22:05:45 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update unix-compat to version 0.5.4.
|
||||
Upstream does not provide a change log file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 15 06:58:12 UTC 2021 - psimons@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-unix-compat
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,13 +18,12 @@
|
||||
|
||||
%global pkg_name unix-compat
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.5.3
|
||||
Version: 0.5.4
|
||||
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-rpm-macros
|
||||
BuildRequires: ghc-unix-devel
|
||||
@ -47,7 +46,6 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||
|
||||
%build
|
||||
%ghc_lib_build
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0893b597ea0db406429d0d563506af6755728eface0e1981f9392122db88e5c8
|
||||
size 13582
|
3
unix-compat-0.5.4.tar.gz
Normal file
3
unix-compat-0.5.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8224579d6e9acea7ecbd7af21f191758a11c77a2c5b2fc61f1079ac004a4a4b1
|
||||
size 13652
|
@ -1,74 +0,0 @@
|
||||
name: unix-compat
|
||||
version: 0.5.3
|
||||
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 <jacob@stanley.io>
|
||||
category: System
|
||||
build-type: Simple
|
||||
cabal-version: >= 1.10
|
||||
|
||||
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 && < 2.12
|
||||
|
||||
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
|
Loading…
Reference in New Issue
Block a user