Accepting request 1135293 from home:dirkmueller:Factory

- update to 1.5.0:
  * Use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR
  * remove deprecated functionality
  * Avoid "unused variable" compiler warning
  * Update autotools
  * Support for new Google protobuf 22.x, 23.x releases
  * Remove protobuf 2.x support

  versions (gh#protobuf-c#544)
    variables in generated output.

OBS-URL: https://build.opensuse.org/request/show/1135293
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/protobuf-c?expand=0&rev=48
This commit is contained in:
Jan Engelhardt 2023-12-27 11:57:39 +00:00 committed by Git OBS Bridge
parent 9177d66292
commit 9e82623032
4 changed files with 18 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4cc4facd508172f3e0a4d3a8736225d472418aee35b4ad053384b137b220339f
size 513596

BIN
protobuf-c-1.5.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,8 +1,19 @@
-------------------------------------------------------------------
Wed Dec 27 11:32:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.5.0:
* Use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR
* remove deprecated functionality
* Avoid "unused variable" compiler warning
* Update autotools
* Support for new Google protobuf 22.x, 23.x releases
* Remove protobuf 2.x support
-------------------------------------------------------------------
Mon Jun 12 20:06:14 UTC 2023 - Dirk Müller <dmueller@suse.com>
- limit to protobuf < 22 as it is not compatible with newer
versions (gh#protobuf-c#544)
versions (gh#protobuf-c#544)
-------------------------------------------------------------------
Mon Apr 24 11:19:07 UTC 2023 - Adam Majer <adam.majer@suse.de>
@ -137,7 +148,7 @@ Tue Apr 7 06:29:51 UTC 2015 - meissner@suse.com
errors in generated header files (Issue #180, #185).
* Add static qualifier to ProtobufCEnumValue and ProtobufCEnumValueIndex
variables in generated output.
variables in generated output.
[ Oleg Efimov ]
* Fix -Wpointer-sign compiler diagnostics in the test suite.

View File

@ -19,7 +19,7 @@
%define sover 1
Name: protobuf-c
Version: 1.4.1
Version: 1.5.0
Release: 0
Summary: C bindings for Google's Protocol Buffers
License: BSD-3-Clause
@ -33,9 +33,7 @@ BuildRequires: glibc-devel
BuildRequires: libtool
BuildRequires: make
BuildRequires: pkgconfig
# not compatible with v22 due to https://protobuf.dev/news/2022-08-03/#cpp-changes
# see https://github.com/protobuf-c/protobuf-c/issues/544
BuildRequires: (protobuf-devel >= 2.6.0 with protobuf-devel < 22)
BuildRequires: protobuf-devel >= 22
%description
This package provides a code generator and runtime libraries to use Protocol
@ -90,7 +88,6 @@ make check
%_libdir/libprotobuf-c.so.%sover.*
%files -n libprotobuf-c-devel
%doc ChangeLog TODO
%dir %_includedir/protobuf-c
%dir %_includedir/google
%dir %_includedir/google/protobuf-c