osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-simple-sendfile revision:9, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-simple-sendfile?expand=0&rev=15
This commit is contained in:
Peter Simons 2023-05-03 09:19:45 +00:00 committed by Git OBS Bridge
parent d14732e08f
commit aa65153768
5 changed files with 10 additions and 83 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 25 04:37:15 UTC 2023 - Peter Simons <psimons@suse.com>
- Update simple-sendfile to version 0.2.31.
Upstream does not provide a change log file.
-------------------------------------------------------------------
Mon Apr 17 14:13:48 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -20,13 +20,12 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.2.30
Version: 0.2.31
Release: 0
Summary: Cross platform library for the sendfile system call
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
@ -88,7 +87,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

View File

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

View File

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

View File

@ -1,77 +0,0 @@
Name: simple-sendfile
Version: 0.2.30
x-revision: 1
Author: Kazu Yamamoto <kazu@iij.ad.jp>
Maintainer: Kazu Yamamoto <kazu@iij.ad.jp>
License: BSD3
License-File: LICENSE
Synopsis: Cross platform library for the sendfile system call
Description: Cross platform library for the sendfile system call.
This library tries to call minimum system calls which
are the bottleneck of web servers.
Category: Network
Cabal-Version: >= 1.10
Build-Type: Simple
Extra-source-files: test/inputFile
Flag allow-bsd
Description: Allow use of BSD sendfile (disable on GNU/kFreeBSD)
Default: True
Library
Default-Language: Haskell2010
GHC-Options: -Wall
Exposed-Modules: Network.Sendfile
Other-Modules: Network.Sendfile.Types
Build-Depends: base >= 4.8 && < 5
, network
, bytestring
-- NetBSD and OpenBSD don't have sendfile
if os(freebsd) && flag(allow-bsd)
CPP-Options: -DOS_BSD
Other-Modules: Network.Sendfile.BSD
Network.Sendfile.IOVec
Build-Depends: unix
else
if os(darwin)
CPP-Options: -DOS_MacOS
Other-Modules: Network.Sendfile.BSD
Network.Sendfile.IOVec
Build-Depends: unix
else
if os(linux)
CPP-Options: -DOS_Linux
Exposed-Modules: System.Linux.Sendfile
Other-Modules: Network.Sendfile.Linux
Build-Depends: unix
else
Other-Modules: Network.Sendfile.Fallback
Build-Depends: conduit >= 1.0 && < 1.4
, conduit-extra >= 1.0 && < 1.4
, transformers >= 0.2.2 && < 0.7
, resourcet
Test-Suite spec
Type: exitcode-stdio-1.0
Default-Language: Haskell2010
Hs-Source-Dirs: test
Main-Is: Spec.hs
GHC-Options: -Wall
Other-Modules: SendfileSpec
Build-Depends: base
, HUnit
, bytestring
, conduit
, conduit-extra
, resourcet
, directory
, hspec >= 1.3
, network
, process
, simple-sendfile
, unix
Source-Repository head
Type: git
Location: git://github.com/kazu-yamamoto/simple-sendfile