osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-unix-compat revision:8, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-unix-compat?expand=0&rev=39
This commit is contained in:
Peter Simons 2019-08-11 01:01:31 +00:00 committed by Git OBS Bridge
parent e439a8be53
commit b02af7b98b
5 changed files with 10 additions and 79 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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 <psimons@suse.com>

View File

@ -18,14 +18,13 @@
%global pkg_name unix-compat
Name: ghc-%{pkg_name}
Version: 0.5.1
Version: 0.5.2
Release: 0
Summary: Portable POSIX-compatibility layer
License: BSD-3-Clause
Group: Development/Libraries/Haskell
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
@ -48,7 +47,6 @@ 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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a39d0c79dd906763770b80ba5b6c5cb710e954f894350e9917de0d73f3a19c52
size 13218

3
unix-compat-0.5.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:659a4e442f71505d45b0d0fb28a347aa1ac5e1f39feaea5d58e674e5d2ce0ba9
size 13281

View File

@ -1,73 +0,0 @@
name: unix-compat
version: 0.5.1
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.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.9
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