Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libsearpc for openSUSE:Factory checked in at 2022-05-09 18:44:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libsearpc (Old) and /work/SRC/openSUSE:Factory/.libsearpc.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsearpc" Mon May 9 18:44:34 2022 rev:6 rq:975836 version:3.2.0.20220425 Changes: -------- --- /work/SRC/openSUSE:Factory/libsearpc/libsearpc.changes 2021-12-10 21:53:25.642920224 +0100 +++ /work/SRC/openSUSE:Factory/.libsearpc.new.1538/libsearpc.changes 2022-05-09 18:45:32.912309170 +0200 @@ -1,0 +2,7 @@ +Mon May 9 12:47:06 UTC 2022 - Paolo Stivanin <[email protected]> + +- Update to 3.2.0.20220425, no changelog +- Rebase 01-fix-includes.patch +- Drop libsearpc-fix-compilation-glib2_68.patch + +------------------------------------------------------------------- Old: ---- libsearpc-3.2.0.20211008.tar.gz libsearpc-fix-compilation-glib2_68.patch New: ---- libsearpc-3.2.0.20220425.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libsearpc.spec ++++++ --- /var/tmp/diff_new_pack.keNbuZ/_old 2022-05-09 18:45:33.532309897 +0200 +++ /var/tmp/diff_new_pack.keNbuZ/_new 2022-05-09 18:45:33.536309901 +0200 @@ -1,7 +1,7 @@ # # spec file for package libsearpc # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,8 @@ %define sover 1 - Name: libsearpc -Version: 3.2.0.20211008 +Version: 3.2.0.20220425 Release: 0 Summary: Simple C language RPC framework based on GObject system License: Apache-2.0 @@ -27,8 +26,6 @@ URL: https://github.com/haiwen/libsearpc/ Source0: %{name}-%{version}.tar.gz Patch0: 01-fix-includes.patch -#PATCH-FIX-UPSTREAM https://github.com/haiwen/libsearpc/pull/57 -Patch1: libsearpc-fix-compilation-glib2_68.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -80,11 +77,7 @@ The python-pysearpc package contains python files to make use of %{name}. %prep -%setup -q -n %{name}-%{version} -%patch0 -p1 -%if 0%{?suse_version} > 1500 -%patch1 -p1 -%endif +%autosetup -p1 %build ./autogen.sh ++++++ 01-fix-includes.patch ++++++ --- /var/tmp/diff_new_pack.keNbuZ/_old 2022-05-09 18:45:33.560309929 +0200 +++ /var/tmp/diff_new_pack.keNbuZ/_new 2022-05-09 18:45:33.564309934 +0200 @@ -1,7 +1,7 @@ -Index: libsearpc-3.1/demo/searpc-demo-packet.h +Index: libsearpc-3.2.0.20220425/demo/searpc-demo-packet.h =================================================================== ---- libsearpc-3.1.orig/demo/searpc-demo-packet.h -+++ libsearpc-3.1/demo/searpc-demo-packet.h +--- libsearpc-3.2.0.20220425.orig/demo/searpc-demo-packet.h ++++ libsearpc-3.2.0.20220425/demo/searpc-demo-packet.h @@ -5,6 +5,7 @@ #include <stdint.h> #include <stdio.h> ++++++ _service ++++++ --- /var/tmp/diff_new_pack.keNbuZ/_old 2022-05-09 18:45:33.592309967 +0200 +++ /var/tmp/diff_new_pack.keNbuZ/_new 2022-05-09 18:45:33.596309972 +0200 @@ -1,6 +1,6 @@ <services> <service name="tar_scm" mode="disabled"> - <param name="url">git://github.com/haiwen/libsearpc.git</param> + <param name="url">https://github.com/haiwen/libsearpc.git</param> <param name="scm">git</param> <param name="exclude">.git</param> <param name="revision">v3.2-latest</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.keNbuZ/_old 2022-05-09 18:45:33.620310000 +0200 +++ /var/tmp/diff_new_pack.keNbuZ/_new 2022-05-09 18:45:33.624310004 +0200 @@ -1,7 +1,7 @@ <servicedata> <service name="tar_scm"> - <param name="url">git://github.com/haiwen/libsearpc.git</param> - <param name="changesrevision">e72c1158c8feb344ef44d2b4a60638e7dbfd1a8e</param> + <param name="url">https://github.com/haiwen/libsearpc.git</param> + <param name="changesrevision">54145b03f4240222e336a9a2f402e93facefde65</param> </service> </servicedata> ++++++ libsearpc-3.2.0.20211008.tar.gz -> libsearpc-3.2.0.20220425.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsearpc-3.2.0.20211008/lib/searpc-client.h new/libsearpc-3.2.0.20220425/lib/searpc-client.h --- old/libsearpc-3.2.0.20211008/lib/searpc-client.h 2021-10-08 10:29:52.000000000 +0200 +++ new/libsearpc-3.2.0.20220425/lib/searpc-client.h 2022-04-25 05:58:24.000000000 +0200 @@ -1,16 +1,20 @@ #ifndef SEARPC_CLIENT_H #define SEARPC_CLIENT_H +#include <glib.h> +#include <glib-object.h> +#include <jansson.h> + +#ifdef __cplusplus +extern "C" { +#endif + #ifdef LIBSEARPC_EXPORTS #define LIBSEARPC_API __declspec(dllexport) #else #define LIBSEARPC_API #endif -#include <glib.h> -#include <glib-object.h> -#include <jansson.h> - #ifndef DFT_DOMAIN #define DFT_DOMAIN g_quark_from_string(G_LOG_DOMAIN) #endif @@ -137,5 +141,9 @@ #define TRANSPORT_ERROR "Transport Error" #define TRANSPORT_ERROR_CODE 500 +#ifdef __cplusplus +} +#endif + #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsearpc-3.2.0.20211008/lib/searpc-named-pipe-transport.h new/libsearpc-3.2.0.20220425/lib/searpc-named-pipe-transport.h --- old/libsearpc-3.2.0.20211008/lib/searpc-named-pipe-transport.h 2021-10-08 10:29:52.000000000 +0200 +++ new/libsearpc-3.2.0.20220425/lib/searpc-named-pipe-transport.h 2022-04-25 05:58:24.000000000 +0200 @@ -1,12 +1,6 @@ #ifndef SEARPC_NAMED_PIPE_TRANSPORT_H #define SEARPC_NAMED_PIPE_TRANSPORT_H -#ifdef LIBSEARPC_EXPORTS -#define LIBSEARPC_API __declspec(dllexport) -#else -#define LIBSEARPC_API -#endif - #include <pthread.h> #include <glib.h> #include <glib-object.h> @@ -16,6 +10,16 @@ #include <windows.h> #endif +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef LIBSEARPC_EXPORTS +#define LIBSEARPC_API __declspec(dllexport) +#else +#define LIBSEARPC_API +#endif + // Implementatin of a searpc transport based on named pipe. It uses unix domain // sockets on linux/osx, and named pipes on windows. // @@ -72,4 +76,8 @@ LIBSEARPC_API void searpc_free_client_with_pipe_transport (SearpcClient *client); +#ifdef __cplusplus +} +#endif + #endif // SEARPC_NAMED_PIPE_TRANSPORT_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libsearpc-3.2.0.20211008/lib/searpc-server.h new/libsearpc-3.2.0.20220425/lib/searpc-server.h --- old/libsearpc-3.2.0.20211008/lib/searpc-server.h 2021-10-08 10:29:52.000000000 +0200 +++ new/libsearpc-3.2.0.20220425/lib/searpc-server.h 2022-04-25 05:58:24.000000000 +0200 @@ -1,16 +1,20 @@ #ifndef SEARPC_SERVER_H #define SEARPC_SERVER_H +#include <glib.h> +#include <glib-object.h> +#include <jansson.h> + +#ifdef __cplusplus +extern "C" { +#endif + #ifdef LIBSEARPC_EXPORTS #define LIBSEARPC_API __declspec(dllexport) #else #define LIBSEARPC_API #endif -#include <glib.h> -#include <glib-object.h> -#include <jansson.h> - #ifndef DFT_DOMAIN #define DFT_DOMAIN g_quark_from_string(G_LOG_DOMAIN) #endif @@ -134,4 +138,8 @@ LIBSEARPC_API char* searpc_compute_signature (const gchar *ret_type, int pnum, ...); +#ifdef __cplusplus +} +#endif + #endif
