Hello community, here is the log from the commit of package cmpi-bindings for openSUSE:Factory checked in at 2015-01-29 13:18:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cmpi-bindings (Old) and /work/SRC/openSUSE:Factory/.cmpi-bindings.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cmpi-bindings" Changes: -------- --- /work/SRC/openSUSE:Factory/cmpi-bindings/cmpi-bindings.changes 2014-06-25 21:20:13.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.cmpi-bindings.new/cmpi-bindings.changes 2015-01-29 13:18:42.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Jan 26 14:01:04 UTC 2015 - dims...@opensuse.org + +- Add cmpi-bindings-swig-3.0.patch: Fix build with SWIG 3.0. + +------------------------------------------------------------------- New: ---- cmpi-bindings-swig-3.0.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cmpi-bindings.spec ++++++ --- /var/tmp/diff_new_pack.fvvBtz/_old 2015-01-29 13:18:43.000000000 +0100 +++ /var/tmp/diff_new_pack.fvvBtz/_new 2015-01-29 13:18:43.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package cmpi-bindings # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -94,12 +94,14 @@ %endif Source: %{name}-%{version}.tar.bz2 +Patch0: cmpi-bindings-swig-3.0.patch %description - %prep %setup -q +%patch0 -p1 %build ++++++ cmpi-bindings-swig-3.0.patch ++++++ Index: cmpi-bindings-1.0.0/swig/cmpi_callbacks.i =================================================================== --- cmpi-bindings-1.0.0.orig/swig/cmpi_callbacks.i +++ cmpi-bindings-1.0.0/swig/cmpi_callbacks.i @@ -1,7 +1,7 @@ -# cmpi_callbacks.i -# -# swig bindings for CMPI broker callbacks -# +/* cmpi_callbacks.i + * + * swig bindings for CMPI broker callbacks + */ %nodefault _CMPIBroker; %rename(CMPIBroker) CMPIBroker; @@ -443,10 +443,10 @@ typedef struct _CMPIBroker {} CMPIBroker return result; } -#----------------------------------------------------- -# -# TODO: CMPIMsgFileHandle stuff -# +/*----------------------------------------------------- + * + * TODO: CMPIMsgFileHandle stuff + */ /* * query: The select expression. * lang: The query language. Index: cmpi-bindings-1.0.0/swig/cmpi_types.i =================================================================== --- cmpi-bindings-1.0.0.orig/swig/cmpi_types.i +++ cmpi-bindings-1.0.0/swig/cmpi_types.i @@ -29,16 +29,16 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *****************************************************************************/ -# cmpift.i -# -# swig bindings for CMPI function tables -# - -# -# Prevent default con-/destructors for all types -# CMPI types are handled through function tables -# and the broker. -# +/* cmpift.i + * + * swig bindings for CMPI function tables + */# + +/* + * Prevent default con-/destructors for all types + * CMPI types are handled through function tables + * and the broker. + */ %nodefault _CMPIError; %rename(CMPIError) _CMPIError; @@ -100,11 +100,12 @@ typedef struct _CMPIContext {} CMPIConte %rename(CMPIDateTime) _CMPIDateTime; typedef struct _CMPIDateTime {} CMPIDateTime; -#----------------------------------------------------- -# -# CMPIException -# -#----------------------------------------------------- +/*----------------------------------------------------- + * + * CMPIException + * + *----------------------------------------------------- + */ %nodefault _CMPIException; %rename(CMPIException) CMPIException; @@ -153,11 +154,12 @@ typedef struct _CMPIException {} CMPIExc } } -#----------------------------------------------------- -# -# %exception -# -#----------------------------------------------------- +/*----------------------------------------------------- + * + * %exception + * + *----------------------------------------------------- + */ %exception { @@ -175,10 +177,11 @@ typedef struct _CMPIException {} CMPIExc } } -#----------------------------------------------------- -# -# CMPIError -# +/*----------------------------------------------------- + * + * CMPIError + * + */ /* * Document-class: CMPIError @@ -370,10 +373,11 @@ typedef struct _CMPIException {} CMPIExc } } -#----------------------------------------------------- -# -# CMPIResult -# +/*----------------------------------------------------- + * + * CMPIResult + * + */ /* * Document-class: CMPIResult @@ -407,10 +411,11 @@ typedef struct _CMPIException {} CMPIExc } } -#----------------------------------------------------- -# -# CMPIObjectPath -# +/*----------------------------------------------------- + * + * CMPIObjectPath + * + */ /* * Document-class: CMPIObjectPath @@ -867,10 +872,11 @@ FIXME: if clone() is exposed, release() } } -#----------------------------------------------------- -# -# CMPIInstance -# +/*----------------------------------------------------- + * + * CMPIInstance + * + */ /* * Document-class: CMPIInstance @@ -1180,9 +1186,11 @@ FIXME: if clone() is exposed, release() } } -#----------------------------------------------------- -# -# CMPIArgs +/*----------------------------------------------------- + * + * CMPIArgs + * + */ /* * CMPI Arguments @@ -1296,9 +1304,11 @@ FIXME: if clone() is exposed, release() } } -#----------------------------------------------------- -# -# CMPISelectExp +/*----------------------------------------------------- + * + * CMPISelectExp + * + */ /* * This structure encompasses queries @@ -1357,9 +1367,11 @@ FIXME: if clone() is exposed, release() } } -#----------------------------------------------------- -# -# CMPISelectCond +/*----------------------------------------------------- + * + * CMPISelectCond + * + */ /* * Select conditions @@ -1386,9 +1398,11 @@ FIXME: if clone() is exposed, release() #endif } -#----------------------------------------------------- -# -# CMPISubCond +/*----------------------------------------------------- + * + * CMPISubCond + * + */ /* * Sub Conditions @@ -1398,9 +1412,11 @@ FIXME: if clone() is exposed, release() %extend _CMPISubCond { } -#----------------------------------------------------- -# -# CMPIPredicate +/*----------------------------------------------------- + * + * CMPIPredicate + * + */ /* * Predicate @@ -1427,9 +1443,11 @@ FIXME: if clone() is exposed, release() #endif } -#----------------------------------------------------- -# -# CMPIEnumeration +/*----------------------------------------------------- + * + * CMPIEnumeration + * + */ /* * Enumeration provide a linked-list type access to multiple elements @@ -1488,9 +1506,11 @@ Python for compatibility */ } -#----------------------------------------------------- -# -# CMPIArray +/*----------------------------------------------------- + * + * CMPIArray + * + */ /* * Array of equally-typed elements @@ -1562,11 +1582,13 @@ Python for compatibility */ } } -#BOOKMARK +/* BOOKMARK */ -#----------------------------------------------------- -# -# CMPIString +/*----------------------------------------------------- + * + * CMPIString + * + */ /* * A string @@ -1587,9 +1609,11 @@ Python for compatibility */ } } -#----------------------------------------------------- -# -# CMPIContext +/*----------------------------------------------------- + * + * CMPIContext + * + */ /* * Context of the provider invocation @@ -1708,9 +1732,11 @@ Python for compatibility */ } -#----------------------------------------------------- -# -# CMPIDateTime +/*----------------------------------------------------- + * + * CMPIDateTime + * + */ /* * Date and Time @@ -1752,4 +1778,4 @@ Python for compatibility */ } } -# EOF +/* EOF */ Index: cmpi-bindings-1.0.0/swig/cmpi.i =================================================================== --- cmpi-bindings-1.0.0.orig/swig/cmpi.i +++ cmpi-bindings-1.0.0/swig/cmpi.i @@ -1005,11 +1005,11 @@ fail: %apply SWIGTYPE *DISOWN { CMPIInstance *instance_disown }; %apply SWIGTYPE *DISOWN { CMPIObjectPath *path_disown }; -# Definitions +/* Definitions */ %include "cmpi_defs.i" -# Data types +/* Data types */ %include "cmpi_types.i" -# Broker callbacks +/* Broker callbacks */ %include "cmpi_callbacks.i" Index: cmpi-bindings-1.0.0/swig/cmpi_defs.i =================================================================== --- cmpi-bindings-1.0.0.orig/swig/cmpi_defs.i +++ cmpi-bindings-1.0.0/swig/cmpi_defs.i @@ -1,7 +1,7 @@ -# cmpi_defs.i -# -# swig bindings for CMPI constant definitions -# +/* cmpi_defs.i + * + * swig bindings for CMPI constant definitions + */ %nodefault CMPIData; #%ignore _CMPIData::type; @@ -23,9 +23,9 @@ #----------------------------------------------------- #if defined(SWIGRUBY) -# -# Conversion from list of Ruby string array to null terminated char** array. -# + +/* Conversion from list of Ruby string array to null terminated char** array. */ + %typemap(in) char ** { if ($input == Qnil) { @@ -77,9 +77,9 @@ #endif #if defined(SWIGPYTHON) -# -# Conversion from list of python strings to null terminated char** array. -# + +/* Conversion from list of python strings to null terminated char** array. */ + %typemap(in) char ** { @@ -127,10 +127,10 @@ } #endif /* defined(SWIGPYTHON) */ -#----------------------------------------------------- -# -# CMPIData -# +/*----------------------------------------------------- + * + * CMPIData + */ %extend _CMPIData { /* @@ -197,10 +197,10 @@ } -#----------------------------------------------------- -# -# CMPIStatus -# +/*----------------------------------------------------- + * + * CMPIStatus + */ %extend _CMPIStatus { _CMPIStatus() -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org