forked from pool/protobuf
Compare commits
82 Commits
babb5cbb9f
...
main
Author | SHA256 | Date | |
---|---|---|---|
e751161186 | |||
f37d3720b0 | |||
17f3e8e786 | |||
|
d1376bdf61 | ||
e40d2b287a | |||
|
c78eea5c12 | ||
a1e0730f31 | |||
|
b9ad65081e | ||
55a603c196 | |||
|
07ddc22462 | ||
fcc27c5694 | |||
21c974f300 | |||
a8a8f0bf8a | |||
a8bea46b44 | |||
1c5fe2e13c | |||
b116a9d015 | |||
e71f94f421 | |||
810e79e136 | |||
266b14b67c | |||
74a62f39f8 | |||
16dc405c9e | |||
cca1940c3f | |||
9ba81ab06e | |||
a5acf7c551 | |||
355d84e9e8 | |||
219c90a8b9 | |||
b815403ec3 | |||
c4ecc838a2 | |||
93431fe64f | |||
4cab13b508 | |||
5e54950d13 | |||
3b6b5b2790 | |||
481589961b | |||
2859b91ec4 | |||
542d55ea5b | |||
9b203528c5 | |||
4985b87b38 | |||
43bfdb687c | |||
1f2f663417 | |||
24c917a061 | |||
b459bef35c | |||
6b1b9dc00e | |||
cbb1d096af | |||
813fc26924 | |||
|
4132cf3fc4 | ||
|
5449bc864d | ||
9f65a540cc | |||
3ec8482eed | |||
6195e14811 | |||
4b0fe316ec | |||
a1129049cf | |||
1beb4bf993 | |||
e29f35ef89 | |||
2a29a0cecc | |||
8a8d6d39d5 | |||
a709f952ce | |||
e3961b7270 | |||
|
fa52e9190f | ||
|
692faf3693 | ||
387ebe4f27 | |||
5cc64b82c2 | |||
a8e830fcf7 | |||
48ba94bd55 | |||
6ab972c85f | |||
0644605921 | |||
0d0163ef4e | |||
7449a38e26 | |||
6db9da0a82 | |||
|
d01e280d88 | ||
|
be89592d4f | ||
15f7fae7c3 | |||
b39a1afbd5 | |||
44cf602bb1 | |||
|
8a2b62cde2 | ||
|
e228d0ac67 | ||
|
af00323f5f | ||
|
abaa27c29a | ||
|
9086c9e4ed | ||
|
4c63a6d44b | ||
|
75e1a283d8 | ||
|
ce318e3421 | ||
|
83de8dca8d |
@@ -1,5 +1,4 @@
|
||||
<multibuild>
|
||||
<package>python-protobuf</package>
|
||||
<package>protobuf-java</package>
|
||||
</multibuild>
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
libprotobuf28_3_0
|
||||
libprotoc28_3_0
|
||||
libprotobuf-lite28_3_0
|
||||
libutf8_range-28_3_0
|
||||
libprotobuf29_3_0
|
||||
libprotoc29_3_0
|
||||
libprotobuf-lite29_3_0
|
||||
libutf8_range-29_3_0
|
||||
|
BIN
protobuf-28.3.tar.gz
(Stored with Git LFS)
BIN
protobuf-28.3.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
protobuf-29.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
protobuf-29.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
protobuf-5.28.3.tar.gz
(Stored with Git LFS)
BIN
protobuf-5.28.3.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
protobuf-5.29.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
protobuf-5.29.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>com.google.protobuf</groupId>
|
||||
<artifactId>protobuf-parent</artifactId>
|
||||
<version>4.28.3</version>
|
||||
<version>4.29.3</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>protobuf-java</artifactId>
|
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>com.google.protobuf</groupId>
|
||||
<artifactId>protobuf-parent</artifactId>
|
||||
<version>4.28.3</version>
|
||||
<version>4.29.3</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>protobuf-java-util</artifactId>
|
||||
@@ -16,32 +16,37 @@
|
||||
<dependency>
|
||||
<groupId>com.google.protobuf</groupId>
|
||||
<artifactId>protobuf-java</artifactId>
|
||||
<version>4.28.3</version>
|
||||
<version>4.29.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.code.findbugs</groupId>
|
||||
<artifactId>jsr305</artifactId>
|
||||
<version>3.0.2</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
<artifactId>gson</artifactId>
|
||||
<version>2.8.9</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.errorprone</groupId>
|
||||
<artifactId>error_prone_annotations</artifactId>
|
||||
<version>2.18.0</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>32.0.1-jre</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.j2objc</groupId>
|
||||
<artifactId>j2objc-annotations</artifactId>
|
||||
<version>2.8</version>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
34
protobuf-java-util-removescope.patch
Normal file
34
protobuf-java-util-removescope.patch
Normal file
@@ -0,0 +1,34 @@
|
||||
--- pom.xml 2025-05-02 23:04:51.224332863 +0200
|
||||
+++ pom.xml 2025-05-02 23:05:30.728959217 +0200
|
||||
@@ -22,31 +22,26 @@
|
||||
<groupId>com.google.code.findbugs</groupId>
|
||||
<artifactId>jsr305</artifactId>
|
||||
<version>3.0.2</version>
|
||||
- <scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
<artifactId>gson</artifactId>
|
||||
<version>2.8.9</version>
|
||||
- <scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.errorprone</groupId>
|
||||
<artifactId>error_prone_annotations</artifactId>
|
||||
<version>2.18.0</version>
|
||||
- <scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>32.0.1-jre</version>
|
||||
- <scope>runtime</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.j2objc</groupId>
|
||||
<artifactId>j2objc-annotations</artifactId>
|
||||
<version>2.8</version>
|
||||
- <scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 1 09:05:08 UTC 2025 - Antonello Tartamo <antonello.tartamo@suse.com>
|
||||
|
||||
- update to 29.3
|
||||
* Fix cmake installation location of java and go features.
|
||||
* Add .bazeliskrc for protobuf repo to tell bazelisk to use 7.1.2 by default.
|
||||
* Update artifact actions to v4
|
||||
* Added protobuf-java-util-removescope.patch to avoid Java compilation errors
|
||||
due to dependencies marked as runtime.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 28 08:20:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package protobuf-java
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -18,8 +18,9 @@
|
||||
|
||||
|
||||
%define tarname protobuf
|
||||
%define patchjuname protobuf-java-util-removescope.patch
|
||||
Name: protobuf-java
|
||||
Version: 28.3
|
||||
Version: 29.3
|
||||
Release: 0
|
||||
Summary: Java Bindings for Google Protocol Buffers
|
||||
License: BSD-3-Clause
|
||||
@@ -29,6 +30,7 @@ Source0: https://github.com/protocolbuffers/protobuf/releases/download/v%
|
||||
Source1: https://repo1.maven.org/maven2/com/google/protobuf/%{name}/4.%{version}/%{name}-4.%{version}.pom
|
||||
Source2: https://repo1.maven.org/maven2/com/google/protobuf/%{name}lite/4.%{version}/%{name}lite-4.%{version}.pom
|
||||
Source3: https://repo1.maven.org/maven2/com/google/protobuf/%{name}-util/4.%{version}/%{name}-util-4.%{version}.pom
|
||||
Source4: %{patchjuname}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: maven-local
|
||||
@@ -86,6 +88,10 @@ pushd java
|
||||
cp %{SOURCE1} core/pom.xml
|
||||
cp %{SOURCE2} lite/pom.xml
|
||||
cp %{SOURCE3} util/pom.xml
|
||||
cp %{SOURCE4} util/%{patchjuname}
|
||||
pushd util
|
||||
patch -p0 < %{patchjuname}
|
||||
popd
|
||||
%pom_disable_module kotlin
|
||||
%pom_disable_module kotlin-lite
|
||||
%pom_remove_plugin :animal-sniffer-maven-plugin
|
||||
|
@@ -4,7 +4,7 @@
|
||||
<parent>
|
||||
<groupId>com.google.protobuf</groupId>
|
||||
<artifactId>protobuf-parent</artifactId>
|
||||
<version>4.28.3</version>
|
||||
<version>4.29.3</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>protobuf-javalite</artifactId>
|
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 1 09:05:08 UTC 2025 - Antonello Tartamo <antonello.tartamo@suse.com>
|
||||
|
||||
- update to 29.3
|
||||
* Fix cmake installation location of java and go features.
|
||||
* Add .bazeliskrc for protobuf repo to tell bazelisk to use 7.1.2 by default.
|
||||
* Update artifact actions to v4
|
||||
* Added protobuf-java-util-removescope.patch to avoid Java compilation errors
|
||||
due to dependencies marked as runtime.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 28 08:20:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
@@ -25,6 +35,7 @@ Fri Oct 25 15:24:11 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
.com/protocolbuffers/protobuf/commit/3ea568a9b6107ebf0d617c47
|
||||
6f53a31490fd3182)
|
||||
* Mute the minor version warning
|
||||
* fixed (bsc#1230778, CVE-2024-7254)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 20:56:51 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package protobuf
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -20,7 +20,7 @@
|
||||
%define tarname protobuf
|
||||
# see cmake/abseil-cpp.cmake and src/google/protobuf/port_def.inc
|
||||
%define abseil_min_version 20230125.3
|
||||
%global sover 28_3_0
|
||||
%global sover 29_3_0
|
||||
%if 0%{?gcc_version} < 11
|
||||
%define with_gcc 11
|
||||
%endif
|
||||
@@ -66,7 +66,7 @@
|
||||
%global protoc_arch sparc_64
|
||||
%endif
|
||||
Name: protobuf
|
||||
Version: 28.3
|
||||
Version: 29.3
|
||||
Release: 0
|
||||
Summary: Protocol Buffers - Google's data interchange format
|
||||
License: BSD-3-Clause
|
||||
@@ -206,6 +206,7 @@ install -Dm 0644 editors/proto.vim %{buildroot}%{_datadir}/vim/site/syntax/proto
|
||||
# manual ln that we could not manage to get into versionize-shlibs.patch
|
||||
ln -s libutf8_range-%{version}.0.so %{buildroot}/%{_libdir}/libutf8_range.so
|
||||
ln -s libutf8_validity-%{version}.0.so %{buildroot}/%{_libdir}/libutf8_validity.so
|
||||
install -D java/core/src/main/resources/google/protobuf/java_features.proto %{buildroot}%{_includedir}/java/core/src/main/resources/google/protobuf/java_features.proto
|
||||
|
||||
# create maven metadata for the protoc executable
|
||||
install -dm 0755 %{buildroot}%{_datadir}/maven-metadata
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,71 +0,0 @@
|
||||
#
|
||||
# spec file for package python-protobuf
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define baseversion 28.3
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-protobuf
|
||||
Version: 5.%{baseversion}
|
||||
Release: 0
|
||||
Summary: Python Bindings for Google Protocol Buffers
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://github.com/protocolbuffers/protobuf
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/protobuf/protobuf-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module python-dateutil}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
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 the Python bindings for Google Protocol Buffers.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n protobuf-%{version}
|
||||
|
||||
# The previous blank line is crucial for older system being able
|
||||
# to use the autosetup macro
|
||||
|
||||
grep -qF "'%{version}'" google/protobuf/__init__.py
|
||||
|
||||
# kill shebang that we do not really want
|
||||
sed -i -e '/env python/d' google/protobuf/internal/*.py
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%{python_sitearch}/google
|
||||
%{python_sitearch}/protobuf*nspkg.pth
|
||||
%{python_sitearch}/protobuf-%{version}.dist-info
|
||||
|
||||
%changelog
|
@@ -16,10 +16,10 @@ slightly different from PR19009 while the PR is unmerged.
|
||||
third_party/utf8_range/CMakeLists.txt | 8 ++++++++
|
||||
1 file changed, 8 insertions(+)
|
||||
|
||||
Index: protobuf-28.3/third_party/utf8_range/CMakeLists.txt
|
||||
Index: protobuf-29.3/third_party/utf8_range/CMakeLists.txt
|
||||
===================================================================
|
||||
--- protobuf-28.3.orig/third_party/utf8_range/CMakeLists.txt
|
||||
+++ protobuf-28.3/third_party/utf8_range/CMakeLists.txt
|
||||
--- protobuf-29.3.orig/third_party/utf8_range/CMakeLists.txt
|
||||
+++ protobuf-29.3/third_party/utf8_range/CMakeLists.txt
|
||||
@@ -19,6 +19,9 @@ add_library (utf8_range
|
||||
# A heavier-weight C++ wrapper that supports Abseil.
|
||||
add_library (utf8_validity utf8_validity.cc utf8_range.c)
|
||||
|
Reference in New Issue
Block a user