Hello community,

here is the log from the commit of package protobuf for openSUSE:Leap:15.2 
checked in at 2020-02-05 07:29:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/protobuf (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.protobuf.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "protobuf"

Wed Feb  5 07:29:15 2020 rev:27 rq:764760 version:3.9.1

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/protobuf/protobuf.changes      2020-01-15 
15:45:32.843326988 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.protobuf.new.26092/protobuf.changes   
2020-02-05 07:29:20.798744871 +0100
@@ -1,0 +2,296 @@
+Fri Sep 27 07:00:11 UTC 2019 - Fridrich Strba <[email protected]>
+
+- Package also the protobuf-bom pom file
+
+-------------------------------------------------------------------
+Thu Aug 22 07:12:14 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- 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.
+
+-------------------------------------------------------------------
+Sat Jun  8 06:13:57 UTC 2019 - Fridrich Strba <[email protected]>
+
+- Specify java source and target levels in order to build
+  compatible protobuf-java binaries
+
+-------------------------------------------------------------------
+Wed Jun  5 18:58:30 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- 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)
+
+-------------------------------------------------------------------
+Wed Apr 24 17:35:37 UTC 2019 - Martin Liška <[email protected]>
+
+- Disable LTO (boo#1133277).
+
+-------------------------------------------------------------------
+Wed Feb 20 12:29:06 UTC 2019 - Michał Rostecki <[email protected]>
+
+- Add upstream patch which fixes build with Bazel 0.22.0.
+  * 0001-remove-PACKAGE_NAME-and-REPOSITORY_NAME-deprecated.patch
+
+-------------------------------------------------------------------
+Tue Jan  8 12:35:43 UTC 2019 - Michał Rostecki <[email protected]>
+
+- 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.
+
+-------------------------------------------------------------------
+Mon Dec 17 10:28:51 UTC 2018 - Fridrich Strba <[email protected]>
+
+- Add maven pom files to the protobuf-java package
+
+-------------------------------------------------------------------
+Wed Sep 12 07:24:48 UTC 2018 - Thomas Bechtold <[email protected]>
+
+- 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 bazel configs for 3.6.x branch.
+  * Deleted scoped_ptr.h
+  * Check the message to be encoded is the wrong type. (#4885) (#4949)
+  * protoc-artifacts: Avoid checking out protobuf code
+  * Add conformance test for null value in list JSON
+  * Build ruby gem on kokoro (#4819)
+  * Try using a new version of Visual Studio on AppVeyor
+  * Make ruby release configs consistent with protoc.
+  * fix for API change in PHP 7.3 (#4898)
+  * Add .proto files to extract_includes.bat
+  * Update protoc build scripts.
+  * Blacklist all WELL_KNOWN_PROTOS from Bazel C++ code generation.
+  * Additional support for building and deploying ppcle_64 artifacts
+  * Fix php tests
+  * Cleanup + documentation for Java Lite runtime.
+  * Added Kokoro Windows release build config for protoc (#4766)
+  * typo
+  * fix golang kokoro linux build
+  * Fix spelling error of __GNUC_MINOR__
+  * Update code to work for Xcode 10b1 (#4729)
+  * Added pyext/thread_unsafe_shared_ptr.h
+  * Added missing .inc files to BUILD
+  * js message support for jstype string on integers (#4332)
+  * Improve error message when googletest is missing.
+  * Make assertEquals pass for message (#4947)
+  * Sync internal benchmark changes
+  * Removed some unused C++ source files
+  * Fix missing LIBPROTOC_EXPORT.
+  * Added new test source files to Makefile.am
+  * Update php version to 3.6.0 (#4736)
+  * Fix RepeatedField#delete_if (#4292)
+  * Merge branch (#4466)
+  * Implement array constructor in php c extension.
+  * protoc-artifacts: Update centos base from 6.6 to 6.9
+  * PHP array constructors for protobuf messages (#4530)
+  * Fix problem: cmake build failed in c++11  by clang
+  * Don't assume Windows builds use MSVC.
+  * Use legacy name in php runtime (#4741)
+  * Add file option php_metadata_namespace and ruby_package (#4609)
+  * Fix cpp benchmark dependency on mac
+  * Use the first enum value instead of 0 in 
DefaultValueObjectWriter::FindEnumDefault
+  * Check return value on write of raw pointer
+  * Delete unused directories.
+  * Replace //:protoc and similar default macro arguments with
+  * Add extra C# file to Makefile.am
+  * includes the expected class in the exception, otherwise the error is 
harder to track down (#3371)
+  * Update instructions about getting protobuf source.
+  * Add cpp tests under release docker image.
+  * fix java benchmark, fix dashboard build
+  * `update_file_lists.sh` depends on Bash features, thus needs Bash sebang.
+  * Rename build_artifacts.cfg to release.cfg (#4818)
+  * Fix bug: whether always_print_enums_as_ints is true or false, it always 
print the default value of enums as strings
+  * source code info for interpreted options; fix source code info for 
extension range options (#4342)
+  * Updated version numbers to 3.6.1
++++ 99 more lines (skipped)
++++ between /work/SRC/openSUSE:Leap:15.2/protobuf/protobuf.changes
++++ and /work/SRC/openSUSE:Leap:15.2/.protobuf.new.26092/protobuf.changes

Old:
----
  adding-Release_CompareAndSwap-64-bit-variant.patch
  protobuf-3.5.0.tar.gz

New:
----
  protobuf-3.9.1.tar.gz

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

Other differences:
------------------
++++++ protobuf.spec ++++++
--- /var/tmp/diff_new_pack.LLOvSo/_old  2020-02-05 07:29:21.226745052 +0100
+++ /var/tmp/diff_new_pack.LLOvSo/_new  2020-02-05 07:29:21.230745054 +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
@@ -12,30 +12,30 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define sover 15
+%define sover 20
 %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.5.0
+Version:        3.9.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/
+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
-# PATCH-FIX-UPSTREAM Adding Release_CompareAndSwap 64-bit variant to fix 
compile error - [email protected]
-Patch0:         adding-Release_CompareAndSwap-64-bit-variant.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module python-dateutil}
 BuildRequires:  %{python_module python-gflags}
@@ -54,6 +54,7 @@
 %endif
 %if %{with java}
 BuildRequires:  java-devel >= 1.6.0
+BuildRequires:  javapackages-local
 %endif
 
 %description
@@ -103,6 +104,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
@@ -128,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} 
@@ -143,6 +154,7 @@
 sed -i -e '/env python/d' python/google/protobuf/internal/*.py
 
 %build
+%define _lto_cflags %{nil}
 autoreconf -fvi
 %configure \
        --disable-static
@@ -153,7 +165,7 @@
 pushd java
 ../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
@@ -176,9 +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 %{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
 
@@ -187,6 +204,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
@@ -212,9 +249,12 @@
 %{_libdir}/pkgconfig/*
 %{_datadir}/vim
 
+%files source
+%{src_install_dir}
+
 %if %{with java}
-%files -n %{name}-java
-%{_javadir}/protobuf*
+%files -n %{name}-java -f java/.mfiles
+%{_javadir}/%{name}.jar
 %endif
 
 %if %{with python2}

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.LLOvSo/_old  2020-02-05 07:29:21.250745062 +0100
+++ /var/tmp/diff_new_pack.LLOvSo/_new  2020-02-05 07:29:21.254745064 +0100
@@ -1,3 +1,3 @@
-libprotobuf15
-libprotoc15
-libprotobuf-lite15
+libprotobuf20
+libprotoc20
+libprotobuf-lite20

++++++ protobuf-3.5.0.tar.gz -> protobuf-3.9.1.tar.gz ++++++
++++ 540365 lines of diff (skipped)


Reply via email to