commit protobuf for openSUSE:Factory

2020-07-02 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2020-07-02 23:54:39

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new.3060 (New)


Package is "protobuf"

Thu Jul  2 23:54:39 2020 rev:45 rq:817959 version:3.12.3

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2020-06-22 
17:41:53.729074982 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new.3060/protobuf.changes  
2020-07-02 23:54:44.716556014 +0200
@@ -1,0 +2,120 @@
+Tue Jun 30 08:48:59 UTC 2020 - marec 
+
+- Update to version 3.12.3; notable changes since 3.11.4:
+
+  Protocol Compiler
+  * [experimental] Singular, non-message typed fields in proto3 now support
+presence tracking. This is enabled by adding the "optional" field label and
+passing the --experimental_allow_proto3_optional flag to protoc.
+* For usage info, see docs/field_presence.md.
+* During this experimental phase, code generators should update to support
+  proto3 presence, see docs/implementing_proto3_presence.md for 
instructions.
+  * Allow duplicate symbol names when multiple descriptor sets are passed on
+the command-line, to match the behavior when multiple .proto files are 
passed.
+  * Deterministic `protoc --descriptor_set_out` (#7175)
+
+  Objective-C
+  * Tweak the union used for Extensions to support old generated code. #7573
+  * Fix for the :protobuf_objc target in the Bazel BUILD file. (#7538)
+  * [experimental] ObjC Proto3 optional support (#7421)
+  * Block subclassing of generated classes (#7124)
+  * Use references to Obj C classes instead of names in descriptors. (#7026)
+  * Revisit how the WKTs are bundled with ObjC. (#7173)
+
+  C++
+  * Simplified the template export macros to fix the build for mingw32. (#7539)
+  * [experimental] Added proto3 presence support.
+  * New descriptor APIs to support proto3 presence.
+  * Enable Arenas by default on all .proto files.
+  * Documented that users are not allowed to subclass Message or MessageLite.
+  * Mark generated classes as final; inheriting from protos is strongly 
discouraged.
+  * Add stack overflow protection for text format with unknown fields.
+  * Add accessors for map key and value FieldDescriptors.
+  * Add FieldMaskUtil::FromFieldNumbers().
+  * MessageDifferencer: use ParsePartial() on Any fields so the diff does not
+fail when there are missing required fields.
+  * ReflectionOps::Merge(): lookup messages in the right factory, if it can.
+  * Added Descriptor::WellKnownTypes enum and Descriptor::well_known_type()
+accessor as an easier way of determining if a message is a Well-Known Type.
+  * Optimized RepeatedField::Add() when it is used in a loop.
+  * Made proto move/swap more efficient.
+  * De-virtualize the GetArena() method in MessageLite.
+  * Improves performance of json_stream_parser.cc by factor 1000 (#7230)
+  * bug: #7076 undefine Windows OUT and OPTIONAL macros (#7087)
+  * Fixed a bug in FieldDescriptor::DebugString() that would erroneously print
+an "optional" label for a field in a oneof.
+  * Fix bug in parsing bool extensions that assumed they are always 1 byte.
+  * Fix off-by-one error in FieldOptions::ByteSize() when extensions are 
present.
+  * Clarified the comments to show an example of the difference between
+Descriptor::extension and DescriptorPool::FindAllExtensions.
+  * Add a compiler option 'code_size' to force optimize_for=code_size on all
+protos where this is possible.
+
+  Ruby
+  * Re-add binary gems for Ruby 2.3 and 2.4. These are EOL upstream, however
+many people still use them and dropping support will require more
+coordination.
+  * [experimental] Implemented proto3 presence for Ruby. (#7406)
+  * Stop building binary gems for ruby <2.5 (#7453)
+  * Fix for wrappers with a zero value (#7195)
+  * Fix for JSON serialization of 0/empty-valued wrapper types (#7198)
+  * Call "Class#new" over rb_class_new_instance in decoding (#7352)
+  * Build extensions for Ruby 2.7 (#7027)
+  * assigning 'nil' to submessage should clear the field. (#7397)
+
+  Java
+  * [experimental] Added proto3 presence support.
+  * Mark java enum _VALUE constants as @Deprecated if the enum field is 
deprecated
+  * reduce  size for enums with allow_alias set to true.
+  * Sort map fields alphabetically by the field's key when printing textproto.
+  * Fixed a bug in map sorting that appeared in -rc1 and -rc2 (#7508).
+  * TextFormat.merge() handles Any as top level type.
+  * Throw a descriptive IllegalArgumentException when calling
+getValueDescriptor() on enum special value UNRECOGNIZED instead of
+ArrayIndexOutOfBoundsException.
+  * Fixed an issue with JsonFormat.printer() where setting 
printingEnumsAsInts()
+would override the 

commit protobuf for openSUSE:Factory

2020-06-22 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2020-06-22 17:41:47

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new.2956 (New)


Package is "protobuf"

Mon Jun 22 17:41:47 2020 rev:44 rq:814654 version:3.11.4

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2020-03-11 
18:44:42.315353652 +0100
+++ /work/SRC/openSUSE:Factory/.protobuf.new.2956/protobuf.changes  
2020-06-22 17:41:53.729074982 +0200
@@ -1,0 +2,5 @@
+Wed Jun 10 15:32:29 UTC 2020 - Rolf Krahl 
+
+- Python: Add requirement on python-six
+
+---



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.ZbOzPZ/_old  2020-06-22 17:41:57.961088565 +0200
+++ /var/tmp/diff_new_pack.ZbOzPZ/_new  2020-06-22 17:41:57.965088577 +0200
@@ -129,6 +129,7 @@
 Group:  Development/Libraries/Python
 Provides:   python-%{name} = %{version}
 Obsoletes:  python-%{name} < %{version}
+Requires:   python2-six >= 1.9
 
 %description -n python2-%{name}
 This package contains the Python bindings for Google Protocol Buffers.
@@ -136,6 +137,7 @@
 %package -n python3-%{name}
 Summary:Python3 Bindings for Google Protocol Buffers
 Group:  Development/Libraries/Python
+Requires:   python3-six >= 1.9
 
 %description -n python3-%{name}
 This package contains the Python bindings for Google Protocol Buffers.




commit protobuf for openSUSE:Factory

2020-03-11 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2020-03-11 18:42:22

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new.3160 (New)


Package is "protobuf"

Wed Mar 11 18:42:22 2020 rev:43 rq:782138 version:3.11.4

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2020-02-22 
19:00:34.513655195 +0100
+++ /work/SRC/openSUSE:Factory/.protobuf.new.3160/protobuf.changes  
2020-03-11 18:44:42.315353652 +0100
@@ -1,0 +2,69 @@
+Fri Mar  6 10:05:22 UTC 2020 - Nico Kruber 
+
+- Update to version 3.11.4; notable changes since 3.9.2:
+  * C++: Make serialization method naming consistent
+  * C++: Moved ShutdownProtobufLibrary() to message_lite.h. For
+ backward compatibility a declaration is still available
+ in stubs/common.h, but users should prefer message_lite.h
+  * C++: Removed non-namespace macro EXPECT_OK()
+  * C++: Removed mathlimits.h from stubs in favor of using
+ std::numeric_limits from C++11
+  * C++: Support direct pickling of nested messages
+  * C++: Disable extension code gen for C#
+  * C++: Switch the proto parser to the faster MOMI parser
+  * C++: Unused imports of files defining descriptor extensions
+ will now be reported
+  * C++: Add proto2::util::RemoveSubranges to remove multiple
+ subranges in linear time
+  * C++: Support 32 bit values for ProtoStreamObjectWriter to Struct
+  * C++: Removed the internal-only header coded_stream_inl.h and
+ the internal-only methods defined there
+  * C++: Enforced no SWIG wrapping of descriptor_database.h
+ (other headers already had this restriction)
+  * C++: Implementation of the equivalent of the MOMI parser for
+ serialization. This removes one of the two serialization
+ routines, by making the fast array serialization routine
+ completely general. SerializeToCodedStream can now be
+ implemented in terms of the much much faster array
+ serialization. The array serialization regresses slightly,
+ but when array serialization is not possible this wins big
+  * C++: Add move constructor for Reflection's SetString
+  * Java: Remove the usage of MethodHandle, so that Android users
+  prior to API version 26 can use protobuf-java
+  * Java: Publish ProGuard config for javalite
+  * Java: Include unknown fields when merging proto3 messages in
+  Java lite builders
+  * Java: Have oneof enums implement a separate interface (other
+  than EnumLite) for clarity
+  * Java: Opensource Android Memory Accessors
+  * Java: Change ProtobufArrayList to use Object[] instead of
+  ArrayList for 5-10% faster parsing
+  * Java: Make a copy of JsonFormat.TypeRegistry at the protobuf
+  top level package. This will eventually replace
+  JsonFormat.TypeRegistry
+  * Java: Add Automatic-Module-Name entries to the Manifest
+  * Python: Add float_precision option in json format printer
+  * Python: Optionally print bytes fields as messages in unknown
+fields, if possible
+  * Python: Experimental code gen (fast import protobuf module)
+which only work with cpp generated code linked in
+  * Python: Add descriptor methods in descriptor_pool are deprecated
+  * Python: Added delitem for Python extension dict
+  * JavaScript: Remove guard for Symbol iterator for jspb.Map
+  * JavaScript: Remove deprecated boolean option to getResultBase64String()
+  * JavaScript: Change the parameter types of binaryReaderFn in
+ExtensionFieldBinaryInfo to (number, ?, ?)
+  * JavaScript: Create dates.ts and time_of_days.ts to mirror Java
+versions. This is a near-identical conversion of
+c.g.type.util.{Dates,TimeOfDays} respectively
+  * JavaScript: Migrate moneys to TypeScript
+  * PHP: Increase php7.4 compatibility
+  * PHP: Implement lazy loading of php class for proto messages
+  * Ruby: Support hashes for struct initializers
+  * C#: Experimental proto2 support is now officially available
+  * C#: Change _Extensions property to normal body rather than expression
+  * Objective C: Remove OSReadLittle* due to alignment requirements
+  * Other: Override CocoaPods module to lowercase
+  * further bugfixes and optimisations
+
+---

Old:

  protobuf-3.9.2.tar.gz

New:

  protobuf-3.11.4.tar.gz



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.O7nx69/_old  2020-03-11 18:44:43.571354422 +0100
+++ /var/tmp/diff_new_pack.O7nx69/_new  2020-03-11 18:44:43.571354422 +0100
@@ -17,7 +17,7 @@
 
 
 

commit protobuf for openSUSE:Factory

2020-02-22 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2020-02-22 19:00:22

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new.26092 (New)


Package is "protobuf"

Sat Feb 22 19:00:22 2020 rev:42 rq:775096 version:3.9.2

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2020-01-01 
14:57:16.605899082 +0100
+++ /work/SRC/openSUSE:Factory/.protobuf.new.26092/protobuf.changes 
2020-02-22 19:00:34.513655195 +0100
@@ -10 +10 @@
-- Updated to version 3.9.2
+- Updated to version 3.9.2 (bsc#1162343)



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.X8FWP3/_old  2020-02-22 19:00:37.333660657 +0100
+++ /var/tmp/diff_new_pack.X8FWP3/_new  2020-02-22 19:00:37.337660664 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package protobuf
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed




commit protobuf for openSUSE:Factory

2020-01-01 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2020-01-01 14:56:53

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new.6675 (New)


Package is "protobuf"

Wed Jan  1 14:56:53 2020 rev:41 rq:758459 version:3.9.2

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2019-10-02 
11:55:31.231551103 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new.6675/protobuf.changes  
2020-01-01 14:57:16.605899082 +0100
@@ -1,0 +2,14 @@
+Fri Dec 20 09:04:24 UTC 2019 - Martin Pluskal 
+
+- Use tarball provided by upstream
+- Small package cleanup
+
+---
+Thu Dec 19 12:47:53 UTC 2019 - Madhu Mohan Nelemane 
+
+- Updated to version 3.9.2
+   (Objective-C)
+  * Remove OSReadLittle* due to alignment requirements. (#6678)
+  * Don't use unions and instead use memcpy for the type swaps. (#6672)
+
+---

Old:

  protobuf-3.9.1.tar.gz

New:

  protobuf-3.9.2.tar.gz



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.HA73tA/_old  2020-01-01 14:57:19.249900462 +0100
+++ /var/tmp/diff_new_pack.HA73tA/_new  2020-01-01 14:57:19.253900465 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package protobuf
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define sover 20
 %define tarname protobuf
-%define src_install_dir /usr/src/%{name}
+%define src_install_dir %{_prefix}/src/%{name}
 %define extra_java_flags -source 7 -target 7
 # requires gmock, which is not yet in the distribution
 %bcond_with check
@@ -27,7 +27,7 @@
 %bcond_without python2
 %bcond_without python3
 Name:   protobuf
-Version:3.9.1
+Version:3.9.2
 Release:0
 Summary:Protocol Buffers - Google's data interchange format
 License:BSD-3-Clause
@@ -208,13 +208,13 @@
 tar -xzf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
 %fdupes %{buildroot}%{src_install_dir}
 # Fix env-script-interpreter rpmlint error
-find %{buildroot}%{src_install_dir} -type f -name "*.js" -exec sed -i 
's|#!.*/usr/bin/env node|#!/usr/bin/node|' "{}" +
-find %{buildroot}%{src_install_dir} -type f -name "*.py" -exec sed -i 
's|#!.*/usr/bin/env python2.7|#!/usr/bin/python2.7|' "{}" +
-find %{buildroot}%{src_install_dir} -type f -name "*.py" -exec sed -i 
's|#!.*/usr/bin/env python|#!/usr/bin/python|' "{}" +
-find %{buildroot}%{src_install_dir} -type f -name "*.rb" -exec sed -i 
's|#!.*/usr/bin/env ruby|#!/usr/bin/ruby|' "{}" +
-find %{buildroot}%{src_install_dir} -type f -name "*.sh" -exec sed -i 
's|#!.*/usr/bin/env bash|#!/bin/bash|' "{}" +
+find %{buildroot}%{src_install_dir} -type f -name "*.js" -exec sed -i 
's|#!.*%{_bindir}/env node|#!%{_bindir}/node|' "{}" +
+find %{buildroot}%{src_install_dir} -type f -name "*.py" -exec sed -i 
's|#!.*%{_bindir}/env python2.7|#!%{_bindir}/python2.7|' "{}" +
+find %{buildroot}%{src_install_dir} -type f -name "*.py" -exec sed -i 
's|#!.*%{_bindir}/env python|#!%{_bindir}/python|' "{}" +
+find %{buildroot}%{src_install_dir} -type f -name "*.rb" -exec sed -i 
's|#!.*%{_bindir}/env ruby|#!%{_bindir}/ruby|' "{}" +
+find %{buildroot}%{src_install_dir} -type f -name "*.sh" -exec sed -i 
's|#!.*%{_bindir}/env bash|#!/bin/bash|' "{}" +
 # And stop requiring ridiculously old Python version
-find %{buildroot}%{src_install_dir} -type f -name "*.py" -exec sed -i 
's|#!/usr/bin/python2.4|#!/usr/bin/python2.7|' "{}" +
+find %{buildroot}%{src_install_dir} -type f -name "*.py" -exec sed -i 
's|#!%{_bindir}/python2.4|#!%{_bindir}/python2.7|' "{}" +
 # Fix spurious-executable-perm rpmlint error
 chmod -x %{buildroot}%{src_install_dir}/src/google/protobuf/arenastring.h
 chmod -x 
%{buildroot}%{src_install_dir}/src/google/protobuf/compiler/js/js_generator.h

++ protobuf-3.9.1.tar.gz -> protobuf-3.9.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/protobuf-3.9.1/Protobuf.podspec 
new/protobuf-3.9.2/Protobuf.podspec
--- old/protobuf-3.9.1/Protobuf.podspec 2019-08-05 19:07:28.0 +0200
+++ new/protobuf-3.9.2/Protobuf.podspec 2019-09-20 23:50:52.0 +0200
@@ -5,7 +5,7 @@
 # dependent projects use the :git notation to refer to the library.
 Pod::Spec.new do |s|
   s.name = 'Protobuf'
-  s.version  = '3.9.1'
+  s.version  = '3.9.2'
   s.summary 

commit protobuf for openSUSE:Factory

2019-10-02 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2019-10-02 11:55:31

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new.2352 (New)


Package is "protobuf"

Wed Oct  2 11:55:31 2019 rev:40 rq:733606 version:3.9.1

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2019-08-27 
10:14:29.131967144 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new.2352/protobuf.changes  
2019-10-02 11:55:31.231551103 +0200
@@ -1,0 +2,5 @@
+Fri Sep 27 07:00:11 UTC 2019 - Fridrich Strba 
+
+- Package also the protobuf-bom pom file
+
+---



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.v2FHID/_old  2019-10-02 11:55:31.951549235 +0200
+++ /var/tmp/diff_new_pack.v2FHID/_new  2019-10-02 11:55:31.951549235 +0200
@@ -188,13 +188,14 @@
 
 %if %{with java}
 pushd java
-install -D -m 0644 %{name}-java-%{version}.jar 
%{buildroot}%{_javadir}/%{name}-java-%{version}.jar
-ln -s %{name}-java-%{version}.jar %{buildroot}%{_javadir}/%{name}-java.jar
-ln -s %{name}-java-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
-install -D -m 0644 pom.xml 
%{buildroot}%{_mavenpomdir}/%{name}-parent-%{version}.pom
-%add_maven_depmap %{name}-parent-%{version}.pom
-install -D -m 0644 core/pom.xml 
%{buildroot}%{_mavenpomdir}/%{name}-java-%{version}.pom
-%add_maven_depmap %{name}-java-%{version}.pom %{name}-java-%{version}.jar
+install -D -m 0644 %{name}-java-%{version}.jar 
%{buildroot}%{_javadir}/%{name}-java.jar
+ln -s %{name}-java.jar %{buildroot}%{_javadir}/%{name}.jar
+install -D -m 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}-parent.pom
+%add_maven_depmap %{name}-parent.pom
+install -D -m 0644 bom/pom.xml %{buildroot}%{_mavenpomdir}/%{name}-bom.pom
+%add_maven_depmap %{name}-bom.pom
+install -D -m 0644 core/pom.xml %{buildroot}%{_mavenpomdir}/%{name}-java.pom
+%add_maven_depmap %{name}-java.pom %{name}-java.jar
 popd
 %endif
 
@@ -252,14 +253,8 @@
 %{src_install_dir}
 
 %if %{with java}
-%files -n %{name}-java
-%{_javadir}/protobuf*
-%{_mavenpomdir}/protobuf*
-%if %{defined _maven_repository}
-%{_mavendepmapfragdir}/%{name}
-%else
-%{_datadir}/maven-metadata/%{name}.xml*
-%endif
+%files -n %{name}-java -f java/.mfiles
+%{_javadir}/%{name}.jar
 %endif
 
 %if %{with python2}




commit protobuf for openSUSE:Factory

2019-08-27 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2019-08-27 10:14:27

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new.7948 (New)


Package is "protobuf"

Tue Aug 27 10:14:27 2019 rev:39 rq:725308 version:3.9.1

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2019-06-13 
22:38:22.592283256 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new.7948/protobuf.changes  
2019-08-27 10:14:29.131967144 +0200
@@ -1,0 +2,13 @@
+Thu Aug 22 07:12:14 UTC 2019 - Jan Engelhardt 
+
+- Update to new upstream release 3.9.1
+  * Optimized the implementation of RepeatedPtrFieldBase.
+  * Added delimited parse and serialize util.
+  * Added FieldDescriptor::PrintableNameForExtension() and
+DescriptorPool::FindExtensionByPrintableName(). The latter
+will replace Reflection::FindKnownExtensionByName().
+  * Created a new Add method in repeated field that allows adding
+a range of elements all at once.
+  * Drop building wheel for Python 3.4.
+
+---

Old:

  protobuf-3.8.0.tar.gz

New:

  protobuf-3.9.1.tar.gz



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.Q0uViY/_old  2019-08-27 10:14:29.863967095 +0200
+++ /var/tmp/diff_new_pack.Q0uViY/_new  2019-08-27 10:14:29.863967095 +0200
@@ -17,7 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define sover 19
+%define sover 20
 %define tarname protobuf
 %define src_install_dir /usr/src/%{name}
 %define extra_java_flags -source 7 -target 7
@@ -27,7 +27,7 @@
 %bcond_without python2
 %bcond_without python3
 Name:   protobuf
-Version:3.8.0
+Version:3.9.1
 Release:0
 Summary:Protocol Buffers - Google's data interchange format
 License:BSD-3-Clause

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.Q0uViY/_old  2019-08-27 10:14:29.883967094 +0200
+++ /var/tmp/diff_new_pack.Q0uViY/_new  2019-08-27 10:14:29.883967094 +0200
@@ -1,3 +1,3 @@
-libprotobuf19
-libprotoc19
-libprotobuf-lite19
+libprotobuf20
+libprotoc20
+libprotobuf-lite20

++ protobuf-3.8.0.tar.gz -> protobuf-3.9.1.tar.gz ++
 33068 lines of diff (skipped)




commit protobuf for openSUSE:Factory

2019-06-13 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2019-06-13 22:38:20

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new.4811 (New)


Package is "protobuf"

Thu Jun 13 22:38:20 2019 rev:38 rq:708760 version:3.8.0

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2019-05-03 
22:26:02.888168030 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new.4811/protobuf.changes  
2019-06-13 22:38:22.592283256 +0200
@@ -1,0 +2,17 @@
+Sat Jun  8 06:13:57 UTC 2019 - Fridrich Strba 
+
+- Specify java source and target levels in order to build
+  compatible protobuf-java binaries
+
+---
+Wed Jun  5 18:58:30 UTC 2019 - Jan Engelhardt 
+
+- Update to new upstream release 3.8.0
+  * Introduced new MOMI (maybe-outside-memory-interval) parser.
+  * Added use of C++ override keyword where appropriate.
+  * Always declare enums to be int-sized.
+  * Append '_' to C++ reserved keywords for message, enum, extension.
+- Remove 0001-remove-PACKAGE_NAME-and-REPOSITORY_NAME-deprecated.patch
+  (upstreamed)
+
+---

Old:

  0001-remove-PACKAGE_NAME-and-REPOSITORY_NAME-deprecated.patch
  protobuf-3.6.1.tar.gz

New:

  protobuf-3.8.0.tar.gz



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.MMAjgJ/_old  2019-06-13 22:38:24.264282713 +0200
+++ /var/tmp/diff_new_pack.MMAjgJ/_new  2019-06-13 22:38:24.268282711 +0200
@@ -17,16 +17,17 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define sover 17
+%define sover 19
 %define tarname protobuf
 %define src_install_dir /usr/src/%{name}
+%define extra_java_flags -source 7 -target 7
 # requires gmock, which is not yet in the distribution
 %bcond_with check
 %bcond_without java
 %bcond_without python2
 %bcond_without python3
 Name:   protobuf
-Version:3.6.1
+Version:3.8.0
 Release:0
 Summary:Protocol Buffers - Google's data interchange format
 License:BSD-3-Clause
@@ -35,7 +36,6 @@
 Source0:
https://github.com/google/protobuf/archive/v%{version}.tar.gz#/%{tarname}-%{version}.tar.gz
 Source1:manifest.txt.in
 Source2:baselibs.conf
-Patch0: 0001-remove-PACKAGE_NAME-and-REPOSITORY_NAME-deprecated.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module python-dateutil}
 BuildRequires:  %{python_module python-gflags}
@@ -141,9 +141,7 @@
 This package contains the Python bindings for Google Protocol Buffers.
 
 %prep
-
-%setup -q -n %{tarname}-%{version}
-%patch0 -p1
+%autosetup -n %{tarname}-%{version}
 mkdir gmock
 
 %if %{with python2} || %{with python3}
@@ -165,10 +163,9 @@
 
 %if %{with java}
 pushd java
-%pom_remove_parent
 ../src/protoc --java_out=core/src/main/java -I../src 
../src/google/protobuf/descriptor.proto
 mkdir classes
-javac $extra_java_flags -d classes 
core/src/main/java/com/google/protobuf/*.java
+javac %{extra_java_flags} -d classes 
core/src/main/java/com/google/protobuf/*.java
 sed -e 's/@VERSION@/%{version}/' < %{SOURCE1} > manifest.txt
 jar cfm %{name}-java-%{version}.jar manifest.txt -C classes com
 popd
@@ -208,9 +205,6 @@
 
 mkdir -p %{buildroot}%{src_install_dir}
 tar -xzf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
-pushd %{buildroot}%{src_install_dir}
-patch -p1 < %{PATCH0}
-popd
 %fdupes %{buildroot}%{src_install_dir}
 # Fix env-script-interpreter rpmlint error
 find %{buildroot}%{src_install_dir} -type f -name "*.js" -exec sed -i 
's|#!.*/usr/bin/env node|#!/usr/bin/node|' "{}" +

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.MMAjgJ/_old  2019-06-13 22:38:24.292282704 +0200
+++ /var/tmp/diff_new_pack.MMAjgJ/_new  2019-06-13 22:38:24.292282704 +0200
@@ -1,3 +1,3 @@
-libprotobuf17
-libprotoc17
-libprotobuf-lite17
+libprotobuf19
+libprotoc19
+libprotobuf-lite19

++ protobuf-3.6.1.tar.gz -> protobuf-3.8.0.tar.gz ++
 421665 lines of diff (skipped)




commit protobuf for openSUSE:Factory

2019-05-03 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2019-05-03 22:26:01

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new.5148 (New)


Package is "protobuf"

Fri May  3 22:26:01 2019 rev:37 rq:700030 version:3.6.1

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2019-03-01 
20:28:31.790024236 +0100
+++ /work/SRC/openSUSE:Factory/.protobuf.new.5148/protobuf.changes  
2019-05-03 22:26:02.888168030 +0200
@@ -1,0 +2,5 @@
+Wed Apr 24 17:35:37 UTC 2019 - Martin Liška 
+
+- Disable LTO (boo#1133277).
+
+---



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.gndVcs/_old  2019-05-03 22:26:03.760169818 +0200
+++ /var/tmp/diff_new_pack.gndVcs/_new  2019-05-03 22:26:03.772169842 +0200
@@ -156,6 +156,7 @@
 sed -i -e '/env python/d' python/google/protobuf/internal/*.py
 
 %build
+%define _lto_cflags %{nil}
 autoreconf -fvi
 %configure \
--disable-static




commit protobuf for openSUSE:Factory

2019-03-01 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2019-03-01 20:28:27

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new.28833 (New)


Package is "protobuf"

Fri Mar  1 20:28:27 2019 rev:36 rq:679166 version:3.6.1

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2019-02-04 
21:21:52.859647317 +0100
+++ /work/SRC/openSUSE:Factory/.protobuf.new.28833/protobuf.changes 
2019-03-01 20:28:31.790024236 +0100
@@ -1,0 +2,6 @@
+Wed Feb 20 12:29:06 UTC 2019 - Michał Rostecki 
+
+- Add upstream patch which fixes build with Bazel 0.22.0.
+  * 0001-remove-PACKAGE_NAME-and-REPOSITORY_NAME-deprecated.patch
+
+---

New:

  0001-remove-PACKAGE_NAME-and-REPOSITORY_NAME-deprecated.patch



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.YdeALA/_old  2019-03-01 20:28:32.386024092 +0100
+++ /var/tmp/diff_new_pack.YdeALA/_new  2019-03-01 20:28:32.390024091 +0100
@@ -35,6 +35,7 @@
 Source0:
https://github.com/google/protobuf/archive/v%{version}.tar.gz#/%{tarname}-%{version}.tar.gz
 Source1:manifest.txt.in
 Source2:baselibs.conf
+Patch0: 0001-remove-PACKAGE_NAME-and-REPOSITORY_NAME-deprecated.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module python-dateutil}
 BuildRequires:  %{python_module python-gflags}
@@ -142,6 +143,7 @@
 %prep
 
 %setup -q -n %{tarname}-%{version}
+%patch0 -p1
 mkdir gmock
 
 %if %{with python2} || %{with python3}
@@ -205,6 +207,9 @@
 
 mkdir -p %{buildroot}%{src_install_dir}
 tar -xzf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
+pushd %{buildroot}%{src_install_dir}
+patch -p1 < %{PATCH0}
+popd
 %fdupes %{buildroot}%{src_install_dir}
 # Fix env-script-interpreter rpmlint error
 find %{buildroot}%{src_install_dir} -type f -name "*.js" -exec sed -i 
's|#!.*/usr/bin/env node|#!/usr/bin/node|' "{}" +

++ 0001-remove-PACKAGE_NAME-and-REPOSITORY_NAME-deprecated.patch ++
>From e94bf13e6e834610bffb8c54a8fb523dc7f9d229 Mon Sep 17 00:00:00 2001
From: Ittai Zeidman 
Date: Mon, 21 May 2018 23:48:10 +0300
Subject: [PATCH] remove PACKAGE_NAME and REPOSITORY_NAME deprecated usage
 (#4650)

---
 protobuf.bzl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/protobuf.bzl b/protobuf.bzl
index 78f19c62..4226a142 100644
--- a/protobuf.bzl
+++ b/protobuf.bzl
@@ -266,8 +266,8 @@ def internal_gen_well_known_protos_java(srcs):
   Args:
 srcs: the well known protos
   """
-  root = Label("%s//protobuf_java" % (REPOSITORY_NAME)).workspace_root
-  pkg = PACKAGE_NAME + "/" if PACKAGE_NAME else ""
+  root = Label("%s//protobuf_java" % (native.repository_name())).workspace_root
+  pkg = native.package_name() + "/" if native.package_name() else ""
   if root == "":
 include = " -I%ssrc " % pkg
   else:
-- 
2.20.1




commit protobuf for openSUSE:Factory

2019-02-04 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2019-02-04 21:21:51

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new.28833 (New)


Package is "protobuf"

Mon Feb  4 21:21:51 2019 rev:35 rq:667019 version:3.6.1

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2018-12-21 
08:19:34.625673446 +0100
+++ /work/SRC/openSUSE:Factory/.protobuf.new.28833/protobuf.changes 
2019-02-04 21:21:52.859647317 +0100
@@ -1,0 +2,7 @@
+Tue Jan  8 12:35:43 UTC 2019 - Michał Rostecki 
+
+- Add protobuf-source package - some programs using gRPC and
+  protobuf need protobuf definitions which are included inside the
+  source code, but are not included in the devel package.
+
+---



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.G5FSJG/_old  2019-02-04 21:21:54.127647012 +0100
+++ /var/tmp/diff_new_pack.G5FSJG/_new  2019-02-04 21:21:54.131647011 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package protobuf
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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,6 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define sover 17
 %define tarname protobuf
+%define src_install_dir /usr/src/%{name}
 # requires gmock, which is not yet in the distribution
 %bcond_with check
 %bcond_without java
@@ -102,6 +103,18 @@
 extensible format. Google uses Protocol Buffers for almost all of its internal
 RPC protocols and file formats.
 
+%package source
+Summary:Source code of protobuf
+Group:  Development/Sources
+BuildArch:  noarch
+
+%description source
+Protocol Buffers are a way of encoding structured data in an efficient yet
+extensible format. Google uses Protocol Buffers for almost all of its internal
+RPC protocols and file formats.
+
+This package contains source code for Protocol Buffers.
+
 %package -n %{name}-java
 Summary:Java Bindings for Google Protocol Buffers
 Group:  Development/Libraries/Java
@@ -190,6 +203,26 @@
 popd
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+mkdir -p %{buildroot}%{src_install_dir}
+tar -xzf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
+%fdupes %{buildroot}%{src_install_dir}
+# Fix env-script-interpreter rpmlint error
+find %{buildroot}%{src_install_dir} -type f -name "*.js" -exec sed -i 
's|#!.*/usr/bin/env node|#!/usr/bin/node|' "{}" +
+find %{buildroot}%{src_install_dir} -type f -name "*.py" -exec sed -i 
's|#!.*/usr/bin/env python2.7|#!/usr/bin/python2.7|' "{}" +
+find %{buildroot}%{src_install_dir} -type f -name "*.py" -exec sed -i 
's|#!.*/usr/bin/env python|#!/usr/bin/python|' "{}" +
+find %{buildroot}%{src_install_dir} -type f -name "*.rb" -exec sed -i 
's|#!.*/usr/bin/env ruby|#!/usr/bin/ruby|' "{}" +
+find %{buildroot}%{src_install_dir} -type f -name "*.sh" -exec sed -i 
's|#!.*/usr/bin/env bash|#!/bin/bash|' "{}" +
+# And stop requiring ridiculously old Python version
+find %{buildroot}%{src_install_dir} -type f -name "*.py" -exec sed -i 
's|#!/usr/bin/python2.4|#!/usr/bin/python2.7|' "{}" +
+# Fix spurious-executable-perm rpmlint error
+chmod -x %{buildroot}%{src_install_dir}/src/google/protobuf/arenastring.h
+chmod -x 
%{buildroot}%{src_install_dir}/src/google/protobuf/compiler/js/js_generator.h
+chmod -x %{buildroot}%{src_install_dir}/src/google/protobuf/reflection.h
+# Fix version-control-internal-file rpmlint warning
+find %{buildroot}%{src_install_dir} -type f -name ".gitignore" -exec rm -f 
"{}" +
+
+%fdupes %{buildroot}%{_prefix}
+
 %post -n libprotobuf%{sover} -p /sbin/ldconfig
 %postun -n libprotobuf%{sover} -p /sbin/ldconfig
 %post -n libprotoc%{sover} -p /sbin/ldconfig
@@ -215,6 +248,9 @@
 %{_libdir}/pkgconfig/*
 %{_datadir}/vim
 
+%files source
+%{src_install_dir}
+
 %if %{with java}
 %files -n %{name}-java
 %{_javadir}/protobuf*




commit protobuf for openSUSE:Factory

2018-12-20 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2018-12-21 08:19:33

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new.28833 (New)


Package is "protobuf"

Fri Dec 21 08:19:33 2018 rev:34 rq:659285 version:3.6.1

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2018-10-11 
11:45:23.174791816 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new.28833/protobuf.changes 
2018-12-21 08:19:34.625673446 +0100
@@ -1,0 +2,5 @@
+Mon Dec 17 10:28:51 UTC 2018 - Fridrich Strba 
+
+- Add maven pom files to the protobuf-java package
+
+---



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.Usrq3x/_old  2018-12-21 08:19:35.297672817 +0100
+++ /var/tmp/diff_new_pack.Usrq3x/_new  2018-12-21 08:19:35.301672813 +0100
@@ -30,7 +30,7 @@
 Summary:Protocol Buffers - Google's data interchange format
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-Url:https://github.com/google/protobuf/
+URL:https://github.com/google/protobuf/
 Source0:
https://github.com/google/protobuf/archive/v%{version}.tar.gz#/%{tarname}-%{version}.tar.gz
 Source1:manifest.txt.in
 Source2:baselibs.conf
@@ -52,6 +52,7 @@
 %endif
 %if %{with java}
 BuildRequires:  java-devel >= 1.6.0
+BuildRequires:  javapackages-local
 %endif
 
 %description
@@ -148,6 +149,7 @@
 
 %if %{with java}
 pushd java
+%pom_remove_parent
 ../src/protoc --java_out=core/src/main/java -I../src 
../src/google/protobuf/descriptor.proto
 mkdir classes
 javac $extra_java_flags -d classes 
core/src/main/java/com/google/protobuf/*.java
@@ -176,6 +178,10 @@
 install -D -m 0644 %{name}-java-%{version}.jar 
%{buildroot}%{_javadir}/%{name}-java-%{version}.jar
 ln -s %{name}-java-%{version}.jar %{buildroot}%{_javadir}/%{name}-java.jar
 ln -s %{name}-java-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
+install -D -m 0644 pom.xml 
%{buildroot}%{_mavenpomdir}/%{name}-parent-%{version}.pom
+%add_maven_depmap %{name}-parent-%{version}.pom
+install -D -m 0644 core/pom.xml 
%{buildroot}%{_mavenpomdir}/%{name}-java-%{version}.pom
+%add_maven_depmap %{name}-java-%{version}.pom %{name}-java-%{version}.jar
 popd
 %endif
 
@@ -212,6 +218,12 @@
 %if %{with java}
 %files -n %{name}-java
 %{_javadir}/protobuf*
+%{_mavenpomdir}/protobuf*
+%if %{defined _maven_repository}
+%{_mavendepmapfragdir}/%{name}
+%else
+%{_datadir}/maven-metadata/%{name}.xml*
+%endif
 %endif
 
 %if %{with python2}




commit protobuf for openSUSE:Factory

2018-10-11 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2018-10-11 11:45:06

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is "protobuf"

Thu Oct 11 11:45:06 2018 rev:33 rq:635281 version:3.6.1

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2018-05-23 
16:05:06.218769002 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2018-10-11 
11:45:23.174791816 +0200
@@ -1,0 +2,179 @@
+Wed Sep 12 07:24:48 UTC 2018 - Thomas Bechtold 
+
+- update to version v3.6.1:
+  * PHP namespaces for nested messages and enums (#4536)
+  * Allows the json marshaller to be passed json marshal options (#4252)
+  * Make sure to delete temporary maps used by FileDescriptorTables
+  * fix python cpp kokoro build
+  * Change C# reflection to avoid using expression trees
+  * Updated checked-in generated code
+  * Removed unused variables in repeated_scalar_container.cc
+  * Removed unused code pertaining to shared_ptr
+  * Include no_package.proto in Python test
+  * Only check filenames when end with .py in _CalledFromGeneratedFile() 
(#4262)
+  * Convert descriptortype to type for upb_msgval_sizeof (#4357)
+  * Removed duplicate using statement from ReflectionUtil.cs
+  * Add support for power ppc64le
+  * Cat the test-suite.log on errors for presubits
+  * Address review comments
+  * Add third-party RPC implementation: raster - a network framework supports 
pbrpc by 'service' keyword.
+  * Delete javanano kokoro build configs.
+  * Updated Ruby conformance test failure list
+  * Removed use of some type traits
+  * Adopt php_metadata_namespace in php code generator (#4622)
+  * Move to Xcode 9.3 which also means a High Sierra image.
+  * Add protoc release script for Linux build.
+  * protoc-artifacts: Avoid storing temporary files and use fewer layers
+  * Rewrite go_benchmark
+  * Add files to build ruby artifact for mac on kokoro (#4814)
+  * Remove javanano.
+  * Comment out unused command from release script.
+  * Avoid direct check of class name (#4601)
+  * The JsonParseOptions::ignore_unknown_fields option behavior treats
+  * Fix php memory leak test (#4692)
+  * Fix benchmark build
+  * Add VS2017 optional component dependency details to the C# readme (#4128)
+  * Fix initialization with Visual Studio
+  * For windows, all python version should use /MT (#4468)
+  * use brew install instead of easy_install in OSX (#4537)
+  * Sync upb change (#4373)
+  * Always add -std=c++11 for mac (#4684)
+  * Add kokoro build status badges.
+  * Removed unrecognized option from no_package.proto
+  * Fixed up proto3_lite_unittest.cc
+  * Update Xcode settings
+  * Cleanup LICENSE file.
+  * Remove js_embed binary. (#4709)
+  * Fixed JS parsing of unspecified map keys
+  * Update version number to 3.6.0
+  * Deliberately call simple code to avoid Unity linker pruning
+  * Revert "Move `compiler/plugin.pb.cc` to libprotobuf with the other WKT 
sources."
+  * protoc-artifacts: Use ENTRYPOINT to enable devtoolset-1.1
+  * MinGW build failed
+  * Support using MSVC intrinsics in Log2FloorNonZero
+  * Fix array constructor in c extension for compatibility (#4667)
+  * Add space between class name and concat message (#4577)
+  * fix python
+  * Add performance.md and add instruction for linking tcmalloc
+  * Add script for run and upload the benchmark result to bq
+  * Add test for failing write of raw pointer to output stream
+  * [objectivec] Fix memory leak of exceptions raised by RaiseException() 
(#4556)
+  * Remove stray indent on normal imports.
+  * Fix python ext build on kokoro (#4527)
+  * Add compile test sources for to test include order.
+  * Fixed a Visual Studio 2017 build error. (#4488)
+  * fix linux kokoro build in docker
+  * Fixes MSVC compiler warning C4800 "Forcing value to bool 'true' or 
'false'" (#4350)
+  * Updated Docker setup to use GCC 4.8
+  * Remove broken build status icons.
+  * Run autogen.sh in release script.
+  * Output *_pb2_grpc.py when use_grpc_plugin=True
+  * Adopt ruby_package in ruby generated code. (#4627)
+  * Cygwin build failed
+  * Work around an "old runtime" issue with reflection
+  * Added Kokoro protoc release build for OS X (#4770)
+  * Updated change log for 3.6.1 release
+  * Move methods out of class (#4697)
+  * Fix to allow AOT compilers to play nicely with reflection
+  * Update Makefile.am for Java lite files.
+  * Added map_lite_test.proto to fix LiteTest
+  * Introduce a compatiblity shim to support .NET 3.5 delegate creation
+  * Revert "Removed mention of Buffer in byteSourceToUint8Array"
+  * Add gogo benchmark
+  * Set ext.no_native = true for non mac platform
+  * Removed atomicops.h since it is no longer used
+  * Rename a shadowed variable.
+  * Add kokoro 

commit protobuf for openSUSE:Factory

2018-05-23 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2018-05-23 16:05:04

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is "protobuf"

Wed May 23 16:05:04 2018 rev:32 rq:609121 version:3.5.2

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2018-02-25 
11:32:59.711025216 +0100
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2018-05-23 
16:05:06.218769002 +0200
@@ -1,0 +2,59 @@
+Mon May 14 15:19:25 UTC 2018 - tbecht...@suse.com
+
+update to version v3.5.2:
+  * Update release date
+  * Disable pip cache when testing uploaded packages
+  * Replace private timelib_update_ts with public date_timestamp_get
+  * Remove py2.6 support.
+  * Cherrypick for csharp, including:
+  * Update changelog
+  * Update changelog for 3.5.1
+  * Fix uploading binary wheel.
+  * Fix memory leak when creating map field via array.
+  * Update rake file to build of 2.1.6.
+  * Avoid using php_date_get_date_ce() in case date extension is not
+  * Update protoc-artfacts
+  * Fix string::back() usage in googletest.cc
+  * Fix memory leak in php7
+  * Support ruby2.5
+  * io_win32: support non-ASCII paths
+  * Explicitly propagate the status of Flush().
+  * Add discard unknown API in ruby. (#3990)
+  * Update version for 3.5.0.post1
+  * remove nullptr
+  * Fix more memory leak for php c extension (#4211)
+  * Bumping number to fix ruby 2.1 on mac
+  * io_win32_unittest: remove incorrect error check
+  * Fix memory leak when creating repeated field via array.
+  * Update version number for php c extension (#3896)
+  * Fix file permission for python package.
+  * Create containing directory before generating well_known_types_embed.cc
+  * Replace C++11 only method std::map::at
+  * Recursively clear unknown fields in submessages. (#3982)
+  * Update version number to 3.5.1
+  * io_win32_unittest: fix condition in GetCwdAsUtf8
+  * Add release log
+  * io_win32_unittest: use CWD as last tempdir
+  * Add PROTOBUF_ENABLE_TIMESTAMP to let user decide whether timestamp util
+  * Add support for Windows ARM64 build
+  * Add protobuf-all in post release
+  * Use fully qualifed name for DescriptorPool in Any.php to avoid name (#3886)
+  * Add _file_desc_by_toplevel_extension back
+  * Fix setup.py for windows build.
+  * io_win32_unittest: make //:win32_test run again
+  * Provide discardUnknonwnFields API in php (#3976)
+  * Update php c extension version number to 3.5.0.1
+  * Fix ruby gc_test in ruby 2.4 (#4011)
+  * Remove duplicate typedef. (#3975)
+  * Accept DatetimeInterface in fromDatetime
+  * io_win32: add more encoding-related tests
+  * Bump version number to 3.5.2
+  * Bump protoc-artifact version for a patch rebuild
+  * Call php method via function name instead of calling directly.
+  * Well known types are not initialized properly. (#4139)
+  * Use matching enum type for IsPOD.
+  * Fix several more memory leak
+  * Fix for php5.5
+  * Add backslach to make class explict in global namespace
+
+---

Old:

  protobuf-3.5.0.tar.gz

New:

  protobuf-3.5.2.tar.gz



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.BYBFOI/_old  2018-05-23 16:05:07.154734713 +0200
+++ /var/tmp/diff_new_pack.BYBFOI/_new  2018-05-23 16:05:07.158734566 +0200
@@ -25,7 +25,7 @@
 %bcond_without python2
 %bcond_without python3
 Name:   protobuf
-Version:3.5.0
+Version:3.5.2
 Release:0
 Summary:Protocol Buffers - Google's data interchange format
 License:BSD-3-Clause

++ protobuf-3.5.0.tar.gz -> protobuf-3.5.2.tar.gz ++
 17120 lines of diff (skipped)




commit protobuf for openSUSE:Factory

2018-02-25 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2018-02-25 11:32:58

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is "protobuf"

Sun Feb 25 11:32:58 2018 rev:31 rq:579472 version:3.5.0

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2018-01-26 
13:34:44.686619329 +0100
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2018-02-25 
11:32:59.711025216 +0100
@@ -1,0 +2,8 @@
+Fri Feb 23 10:12:07 UTC 2018 - m...@suse.com
+
+- Add adding-Release_CompareAndSwap-64-bit-variant.patch
+  * Fix compile error undefined reference to
+`google::protobuf::internal::Release_CompareAndSwap(long volatile*, long, 
long)'
+on s390x https://github.com/google/protobuf/issues/3937
+
+---

New:

  adding-Release_CompareAndSwap-64-bit-variant.patch



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.YBHZ7D/_old  2018-02-25 11:33:00.574993842 +0100
+++ /var/tmp/diff_new_pack.YBHZ7D/_new  2018-02-25 11:33:00.574993842 +0100
@@ -34,6 +34,8 @@
 Source0:
https://github.com/google/protobuf/archive/v%{version}.tar.gz#/%{tarname}-%{version}.tar.gz
 Source1:manifest.txt.in
 Source2:baselibs.conf
+# PATCH-FIX-UPSTREAM Adding Release_CompareAndSwap 64-bit variant to fix 
compile error - m...@suse.com
+Patch0: adding-Release_CompareAndSwap-64-bit-variant.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module python-dateutil}
 BuildRequires:  %{python_module python-gflags}
@@ -128,6 +130,7 @@
 %prep
 
 %setup -q -n %{tarname}-%{version}
+%patch0 -p1
 mkdir gmock
 
 %if %{with python2} || %{with python3} 

++ adding-Release_CompareAndSwap-64-bit-variant.patch ++
>From 642e1ac635f2563b4a14c255374f02645ae85dac Mon Sep 17 00:00:00 2001
From: Nayana-ibm 
Date: Mon, 27 Nov 2017 05:43:30 -0500
Subject: [PATCH] Adding Release_CompareAndSwap 64-bit variant

---
 src/google/protobuf/stubs/atomicops_internals_generic_gcc.h | 8 
 1 file changed, 8 insertions(+)

diff --git a/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h 
b/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h
index 0b0b06ce..075c406a 100644
--- a/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h
+++ b/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h
@@ -146,6 +146,14 @@ inline Atomic64 NoBarrier_Load(volatile const Atomic64* 
ptr) {
   return __atomic_load_n(ptr, __ATOMIC_RELAXED);
 }
 
+inline Atomic64 Release_CompareAndSwap(volatile Atomic64* ptr,
+   Atomic64 old_value,
+   Atomic64 new_value) {
+  __atomic_compare_exchange_n(ptr, _value, new_value, false,
+  __ATOMIC_RELEASE, __ATOMIC_ACQUIRE);
+  return old_value;
+}
+
 #endif // defined(__LP64__)
 
 }  // namespace internal
-- 
2.16.1




commit protobuf for openSUSE:Factory

2018-01-26 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2018-01-26 13:34:42

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is "protobuf"

Fri Jan 26 13:34:42 2018 rev:30 rq:568227 version:3.5.0

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2017-12-29 
18:46:18.452200035 +0100
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2018-01-26 
13:34:44.686619329 +0100
@@ -1,0 +2,9 @@
+Mon Jan 22 16:50:28 UTC 2018 - tchva...@suse.com
+
+- Conditionalize python2 and python3 in order to be able to build
+  without python2 present in distribution
+  * Use singlespec macros to simplify the logic
+- Run fdupes on python modules to avoid duplicates
+- Remove shebangs from import-only code
+
+---



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.4Zrybu/_old  2018-01-26 13:34:45.602576546 +0100
+++ /var/tmp/diff_new_pack.4Zrybu/_new  2018-01-26 13:34:45.602576546 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package protobuf
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -16,23 +16,14 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define sover 15
 %define tarname protobuf
 # requires gmock, which is not yet in the distribution
 %bcond_with check
-%bcond_without protobuf_java
-%bcond_without protobuf_python
-
-%if %{with protobuf_python}
-%if 0%{?suse_version} > 1320
-%define protobuf_python3 1
-%define python2_prefix python2
-%else
-%define protobuf_python3 0
-%define python2_prefix python
-%endif
-%endif
-
+%bcond_without java
+%bcond_without python2
+%bcond_without python3
 Name:   protobuf
 Version:3.5.0
 Release:0
@@ -43,34 +34,25 @@
 Source0:
https://github.com/google/protobuf/archive/v%{version}.tar.gz#/%{tarname}-%{version}.tar.gz
 Source1:manifest.txt.in
 Source2:baselibs.conf
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module python-dateutil}
+BuildRequires:  %{python_module python-gflags}
+BuildRequires:  %{python_module pytz}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
+BuildRequires:  libtool
+BuildRequires:  pkgconfig
+BuildRequires:  python-rpm-macros
+BuildRequires:  zlib-devel
 %if %{with check}
 BuildRequires:  libgmock-devel >= 1.7.0
 %endif
-BuildRequires:  libtool
-BuildRequires:  pkg-config
-%if %{with protobuf_java}
+%if %{with java}
 BuildRequires:  java-devel >= 1.6.0
 %endif
-%if %{with protobuf_python}
-BuildRequires:  %{python2_prefix}-devel
-BuildRequires:  %{python2_prefix}-python-dateutil
-BuildRequires:  %{python2_prefix}-python-gflags
-BuildRequires:  %{python2_prefix}-pytz
-BuildRequires:  %{python2_prefix}-setuptools
-%if %{protobuf_python3}
-BuildRequires:  python3-devel
-BuildRequires:  python3-python-dateutil
-BuildRequires:  python3-python-gflags
-BuildRequires:  python3-pytz
-BuildRequires:  python3-setuptools
-%endif
-BuildRequires:  zlib-devel
-%endif
 
 %description
 Protocol Buffers are a way of encoding structured data in an efficient yet
@@ -111,15 +93,14 @@
 Requires:   libprotobuf%{sover} = %{version}
 Requires:   libprotobuf-lite%{sover}
 Requires:   zlib-devel
-Provides:   libprotobuf-devel = %{version}
 Conflicts:  protobuf2-devel
+Provides:   libprotobuf-devel = %{version}
 
 %description devel
 Protocol Buffers are a way of encoding structured data in an efficient yet
 extensible format. Google uses Protocol Buffers for almost all of its internal
 RPC protocols and file formats.
 
-%if %{with protobuf_java}
 %package -n %{name}-java
 Summary:Java Bindings for Google Protocol Buffers
 Group:  Development/Libraries/Java
@@ -127,61 +108,45 @@
 
 %description -n %{name}-java
 This package contains the Java bindings for Google Protocol Buffers.
-%endif
 
-%if %{with protobuf_python}
-%package -n %{python2_prefix}-%{name}
+%package -n python2-%{name}
 Summary:Python2 Bindings for Google Protocol Buffers
 Group:  Development/Libraries/Python
-%if 0%{?protobuf_python3}
 Provides:   python-%{name} = %{version}
 Obsoletes:  python-%{name} < %{version}
-%endif
-%if 0%{?suse_version}
-%py_requires
-%else
-Requires:   python
-%endif
 

commit protobuf for openSUSE:Factory

2017-12-29 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2017-12-29 18:46:10

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is "protobuf"

Fri Dec 29 18:46:10 2017 rev:29 rq:556422 version:3.5.0

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2017-06-23 
09:16:30.582162757 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2017-12-29 
18:46:18.452200035 +0100
@@ -1,0 +2,17 @@
+Mon Dec 11 23:42:45 UTC 2017 - jeng...@inai.de
+
+- Update to new upstream release 3.5.0
+  * Proto3 messages are now preserving unknown fields by default.
+If you rely on unknowns fields being dropped, use
+DiscardUnknownFields() explicitly.
+  * Deprecated the unsafe_arena_release_* and
+unsafe_arena_add_allocated_* methods for string fields.
+  * Added move constructor and move assignment to RepeatedField,
+RepeatedPtrField and google::protobuf::Any.
+  * Added perfect forwarding in Arena::CreateMessage.
+  * In-progress experimental support for implicit weak fields
+with lite protos. This feature allows the linker to strip out
+more unused messages and reduce binary size.
+- Rename %soname to %sover to better reflect its use.
+
+---

Old:

  protobuf-3.3.0.tar.gz

New:

  protobuf-3.5.0.tar.gz



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.n6eTgm/_old  2017-12-29 18:46:19.639858937 +0100
+++ /var/tmp/diff_new_pack.n6eTgm/_new  2017-12-29 18:46:19.639858937 +0100
@@ -16,7 +16,7 @@
 #
 
 
-%define soname 13
+%define sover 15
 %define tarname protobuf
 # requires gmock, which is not yet in the distribution
 %bcond_with check
@@ -34,7 +34,7 @@
 %endif
 
 Name:   protobuf
-Version:3.3.0
+Version:3.5.0
 Release:0
 Summary:Protocol Buffers - Google's data interchange format
 License:BSD-3-Clause
@@ -49,7 +49,7 @@
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 %if %{with check}
-BuildRequires:  libgmock-devel
+BuildRequires:  libgmock-devel >= 1.7.0
 %endif
 BuildRequires:  libtool
 BuildRequires:  pkg-config
@@ -77,29 +77,29 @@
 extensible format. Google uses Protocol Buffers for almost all of its internal
 RPC protocols and file formats.
 
-%package -n libprotobuf%{soname}
+%package -n libprotobuf%{sover}
 Summary:Protocol Buffers - Google's data interchange format
 Group:  System/Libraries
 
-%description -n libprotobuf%{soname}
+%description -n libprotobuf%{sover}
 Protocol Buffers are a way of encoding structured data in an efficient yet
 extensible format. Google uses Protocol Buffers for almost all of its internal
 RPC protocols and file formats.
 
-%package -n libprotoc%{soname}
+%package -n libprotoc%{sover}
 Summary:Protocol Buffers - Google's data interchange format
 Group:  System/Libraries
 
-%description -n libprotoc%{soname}
+%description -n libprotoc%{sover}
 Protocol Buffers are a way of encoding structured data in an efficient yet
 extensible format. Google uses Protocol Buffers for almost all of its internal
 RPC protocols and file formats.
 
-%package -n libprotobuf-lite%{soname}
+%package -n libprotobuf-lite%{sover}
 Summary:Protocol Buffers - Google's data interchange format
 Group:  System/Libraries
 
-%description -n libprotobuf-lite%{soname}
+%description -n libprotobuf-lite%{sover}
 Protocol Buffers are a way of encoding structured data in an efficient yet
 extensible format. Google uses Protocol Buffers for almost all of its internal
 RPC protocols and file formats.
@@ -108,8 +108,8 @@
 Summary:Header files, libraries and development documentation for 
%{name}
 Group:  Development/Libraries/C and C++
 Requires:   gcc-c++
-Requires:   libprotobuf%{soname} = %{version}
-Requires:   libprotobuf-lite%{soname}
+Requires:   libprotobuf%{sover} = %{version}
+Requires:   libprotobuf-lite%{sover}
 Requires:   zlib-devel
 Provides:   libprotobuf-devel = %{version}
 Conflicts:  protobuf2-devel
@@ -175,7 +175,7 @@
 export PTHREAD_LIBS=-lpthread
 %endif
 
-./autogen.sh
+autoreconf -fi
 %configure \
--disable-static
 
@@ -252,30 +252,30 @@
 %endif
 %endif
 
-%post -n libprotobuf%{soname} -p /sbin/ldconfig
+%post -n libprotobuf%{sover} -p /sbin/ldconfig
 
-%postun -n libprotobuf%{soname} -p /sbin/ldconfig
+%postun -n libprotobuf%{sover} -p /sbin/ldconfig
 
-%post -n libprotoc%{soname} -p /sbin/ldconfig
+%post -n libprotoc%{sover} -p /sbin/ldconfig
 
-%postun -n libprotoc%{soname} -p /sbin/ldconfig
+%postun -n libprotoc%{sover} -p /sbin/ldconfig
 

commit protobuf for openSUSE:Factory

2017-06-23 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2017-06-23 09:16:24

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is "protobuf"

Fri Jun 23 09:16:24 2017 rev:28 rq:504018 version:3.3.0

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2017-01-25 
22:35:32.247848202 +0100
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2017-06-23 
09:16:30.582162757 +0200
@@ -1,0 +2,76 @@
+Fri Jun 16 07:57:00 UTC 2017 - mplus...@suse.com
+
+- Install LICENSE 
+
+---
+Sun Jun 11 17:15:13 UTC 2017 - alarr...@suse.com
+
+- Update to 3.3.0 :
+  * C++:
+* Fixed map fields serialization of DynamicMessage to correctly serialize
+  both key and value regardless of their presence.
+* Parser now rejects field number 0 correctly.
+* New API Message::SpaceUsedLong() that’s equivalent to
+  Message::SpaceUsed() but returns the value in size_t.
+* JSON support
+  - New flag always_print_enums_as_ints in JsonPrintOptions.
+  - New flag preserve_proto_field_names in JsonPrintOptions. It will 
instruct
+the JSON printer to use the original field name declared in the .proto
+file instead of converting them to lowerCamelCase when printing JSON.
+  - JsonPrintOptions.always_print_primtive_fields now works for oneof 
message
+fields.
+  - Fixed a bug that doesn’t allow different fields to set the same 
json_name
+value.
+  - Fixed a performance bug that causes excessive memory copy when printing
+large messages.
+* Various performance optimizations.
+  * Java:
+* Map field setters eagerly validate inputs and throw NullPointerExceptions
+  as appropriate.
+* Added ByteBuffer overloads to the generated parsing methods and the 
Parser
+  interface.
+* proto3 enum's getNumber() method now throws on UNRECOGNIZED values.
+* Output of JsonFormat is now locale independent.
+  * Python:
+* Added FindServiceByName() in the pure-Python DescriptorPool. This works 
only
+  for descriptors added with DescriptorPool.Add(). Generated 
descriptor_pool
+  does not support this yet.
+* Added a descriptor_pool parameter for parsing Any in text_format.Parse().
+* descriptor_pool.FindFileContainingSymbol() now is able to find nested
+  extensions.
+* Extending empty [] to repeated field now sets parent message presence.
+- Update to 3.2.0 :
+  * Added protoc version number to protoc plugin protocol. It can be used by
+protoc plugin to detect which version of protoc is used with the plugin and
+mitigate known problems in certain version of protoc.
+  * C++:
+* The default parsing byte size limit has been raised from 64MB to 2GB.
+* Added rvalue setters for non-arena string fields.
+* Enabled debug logging for Android.
+* Fixed a double-free problem when using Reflection::SetAllocatedMessage()
+  with extension fields.
+* Fixed several deterministic serialization bugs:
+  * MessageLite::SerializeAsString() now respects the global deterministic
+serialization flag.
+  * Extension fields are serialized deterministically as well.  Fixed 
protocol
+compiler to correctly report importing-self as an error.
+* Fixed FileDescriptor::DebugString() to print custom options correctly.
+* Various performance/codesize optimizations and cleanups.
+  * Java:
+* The default parsing byte size limit has been raised from 64MB to 2GB.
+* Added recursion limit when parsing JSON.
+* Fixed a bug that enumType.getDescriptor().getOptions() doesn't have 
custom
+  options.
+* Fixed generated code to support field numbers up to 2^29-1.
+  * Python:
+* You can now assign NumPy scalars/arrays (np.int32, np.int64) to protobuf
+  fields, and assigning other numeric types has been optimized for
+  performance.
+* Pure-Python: message types are now garbage-collectable.
+* Python/C++: a lot of internal cleanup/refactoring.
+- Increase soname to 13
+- Generate python2-protobuf and python3-protobuf packages in Factory
+- Make the python2-protobuf package provide and obsolete python-protobuf
+  to make the transition smooth in Tumbleweed
+
+---

Old:

  protobuf-3.1.0.tar.gz

New:

  protobuf-3.3.0.tar.gz



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.adxSUs/_old  2017-06-23 09:16:31.602018653 +0200
+++ /var/tmp/diff_new_pack.adxSUs/_new  2017-06-23 09:16:31.602018653 +0200
@@ -16,15 +16,25 @@
 

commit protobuf for openSUSE:Factory

2017-01-25 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2017-01-25 22:35:31

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is "protobuf"

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2017-01-19 
10:40:52.718231133 +0100
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2017-01-25 
22:35:32.247848202 +0100
@@ -1,0 +2,7 @@
+Sun Jan 22 00:47:42 UTC 2017 - stefan.bru...@rwth-aachen.de
+
+- Fix an issue with setup.py where some files are built on the
+  first invocation, but only copied on the second. This resulted
+  in an incomplete protobuf-python package.
+
+---



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.r2RwS8/_old  2017-01-25 22:35:32.739773811 +0100
+++ /var/tmp/diff_new_pack.r2RwS8/_new  2017-01-25 22:35:32.743773207 +0100
@@ -163,6 +163,8 @@
 %if %{with protobuf_python}
 pushd python
 python setup.py build
+# setup.py seems to be broken, some files are only installed on the second 
invocation
+python setup.py build
 popd
 %endif
 
@@ -187,7 +189,6 @@
 
 %if %{with protobuf_python}
 pushd python
-python setup.py clean
 python setup.py install --skip-build \
--prefix=%{_prefix} \
--root %{buildroot} \




commit protobuf for openSUSE:Factory

2017-01-19 Thread root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2017-01-19 10:40:51

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is "protobuf"

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2016-12-29 
22:42:15.050195228 +0100
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2017-01-19 
10:40:52.718231133 +0100
@@ -1,0 +2,19 @@
+Sat Jan  7 11:02:55 UTC 2017 - stefan.bru...@rwth-aachen.de
+
+- Update to protobuf v3.1.0. Protobuf v3.0.0 introduceced a new
+  version of the protocol buffer language, proto3, which supersedes
+  proto2.
+  The protoc compiler is able to read old proto2 protocol definitions,
+  and defaults to the proto2 syntax if a syntax is not specified, thus
+  packages can be recompiled to link to the new library. For backwards
+  compatibility, the old library version is available from the
+  protobuf2 package.
+  As the API for proto2 is not compatible to the proto3 API, proto3
+  should only be used for new Protocol Buffers, whereas current users
+  are advised to keep using proto2. For a detailed list of changes,
+  see https://github.com/google/protobuf/releases
+- Drop no longer needed patches:
+  * protobuf-setuptools-2.4.1.patch
+  * protobuf-return-no-nonvoid.patch
+
+---

Old:

  protobuf-2.6.1.tar.bz2
  protobuf-return-no-nonvoid.patch
  protobuf-setuptools-2.4.1.patch

New:

  protobuf-3.1.0.tar.gz



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.upQFjC/_old  2017-01-19 10:40:53.390136355 +0100
+++ /var/tmp/diff_new_pack.upQFjC/_new  2017-01-19 10:40:53.394135791 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package protobuf
 #
-# 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
@@ -16,26 +16,32 @@
 #
 
 
-%define soname 9
-%bcond_without check
+%define soname 11
+%define tarname protobuf
+# requires gmock, which is not yet in the distribution
+%bcond_with check
 %bcond_without protobuf_java
 %bcond_without protobuf_python
+
 Name:   protobuf
-Version:2.6.1
+Version:3.1.0
 Release:0
 Summary:Protocol Buffers - Google's data interchange format
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
 Url:https://github.com/google/protobuf/
-Source0:
https://github.com/google/protobuf/releases/download/v%{version}/%{name}-%{version}.tar.bz2
+Source0:
https://github.com/google/protobuf/archive/v%{version}.tar.gz#/%{tarname}-%{version}.tar.gz
 Source1:manifest.txt.in
 Source2:baselibs.conf
-Patch0: protobuf-setuptools-2.4.1.patch
-# fix no-return-in-nonvoid-function google/protobuf/extension_set.cc:74
-Patch1: protobuf-return-no-nonvoid.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
+%if %{with check}
+BuildRequires:  libgmock-devel
+%endif
+BuildRequires:  libtool
 BuildRequires:  pkg-config
 %if %{with protobuf_java}
 BuildRequires:  java-devel >= 1.6.0
@@ -89,6 +95,7 @@
 Requires:   libprotobuf-lite%{soname}
 Requires:   zlib-devel
 Provides:   libprotobuf-devel = %{version}
+Conflicts:  protobuf2-devel
 
 %description devel
 Protocol Buffers are a way of encoding structured data in an efficient yet
@@ -121,10 +128,9 @@
 
 %prep
 
-%setup -q
-%patch0
-%patch1 -p1
-#
+%setup -q -n %{tarname}-%{version}
+mkdir gmock
+
 %if %{with protobuf_python}
 # only needed for test suite which we don't call anyways.
 # googleapis is broken on sle12
@@ -138,6 +144,7 @@
 export PTHREAD_LIBS=-lpthread
 %endif
 
+./autogen.sh
 %configure \
--disable-static
 
@@ -145,9 +152,9 @@
 
 %if %{with protobuf_java}
 pushd java
-../src/protoc --java_out=src/main/java -I../src 
../src/google/protobuf/descriptor.proto
+../src/protoc --java_out=core/src/main/java -I../src 
../src/google/protobuf/descriptor.proto
 mkdir classes
-javac -d classes src/main/java/com/google/protobuf/*.java
+javac $extra_java_flags -d classes 
core/src/main/java/com/google/protobuf/*.java
 sed -e 's/@VERSION@/%{version}/' < %{SOURCE1} > manifest.txt
 jar cfm %{name}-java-%{version}.jar manifest.txt -C classes com
 popd

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.upQFjC/_old  2017-01-19 10:40:53.418132406 +0100
+++ /var/tmp/diff_new_pack.upQFjC/_new  2017-01-19 

commit protobuf for openSUSE:Factory

2015-12-13 Thread h_root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2015-12-13 09:37:58

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is "protobuf"

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2015-11-17 
14:20:29.0 +0100
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2015-12-13 
09:38:00.0 +0100
@@ -1,0 +2,9 @@
+Mon Dec  7 04:17:12 UTC 2015 - lnus...@suse.de
+
+- disable google-apputils usage. They are only used for the testsuite which
+  wasn't called anyways. The next upstream version will not use
+  apputils anymore anyways. Fixes build on SLE12.
+  
https://github.com/google/protobuf/commit/9f42f5f4a423b923f7b07ae8c5e8db4943df49c6
+  bnc#957472
+
+---



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.UjR6EH/_old  2015-12-13 09:38:01.0 +0100
+++ /var/tmp/diff_new_pack.UjR6EH/_new  2015-12-13 09:38:01.0 +0100
@@ -37,8 +37,7 @@
 %else
 %bcond_with protobuf_java
 %endif
-# Don't build the python bindings in SLE12 or old distros
-%if ( 0%{?suse_version} == 1315 && !0%{?is_opensuse} ) || 0%{?suse_version} < 
1210
+%if 0%{?suse_version} < 1210
 %bcond_with protobuf_python
 %else
 %bcond_without protobuf_python
@@ -52,7 +51,6 @@
 %if %{with protobuf_python}
 BuildRequires:  python-dateutil
 BuildRequires:  python-devel
-BuildRequires:  python-google-apputils >= 0.4.2
 BuildRequires:  python-python-gflags
 BuildRequires:  python-pytz
 BuildRequires:  python-setuptools
@@ -136,6 +134,13 @@
 %setup -q
 %patch0
 %patch1 -p1
+#
+%if %{with protobuf_python}
+# only needed for test suite which we don't call anyways.
+# googleapis is broken on sle12
+sed -i '/apputils/d' python/setup.py
+sed -i '/google_test_dir/d' python/setup.py
+%endif
 
 %build
 %if 0%{?mandriva_version}




commit protobuf for openSUSE:Factory

2015-11-17 Thread h_root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2015-11-17 14:20:28

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is "protobuf"

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2015-08-10 
09:12:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2015-11-17 
14:20:29.0 +0100
@@ -1,0 +2,16 @@
+Thu Nov 12 12:30:26 UTC 2015 - alarr...@suse.com
+
+- Python bindings require a recent python-google-apputils, so build
+ them where it's available (that's anything recent except SLE12)
+
+---
+Thu Nov 12 09:36:46 UTC 2015 - alarr...@suse.com
+
+- Fix check so python bindings are not built in SLE12
+
+---
+Fri Nov  6 08:32:15 UTC 2015 - edog...@aon.at
+
+- tweak spec to build python bindings for Leap 42.1
+
+---



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.qwM2tm/_old  2015-11-17 14:20:30.0 +0100
+++ /var/tmp/diff_new_pack.qwM2tm/_new  2015-11-17 14:20:30.0 +0100
@@ -37,10 +37,11 @@
 %else
 %bcond_with protobuf_java
 %endif
-%if 0%{?suse_version} > 1210 && 0%{?suse_version} != 1315
-%bcond_without protobuf_python
-%else
+# Don't build the python bindings in SLE12 or old distros
+%if ( 0%{?suse_version} == 1315 && !0%{?is_opensuse} ) || 0%{?suse_version} < 
1210
 %bcond_with protobuf_python
+%else
+%bcond_without protobuf_python
 %endif
 %if 0%{?suse_version} > 1010
 BuildRequires:  fdupes




commit protobuf for openSUSE:Factory

2015-08-10 Thread h_root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2015-08-10 09:12:21

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is protobuf

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2015-03-30 
19:30:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2015-08-10 
09:12:22.0 +0200
@@ -1,0 +2,6 @@
+Wed Jul 29 09:56:31 UTC 2015 - dims...@opensuse.org
+
+- Fix baselibs.conf: last time the sonames were bumped,
+  baselibs.conf has not been updated accordingly.
+
+---



Other differences:
--
++ protobuf.spec ++
+++ empty output from diff against protobuf.spec

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.mvGKyA/_old  2015-08-10 09:12:23.0 +0200
+++ /var/tmp/diff_new_pack.mvGKyA/_new  2015-08-10 09:12:23.0 +0200
@@ -1,3 +1,3 @@
-libprotobuf8
-libprotobuf-lite8
-libprotoc8
+libprotobuf9
+libprotoc9
+libprotobuf-lite9




commit protobuf for openSUSE:Factory

2015-03-30 Thread h_root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2015-03-30 19:30:52

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is protobuf

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2013-11-07 
08:43:44.0 +0100
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2015-03-30 
19:30:53.0 +0200
@@ -1,0 +2,52 @@
+Sat Feb 28 10:41:07 UTC 2015 - mplus...@suse.com
+
+- Add protobuf-return-no-nonvoid.patch
+- Do not install examples
+- Remove 0001-Add-generic-GCC-support-for-atomic-operations.patch
+
+---
+Fri Feb 27 19:20:16 UTC 2015 - mplus...@suse.com
+
+- Use current url's
+- Update dependencies
+  * python bindings now require recent python-google-apputils 
+which are available only in recet (13.1 and higher releases of
+openSUSE)
+- Update to 2.6.1
+  * Added atomicops support for Solaris.
+  * Released memory allocated by InitializeDefaultRepeatedFields() 
+and GetEmptyString(). Some memory sanitizers reported them 
+as memory leaks.
+  * Updated DynamicMessage.setField() to handle repeated enum 
+values correctly.
+  * Fixed a bug that caused NullPointerException to be thrown when 
+converting manually constructed FileDescriptorProto to 
+FileDescriptor.
+- Changes for 2.6.0
+  * Added oneofs(unions) feature. Fields in the same oneof will 
+share memory and at most one field can be set at the same time.
+  * Files, services, enums, messages, methods and enum values 
+can be marked as deprecated now.
+  * Added Support for list values, including lists of mesaages, 
+when parsing text-formatted protos in C++ and Java.
+  * Enhanced customization on TestFormat printing.
+  * Added SwapFields() in reflection API to swap a subset of 
+fields.
+  * Added SetAllocatedMessage() in reflection API.
+  * Repeated primitive extensions are now packable. The 
+[packed=true] option only affects serializers. Therefore,
+it is possible to switch a repeated extension field to 
+packed format without breaking backwards-compatibility.
+  * Various speed optimizations.
+  * writeTo() method in ByteString can now write a substring to 
+an output stream. Added endWith() method for ByteString.
+  * ByteString and ByteBuffer are now supported in CodedInputStream
+and CodedOutputStream.
+  * java_generate_equals_and_hash can now be used with the 
+LITE_RUNTIME.
+  * A new C++-backed extension module (aka cpp api v2) that 
+replaces the old (cpp api v1) one. Much faster than the 
+pure Python code. This one resolves many bugs and is 
+recommended for general use over the pure Python when possible.
+
+---

Old:

  0001-Add-generic-GCC-support-for-atomic-operations.patch
  protobuf-2.5.0.tar.bz2

New:

  protobuf-2.6.1.tar.bz2
  protobuf-return-no-nonvoid.patch



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.M7XAVu/_old  2015-03-30 19:30:54.0 +0200
+++ /var/tmp/diff_new_pack.M7XAVu/_new  2015-03-30 19:30:54.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package protobuf
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -16,34 +16,32 @@
 #
 
 
-%define soname 8
-
+%define soname 9
 %bcond_without check
-
+Name:   protobuf
+Version:2.6.1
+Release:0
+Summary:Protocol Buffers - Google's data interchange format
+License:BSD-3-Clause
+Group:  Development/Libraries/C and C++
+Url:https://github.com/google/protobuf/
+Source0:
https://github.com/google/protobuf/releases/download/v%{version}/%{name}-%{version}.tar.bz2
+Source1:manifest.txt.in
+Source2:   baselibs.conf
+Patch0: protobuf-setuptools-2.4.1.patch
+# fix no-return-in-nonvoid-function google/protobuf/extension_set.cc:74
+Patch1: protobuf-return-no-nonvoid.patch
+BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?fedora_version}  8 || 0%{?mandriva_version}  2008 || 
0%{?suse_version}  1030
 %bcond_without protobuf_java
 %else
 %bcond_with protobuf_java
 %endif
-
-%if 0%{?suse_version}  1100
+%if 0%{?suse_version}  1210  0%{?suse_version} != 1315
 %bcond_without protobuf_python
 %else
 %bcond_with protobuf_python
 %endif
-
-Name:   protobuf
-Summary:Protocol 

commit protobuf for openSUSE:Factory

2013-11-06 Thread h_root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2013-11-07 08:43:43

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is protobuf

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2013-06-11 
09:36:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2013-11-07 
08:43:44.0 +0100
@@ -1,0 +2,5 @@
+Tue Nov  5 13:38:45 UTC 2013 - sleep_wal...@suse.cz
+
+- fix java flags to build package for SLE_11_SP3
+
+---



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.TuyGdU/_old  2013-11-07 08:43:45.0 +0100
+++ /var/tmp/diff_new_pack.TuyGdU/_new  2013-11-07 08:43:45.0 +0100
@@ -152,7 +152,7 @@
 %if 0%{?suse_version} == 1110
 # 11.1 only workaround
 # http://en.opensuse.org/Java/Packaging/Cookbook#bytecode_version_error
-extra_java_flags=-target 1.5
+extra_java_flags=-target 1.5 -source 1.5
 %endif
 javac $extra_java_flags -d classes src/main/java/com/google/protobuf/*.java
 sed -e 's/@VERSION@/%version/'  %{SOURCE1}  manifest.txt

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit protobuf for openSUSE:Factory

2013-06-11 Thread h_root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2013-06-11 06:37:47

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is protobuf

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2013-06-05 
13:08:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2013-06-11 
09:36:38.0 +0200
@@ -1,0 +2,6 @@
+Fri Jun  7 15:32:55 UTC 2013 - dval...@suse.com
+
+- package google/protobuf/stubs/atomicops_internals_generic_gcc.h
+  mosh reqires it 
+
+---



Other differences:
--
++ 0001-Add-generic-GCC-support-for-atomic-operations.patch ++
--- /var/tmp/diff_new_pack.xtGZM8/_old  2013-06-11 09:36:38.0 +0200
+++ /var/tmp/diff_new_pack.xtGZM8/_new  2013-06-11 09:36:38.0 +0200
@@ -12,10 +12,10 @@
  3 files changed, 153 insertions(+), 2 deletions(-)
  create mode 100644 src/google/protobuf/stubs/atomicops_internals_generic_gcc.h
 
-diff --git a/src/google/protobuf/stubs/atomicops.h 
b/src/google/protobuf/stubs/atomicops.h
-index b8581fa..883b125 100644
 a/src/google/protobuf/stubs/atomicops.h
-+++ b/src/google/protobuf/stubs/atomicops.h
+Index: protobuf-2.5.0/src/google/protobuf/stubs/atomicops.h
+===
+--- protobuf-2.5.0.orig/src/google/protobuf/stubs/atomicops.h
 protobuf-2.5.0/src/google/protobuf/stubs/atomicops.h
 @@ -185,7 +185,7 @@ GOOGLE_PROTOBUF_ATOMICOPS_ERROR
  #elif defined(__pnacl__)
  #include google/protobuf/stubs/atomicops_internals_pnacl.h
@@ -25,11 +25,10 @@
  #endif
  
  // Unknown.
-diff --git a/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h 
b/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h
-new file mode 100644
-index 000..3fc2a9b
+Index: 
protobuf-2.5.0/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h
+===
 --- /dev/null
-+++ b/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h
 protobuf-2.5.0/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h
 @@ -0,0 +1,139 @@
 +// Protocol Buffers - Google's data interchange format
 +// Copyright 2013 Red Hat Inc.  All rights reserved.
@@ -170,10 +169,10 @@
 +}  // namespace google
 +
 +#endif  // GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_GENERIC_GCC_H_
-diff --git a/src/google/protobuf/stubs/platform_macros.h 
b/src/google/protobuf/stubs/platform_macros.h
-index b1df60e..db691d8 100644
 a/src/google/protobuf/stubs/platform_macros.h
-+++ b/src/google/protobuf/stubs/platform_macros.h
+Index: protobuf-2.5.0/src/google/protobuf/stubs/platform_macros.h
+===
+--- protobuf-2.5.0.orig/src/google/protobuf/stubs/platform_macros.h
 protobuf-2.5.0/src/google/protobuf/stubs/platform_macros.h
 @@ -43,6 +43,9 @@
  #elif defined(_M_IX86) || defined(__i386__)
  #define GOOGLE_PROTOBUF_ARCH_IA32 1
@@ -204,5 +203,35 @@
  #else
  #error Host architecture was not detected as supported by protobuf
  #endif
--- 
-1.8.1.4
+Index: protobuf-2.5.0/src/Makefile.am
+===
+--- protobuf-2.5.0.orig/src/Makefile.am
 protobuf-2.5.0/src/Makefile.am
+@@ -47,6 +47,7 @@ nobase_include_HEADERS =
+   google/protobuf/stubs/atomicops_internals_pnacl.h \
+   google/protobuf/stubs/atomicops_internals_x86_gcc.h   \
+   google/protobuf/stubs/atomicops_internals_x86_msvc.h  \
++  google/protobuf/stubs/atomicops_internals_generic_gcc.h   \
+   google/protobuf/stubs/common.h\
+   google/protobuf/stubs/platform_macros.h   \
+   google/protobuf/stubs/once.h  \
+Index: protobuf-2.5.0/src/Makefile.in
+===
+--- protobuf-2.5.0.orig/src/Makefile.in
 protobuf-2.5.0/src/Makefile.in
+@@ -314,6 +314,7 @@ am__nobase_include_HEADERS_DIST = google
+   google/protobuf/stubs/atomicops_internals_pnacl.h \
+   google/protobuf/stubs/atomicops_internals_x86_gcc.h \
+   google/protobuf/stubs/atomicops_internals_x86_msvc.h \
++  google/protobuf/stubs/atomicops_internals_generic_gcc.h \
+   google/protobuf/stubs/common.h \
+   google/protobuf/stubs/platform_macros.h \
+   google/protobuf/stubs/once.h \
+@@ -523,6 +524,7 @@ nobase_include_HEADERS = \
+   google/protobuf/stubs/atomicops_internals_pnacl.h \
+   google/protobuf/stubs/atomicops_internals_x86_gcc.h   \
+   

commit protobuf for openSUSE:Factory

2013-06-05 Thread h_root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2013-06-05 13:08:12

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is protobuf

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2013-04-17 
23:16:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2013-06-05 
13:08:13.0 +0200
@@ -1,0 +2,6 @@
+Mon May 27 10:44:05 UTC 2013 - dval...@suse.com
+
+- Build on architectures where no specialized code has been written
+  0001-Add-generic-GCC-support-for-atomic-operations.patch
+  
+---

New:

  0001-Add-generic-GCC-support-for-atomic-operations.patch



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.KYcGfA/_old  2013-06-05 13:08:13.0 +0200
+++ /var/tmp/diff_new_pack.KYcGfA/_new  2013-06-05 13:08:13.0 +0200
@@ -42,6 +42,7 @@
 Source0:http://protobuf.googlecode.com/files/%{name}-%{version}.tar.bz2
 Source1:manifest.txt.in
 Patch0: protobuf-setuptools-2.4.1.patch
+Patch1: 0001-Add-generic-GCC-support-for-atomic-operations.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version}  1010
 BuildRequires:  fdupes
@@ -133,6 +134,7 @@
 
 %setup -q
 %patch0 -p0
+%patch1 -p1
 
 %build
 %if 0%{?mandriva_version}

++ 0001-Add-generic-GCC-support-for-atomic-operations.patch ++
From d099ec11fc8c2eb97df2bf2fbb6996066eefca46 Mon Sep 17 00:00:00 2001
From: Stanislav Ochotnicky sochotni...@redhat.com
Date: Thu, 2 May 2013 10:43:47 +0200
Subject: [PATCH] Add generic GCC support for atomic operations

This is useful for architectures where no specialized code has been
written.
---
 src/google/protobuf/stubs/atomicops.h  |   2 +-
 .../stubs/atomicops_internals_generic_gcc.h| 139 +
 src/google/protobuf/stubs/platform_macros.h|  14 ++-
 3 files changed, 153 insertions(+), 2 deletions(-)
 create mode 100644 src/google/protobuf/stubs/atomicops_internals_generic_gcc.h

diff --git a/src/google/protobuf/stubs/atomicops.h 
b/src/google/protobuf/stubs/atomicops.h
index b8581fa..883b125 100644
--- a/src/google/protobuf/stubs/atomicops.h
+++ b/src/google/protobuf/stubs/atomicops.h
@@ -185,7 +185,7 @@ GOOGLE_PROTOBUF_ATOMICOPS_ERROR
 #elif defined(__pnacl__)
 #include google/protobuf/stubs/atomicops_internals_pnacl.h
 #else
-GOOGLE_PROTOBUF_ATOMICOPS_ERROR
+#include google/protobuf/stubs/atomicops_internals_generic_gcc.h
 #endif
 
 // Unknown.
diff --git a/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h 
b/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h
new file mode 100644
index 000..3fc2a9b
--- /dev/null
+++ b/src/google/protobuf/stubs/atomicops_internals_generic_gcc.h
@@ -0,0 +1,139 @@
+// Protocol Buffers - Google's data interchange format
+// Copyright 2013 Red Hat Inc.  All rights reserved.
+// http://code.google.com/p/protobuf/
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions are
+// met:
+//
+// * Redistributions of source code must retain the above copyright
+// notice, this list of conditions and the following disclaimer.
+// * Redistributions in binary form must reproduce the above
+// copyright notice, this list of conditions and the following disclaimer
+// in the documentation and/or other materials provided with the
+// distribution.
+// * Neither the name of Red Hat Inc. nor the names of its
+// contributors may be used to endorse or promote products derived from
+// this software without specific prior written permission.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+// AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+// This file is an internal atomic implementation, use atomicops.h instead.
+
+#ifndef GOOGLE_PROTOBUF_ATOMICOPS_INTERNALS_GENERIC_GCC_H_

commit protobuf for openSUSE:Factory

2013-04-17 Thread h_root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2013-04-17 23:16:21

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is protobuf, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2012-05-22 
08:18:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2013-04-17 
23:16:23.0 +0200
@@ -1,0 +2,20 @@
+Fri Apr 12 18:35:09 UTC 2013 - ft...@geeko.jp
+
+- Upstream update to 2.5.0
+  * New construct import public
+  * New enum option allow_alias
+  * C++: New generated method set_allocated_foo(Type* foo)
+  * C++: Added SetAllocatedExtension() and ReleaseExtension()
+to extensions API
+  * Java: Added getters/setters to access the underlying ByteString
+of a string field
+  * Java: New operations for substring(), prepend(), and append()
+  * Java: New method findInitializationErrors()
+  * Python: Support for dynamic message creation
+  * Python: Fixed custom options were not correctly populated
+  * Python: Added EnumTypeWrapper
+  * Python: Added ParseMessage(descriptor, bytes)
+  * Various bug fixes and optimazations
+- Drop gtest-1.5, which is now included by the archive from
+  the upstream
+---

Old:

  gtest-1.5.0.tar.bz2
  protobuf-2.4.1.tar.bz2

New:

  protobuf-2.5.0.tar.bz2



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.whtSMn/_old  2013-04-17 23:16:24.0 +0200
+++ /var/tmp/diff_new_pack.whtSMn/_new  2013-04-17 23:16:24.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package protobuf
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -16,7 +16,7 @@
 #
 
 
-%define soname 7
+%define soname 8
 
 %bcond_without check
 
@@ -36,20 +36,13 @@
 Summary:Protocol Buffers - Google's data interchange format
 License:BSD-3-Clause
 Group:  Development/Libraries/C and C++
-Version:2.4.1
+Version:2.5.0
 Release:0
-# Reminder: Remove gtest 1.5.0 injected tarball.
 Url:http://code.google.com/p/protobuf/ 
 Source0:http://protobuf.googlecode.com/files/%{name}-%{version}.tar.bz2
 Source1:manifest.txt.in
-# gtest 1.5.0 is just there to fuix the build with gcc 4.7... newer version of 
protobuf includes this.
-Source2:gtest-1.5.0.tar.bz2
 Patch0: protobuf-setuptools-2.4.1.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-# Needed to rebootstrap with gtest 1.5.0
-BuildRequires:  gcc-c++
-BuildRequires:  libtool
-BuildRequires:  zlib-devel
 %if 0%{?suse_version}  1010
 BuildRequires:  fdupes
 %endif
@@ -57,9 +50,11 @@
 BuildRequires:  java-devel = 1.6.0
 %endif
 %if %{with protobuf_python}
+BuildRequires:  gcc-c++
 BuildRequires:  python
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
+BuildRequires:  zlib-devel
 %endif
 
 %description
@@ -138,21 +133,13 @@
 
 %setup -q
 %patch0 -p0
-%if %{version} == 2.4.1
-rm -rf gtest
-tar xf %{S:2}
-%else
-echo Drop this gtest injection hack... any newer version than protobuf 2.4.1 
should have gtest 1.5.0 included.
-false
-%endif
 
 %build
 %if 0%{?mandriva_version}
 #XXX something wents wrong with detecting this
 export PTHREAD_LIBS=-lpthread
 %endif
-# Needed due to gtest 1.5.0 injection
-autoreconf -fiv
+#
 %configure --disable-static
 %{__make} %{?jobs:-j%jobs}
 #

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.whtSMn/_old  2013-04-17 23:16:24.0 +0200
+++ /var/tmp/diff_new_pack.whtSMn/_new  2013-04-17 23:16:24.0 +0200
@@ -1,3 +1,3 @@
-libprotobuf7
-libprotobuf-lite7
-libprotoc7
+libprotobuf8
+libprotobuf-lite8
+libprotoc8

++ protobuf-2.4.1.tar.bz2 - protobuf-2.5.0.tar.bz2 ++
 173353 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit protobuf for openSUSE:Factory

2012-05-22 Thread h_root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2012-05-22 08:18:03

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is protobuf, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2012-04-18 
12:35:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2012-05-22 
08:18:05.0 +0200
@@ -1,0 +2,6 @@
+Sat May 19 18:25:52 UTC 2012 - crrodrig...@opensuse.org
+
+- BuildRequire zlib-devel otherwise gzip_stream is not built 
+  thus breaking newer releases of mosh.
+
+---



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.xOayMt/_old  2012-05-22 08:18:08.0 +0200
+++ /var/tmp/diff_new_pack.xOayMt/_new  2012-05-22 08:18:08.0 +0200
@@ -47,8 +47,9 @@
 Patch0: protobuf-setuptools-2.4.1.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 # Needed to rebootstrap with gtest 1.5.0
-BuildRequires:  libtool
 BuildRequires:  gcc-c++
+BuildRequires:  libtool
+BuildRequires:  zlib-devel
 %if 0%{?suse_version}  1010
 BuildRequires:  fdupes
 %endif
@@ -96,8 +97,11 @@
 %package devel
 Summary:Header files, libraries and development documentation for 
%{name}
 Group:  Development/Libraries/C and C++
-Requires:   gcc-c++ libprotobuf%{soname} = %version 
libprotobuf-lite%{soname}
+Requires:   gcc-c++
+Requires:   libprotobuf%{soname} = %version
+Requires:   libprotobuf-lite%{soname}
 Provides:   libprotobuf-devel = %version
+Requires:   zlib-devel
 BuildRequires:  pkg-config
 
 %description devel

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit protobuf for openSUSE:Factory

2012-04-18 Thread h_root
Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory 
checked in at 2012-04-18 12:35:00

Comparing /work/SRC/openSUSE:Factory/protobuf (Old)
 and  /work/SRC/openSUSE:Factory/.protobuf.new (New)


Package is protobuf, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/protobuf/protobuf.changes2012-01-04 
07:30:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.protobuf.new/protobuf.changes   2012-04-18 
12:35:08.0 +0200
@@ -1,0 +2,13 @@
+Fri Mar 16 16:15:25 UTC 2012 - dims...@opensuse.org
+
+- Add gtest-1.5.0.tar.bz2: This is the release tarball of gtest 1.5
+  which is being used by make check. The included 1.4.0 does not
+  work with gcc 4.7, thus replacing the gtest folder with this
+  snapshot.
+- Wrapped the gtest extraction with a version check... on next
+  version the package will fail in order to remember to take this
+  out again (next release of protobuf bundles gtest 1.5.0)
+- Add libtool BuildRequires and call to autoreconf, as gtest 1.5.0
+  needs to be bootstrapped.
+
+---

New:

  gtest-1.5.0.tar.bz2



Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.Jf6fh4/_old  2012-04-18 12:35:12.0 +0200
+++ /var/tmp/diff_new_pack.Jf6fh4/_new  2012-04-18 12:35:12.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package protobuf
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %define soname 7
 
 %bcond_without check
@@ -37,11 +38,16 @@
 Group:  Development/Libraries/C and C++
 Version:2.4.1
 Release:0
+# Reminder: Remove gtest 1.5.0 injected tarball.
 Url:http://code.google.com/p/protobuf/ 
 Source0:http://protobuf.googlecode.com/files/%{name}-%{version}.tar.bz2
 Source1:manifest.txt.in
+# gtest 1.5.0 is just there to fuix the build with gcc 4.7... newer version of 
protobuf includes this.
+Source2:gtest-1.5.0.tar.bz2
 Patch0: protobuf-setuptools-2.4.1.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+# Needed to rebootstrap with gtest 1.5.0
+BuildRequires:  libtool
 BuildRequires:  gcc-c++
 %if 0%{?suse_version}  1010
 BuildRequires:  fdupes
@@ -128,12 +134,21 @@
 
 %setup -q
 %patch0 -p0
+%if %{version} == 2.4.1
+rm -rf gtest
+tar xf %{S:2}
+%else
+echo Drop this gtest injection hack... any newer version than protobuf 2.4.1 
should have gtest 1.5.0 included.
+false
+%endif
 
 %build
 %if 0%{?mandriva_version}
 #XXX something wents wrong with detecting this
 export PTHREAD_LIBS=-lpthread
 %endif
+# Needed due to gtest 1.5.0 injection
+autoreconf -fiv
 %configure --disable-static
 %{__make} %{?jobs:-j%jobs}
 #

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit protobuf for openSUSE:Factory

2011-04-19 Thread h_root

Hello community,

here is the log from the commit of package protobuf for openSUSE:Factory
checked in at Tue Apr 19 09:33:20 CEST 2011.




--- protobuf/protobuf.changes   2010-12-15 10:43:40.0 +0100
+++ /mounts/work_src_done/STABLE/protobuf/protobuf.changes  2011-04-19 
00:23:25.0 +0200
@@ -1,0 +2,5 @@
+Tue Apr 19 00:23:14 CEST 2011 - r...@suse.de
+
+- update baselibs.conf 
+
+---

calling whatdependson for head-i586




Other differences:
--
++ protobuf.spec ++
--- /var/tmp/diff_new_pack.PIHnPO/_old  2011-04-19 09:33:02.0 +0200
+++ /var/tmp/diff_new_pack.PIHnPO/_new  2011-04-19 09:33:02.0 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package protobuf (Version 2.3.0)
+# spec file for package protobuf
 #
 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
@@ -36,7 +36,7 @@
 Name:   protobuf
 Summary:Protocol Buffers - Google's data interchange format
 Version:2.3.0
-Release:4
+Release:9
 License:New BSD License
 Group:  Development/Libraries/C and C++
 Url:http://code.google.com/p/protobuf/ 

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.PIHnPO/_old  2011-04-19 09:33:02.0 +0200
+++ /var/tmp/diff_new_pack.PIHnPO/_new  2011-04-19 09:33:02.0 +0200
@@ -1,3 +1,3 @@
-libprotobuf5
-libprotobuf-lite5
-libprotoc5
+libprotobuf6
+libprotobuf-lite6
+libprotoc6






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org