Hello community,

here is the log from the commit of package ghc-hlibgit2 for openSUSE:Factory 
checked in at 2017-03-24 02:18:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hlibgit2 (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-hlibgit2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-hlibgit2"

Fri Mar 24 02:18:09 2017 rev:2 rq:479408 version:0.18.0.16

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hlibgit2/ghc-hlibgit2.changes        
2017-03-08 00:53:56.848720644 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-hlibgit2.new/ghc-hlibgit2.changes   
2017-03-24 02:18:10.289634291 +0100
@@ -1,0 +2,5 @@
+Sun Feb 12 14:07:38 UTC 2017 - [email protected]
+
+- Update to version 0.18.0.16 with cabal2obs.
+
+-------------------------------------------------------------------

Old:
----
  hlibgit2-0.18.0.15.tar.gz

New:
----
  hlibgit2-0.18.0.16.tar.gz

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

Other differences:
------------------
++++++ ghc-hlibgit2.spec ++++++
--- /var/tmp/diff_new_pack.euVUoR/_old  2017-03-24 02:18:10.905547145 +0100
+++ /var/tmp/diff_new_pack.euVUoR/_new  2017-03-24 02:18:10.909546579 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-hlibgit2
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,15 +19,14 @@
 %global pkg_name hlibgit2
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.18.0.15
+Version:        0.18.0.16
 Release:        0
 Summary:        Low-level bindings to libgit2
 License:        MIT
-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
 BuildRequires:  ghc-Cabal-devel
-# Begin cabal-rpm deps:
 BuildRequires:  ghc-bindings-DSL-devel
 BuildRequires:  ghc-rpm-macros
 BuildRequires:  ghc-zlib-devel
@@ -37,7 +36,6 @@
 %if %{with tests}
 BuildRequires:  ghc-process-devel
 %endif
-# End cabal-rpm deps
 
 %description
 Bindings to libgit2 v0.18.0.
@@ -47,12 +45,10 @@
 Group:          Development/Libraries/Other
 Requires:       %{name} = %{version}-%{release}
 Requires:       ghc-compiler = %{ghc_version}
-# Begin cabal-rpm deps:
 Requires:       glibc-devel
 Requires:       libopenssl-devel
 Requires(post): ghc-compiler = %{ghc_version}
 Requires(postun): ghc-compiler = %{ghc_version}
-# End cabal-rpm deps
 
 %description devel
 This package provides the Haskell %{pkg_name} library development files.
@@ -60,20 +56,14 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %check
-%if %{with tests}
-%{cabal} test
-%endif
-
+%cabal_test
 
 %post devel
 %ghc_pkg_recache

++++++ hlibgit2-0.18.0.15.tar.gz -> hlibgit2-0.18.0.16.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlibgit2-0.18.0.15/Bindings/Libgit2/Windows.hsc 
new/hlibgit2-0.18.0.16/Bindings/Libgit2/Windows.hsc
--- old/hlibgit2-0.18.0.15/Bindings/Libgit2/Windows.hsc 2015-12-16 
00:14:50.000000000 +0100
+++ new/hlibgit2-0.18.0.16/Bindings/Libgit2/Windows.hsc 2017-02-07 
16:53:40.000000000 +0100
@@ -3,6 +3,7 @@
 module Bindings.Libgit2.Windows where
 
 #ifdef GIT_WIN32
+#strict_import
 #ccall gitwin_set_codepage , CUInt -> IO ()
 #ccall gitwin_get_codepage , IO (CUInt)
 #ccall gitwin_set_utf8 , IO ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hlibgit2-0.18.0.15/hlibgit2.cabal 
new/hlibgit2-0.18.0.16/hlibgit2.cabal
--- old/hlibgit2-0.18.0.15/hlibgit2.cabal       2015-12-16 00:14:50.000000000 
+0100
+++ new/hlibgit2-0.18.0.16/hlibgit2.cabal       2017-02-07 16:53:40.000000000 
+0100
@@ -1,5 +1,5 @@
 Name:                hlibgit2
-Version:             0.18.0.15
+Version:             0.18.0.16
 Synopsis:            Low-level bindings to libgit2
 Description:         Bindings to libgit2 v0.18.0.
 License-file:        LICENSE
@@ -229,6 +229,8 @@
       libgit2/src/win32/utf-conv.c
     include-dirs:
       libgit2/src/win32
+    extra-libraries:
+      ws2_32, regex, winhttp, crypt32, rpcrt4, ssl, crypto
   else
     cc-options: -D_GNU_SOURCE -DOPENSSL_SHA1 -Wno-deprecated-declarations
     c-sources:
@@ -237,5 +239,8 @@
       libgit2/src/unix/realpath.c
     include-dirs:
       libgit2/src/unix
+    if os(darwin)
+      include-dirs: /usr/local/opt/openssl/include
+      extra-lib-dirs: /usr/local/opt/openssl/lib
     extra-libraries:
       ssl, crypto, pthread


Reply via email to