Hello community,

here is the log from the commit of package ghc-simple-sendfile for 
openSUSE:Factory checked in at 2016-10-18 10:41:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-simple-sendfile (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-simple-sendfile.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-simple-sendfile"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-simple-sendfile/ghc-simple-sendfile.changes  
2016-07-27 16:09:39.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-simple-sendfile.new/ghc-simple-sendfile.changes 
    2016-10-18 10:41:06.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Sep 15 06:35:03 UTC 2016 - psim...@suse.com
+
+- Update to version 0.2.25 revision 1 with cabal2obs.
+
+-------------------------------------------------------------------

New:
----
  simple-sendfile.cabal

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

Other differences:
------------------
++++++ ghc-simple-sendfile.spec ++++++
--- /var/tmp/diff_new_pack.IOVDEs/_old  2016-10-18 10:41:07.000000000 +0200
+++ /var/tmp/diff_new_pack.IOVDEs/_new  2016-10-18 10:41:07.000000000 +0200
@@ -23,11 +23,11 @@
 Release:        0
 Summary:        Cross platform library for the sendfile system call
 License:        BSD-3-Clause
-Group:          System/Libraries
+Group:          Development/Languages/Other
 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
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-bytestring-devel
 BuildRequires:  ghc-network-devel
 BuildRequires:  ghc-rpm-macros
@@ -42,7 +42,6 @@
 BuildRequires:  ghc-process-devel
 BuildRequires:  ghc-resourcet-devel
 %endif
-# End cabal-rpm deps
 
 %description
 Cross platform library for the sendfile system call. This library tries to call
@@ -62,21 +61,16 @@
 
 %prep
 %setup -q -n %{pkg_name}-%{version}
-
+cp -p %{SOURCE1} %{pkg_name}.cabal
 
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++++++ simple-sendfile.cabal ++++++
Name:                   simple-sendfile
Version:                0.2.25
x-revision: 1
Author:                 Kazu Yamamoto <k...@iij.ad.jp>
Maintainer:             Kazu Yamamoto <k...@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 && < 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 >= 2.5.1
  else
    if os(darwin)
      CPP-Options:      -DOS_MacOS
      Other-Modules:    Network.Sendfile.BSD
                        Network.Sendfile.IOVec
      Build-Depends:    unix >= 2.5.1
    else
      if os(linux)
        CPP-Options:    -DOS_Linux
        Exposed-Modules: System.Linux.Sendfile
        Other-Modules:  Network.Sendfile.Linux
        Build-Depends:  unix >= 2.5.1
      else
        Other-Modules:  Network.Sendfile.Fallback
        Build-Depends:  conduit         >= 1.0 && < 1.3
                      , conduit-extra   >= 1.0 && < 1.2
                      , transformers    >= 0.2.2 && < 0.6
                      , 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