Accepting request 1004583 from home:dirkmueller:Factory
- update to 21.6: C++: * Reduce memory consumption of MessageSet parsing OBS-URL: https://build.opensuse.org/request/show/1004583 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=131
This commit is contained in:
parent
57dd385b24
commit
516a963506
28
10355.patch
28
10355.patch
@ -7,16 +7,16 @@ Subject: [PATCH 1/2] Use release version instead of libtool version
|
||||
src/Makefile.am | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
Index: protobuf-21.5/src/Makefile.am
|
||||
Index: protobuf-21.6/src/Makefile.am
|
||||
===================================================================
|
||||
--- protobuf-21.5.orig/src/Makefile.am
|
||||
+++ protobuf-21.5/src/Makefile.am
|
||||
--- protobuf-21.6.orig/src/Makefile.am
|
||||
+++ protobuf-21.6/src/Makefile.am
|
||||
@@ -18,7 +18,7 @@ else
|
||||
PTHREAD_DEF =
|
||||
endif
|
||||
|
||||
-PROTOBUF_VERSION = 32:5:0
|
||||
+PROTOBUF_VERSION = 3.21.5
|
||||
-PROTOBUF_VERSION = 32:6:0
|
||||
+PROTOBUF_VERSION = 3.21.6
|
||||
|
||||
if GCC
|
||||
# Turn on all warnings except for sign comparison (we ignore sign comparison
|
||||
@ -47,10 +47,10 @@ Index: protobuf-21.5/src/Makefile.am
|
||||
if HAVE_LD_VERSION_SCRIPT
|
||||
libprotoc_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libprotoc.map
|
||||
EXTRA_libprotoc_la_DEPENDENCIES = libprotoc.map
|
||||
Index: protobuf-21.5/cmake/libprotobuf-lite.cmake
|
||||
Index: protobuf-21.6/cmake/libprotobuf-lite.cmake
|
||||
===================================================================
|
||||
--- protobuf-21.5.orig/cmake/libprotobuf-lite.cmake
|
||||
+++ protobuf-21.5/cmake/libprotobuf-lite.cmake
|
||||
--- protobuf-21.6.orig/cmake/libprotobuf-lite.cmake
|
||||
+++ protobuf-21.6/cmake/libprotobuf-lite.cmake
|
||||
@@ -112,7 +112,6 @@ if(protobuf_BUILD_SHARED_LIBS)
|
||||
endif()
|
||||
set_target_properties(libprotobuf-lite PROPERTIES
|
||||
@ -59,10 +59,10 @@ Index: protobuf-21.5/cmake/libprotobuf-lite.cmake
|
||||
OUTPUT_NAME ${LIB_PREFIX}protobuf-lite
|
||||
DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}")
|
||||
add_library(protobuf::libprotobuf-lite ALIAS libprotobuf-lite)
|
||||
Index: protobuf-21.5/cmake/libprotobuf.cmake
|
||||
Index: protobuf-21.6/cmake/libprotobuf.cmake
|
||||
===================================================================
|
||||
--- protobuf-21.5.orig/cmake/libprotobuf.cmake
|
||||
+++ protobuf-21.5/cmake/libprotobuf.cmake
|
||||
--- protobuf-21.6.orig/cmake/libprotobuf.cmake
|
||||
+++ protobuf-21.6/cmake/libprotobuf.cmake
|
||||
@@ -128,7 +128,6 @@ if(protobuf_BUILD_SHARED_LIBS)
|
||||
endif()
|
||||
set_target_properties(libprotobuf PROPERTIES
|
||||
@ -71,10 +71,10 @@ Index: protobuf-21.5/cmake/libprotobuf.cmake
|
||||
OUTPUT_NAME ${LIB_PREFIX}protobuf
|
||||
DEBUG_POSTFIX "${protobuf_DEBUG_POSTFIX}")
|
||||
add_library(protobuf::libprotobuf ALIAS libprotobuf)
|
||||
Index: protobuf-21.5/cmake/libprotoc.cmake
|
||||
Index: protobuf-21.6/cmake/libprotoc.cmake
|
||||
===================================================================
|
||||
--- protobuf-21.5.orig/cmake/libprotoc.cmake
|
||||
+++ protobuf-21.5/cmake/libprotoc.cmake
|
||||
--- protobuf-21.6.orig/cmake/libprotoc.cmake
|
||||
+++ protobuf-21.6/cmake/libprotoc.cmake
|
||||
@@ -130,7 +130,6 @@ endif()
|
||||
set_target_properties(libprotoc PROPERTIES
|
||||
COMPILE_DEFINITIONS LIBPROTOC_EXPORTS
|
||||
|
@ -1,3 +1,3 @@
|
||||
libprotobuf3_21_5
|
||||
libprotoc3_21_5
|
||||
libprotobuf-lite3_21_5
|
||||
libprotobuf3_21_6
|
||||
libprotoc3_21_6
|
||||
libprotobuf-lite3_21_6
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4a7e87e4166c358c63342dddcde6312faee06ea9d5bb4e2fa87d3478076f6639
|
||||
size 5104616
|
3
protobuf-21.6.tar.gz
Normal file
3
protobuf-21.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dbb16fdbca8f277c9a194d9a837395cde408ca136738d94743130dd0de015efd
|
||||
size 5104731
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 19 07:27:02 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 21.6:
|
||||
C++:
|
||||
* Reduce memory consumption of MessageSet parsing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 17 19:33:06 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define sover 3_21_5
|
||||
%define sover 3_21_6
|
||||
%define tarname protobuf
|
||||
%define src_install_dir %{_prefix}/src/%{name}
|
||||
%define extra_java_flags -source 7 -target 7
|
||||
@ -27,7 +27,7 @@
|
||||
%bcond_without python2
|
||||
%bcond_without python3
|
||||
Name: protobuf
|
||||
Version: 21.5
|
||||
Version: 21.6
|
||||
Release: 0
|
||||
Summary: Protocol Buffers - Google's data interchange format
|
||||
License: BSD-3-Clause
|
||||
|
Loading…
Reference in New Issue
Block a user