Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ghc-simple-sendfile for 
openSUSE:Factory checked in at 2023-04-20 15:14:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-simple-sendfile (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-simple-sendfile.new.2023 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-simple-sendfile"

Thu Apr 20 15:14:18 2023 rev:5 rq:1080323 version:0.2.30

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-simple-sendfile/ghc-simple-sendfile.changes  
2023-04-04 21:23:21.486195117 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-simple-sendfile.new.2023/ghc-simple-sendfile.changes
        2023-04-20 15:15:18.846203876 +0200
@@ -1,0 +2,6 @@
+Mon Apr 17 14:13:48 UTC 2023 - Peter Simons <[email protected]>
+
+- Update simple-sendfile to version 0.2.30 revision 1.
+  Upstream has revised the Cabal build instructions on Hackage.
+
+-------------------------------------------------------------------

New:
----
  simple-sendfile.cabal

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-simple-sendfile.spec ++++++
--- /var/tmp/diff_new_pack.73cCV6/_old  2023-04-20 15:15:19.306206997 +0200
+++ /var/tmp/diff_new_pack.73cCV6/_new  2023-04-20 15:15:19.310207024 +0200
@@ -26,6 +26,7 @@
 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
@@ -87,6 +88,7 @@
 
 %prep
 %autosetup -n %{pkg_name}-%{version}
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build

++++++ simple-sendfile.cabal ++++++
Name:                   simple-sendfile
Version:                0.2.30
x-revision: 1
Author:                 Kazu Yamamoto <[email protected]>
Maintainer:             Kazu Yamamoto <[email protected]>
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

Reply via email to