Compare commits

1 Commits
main ... 1.1

4 changed files with 14 additions and 54 deletions

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

Binary file not shown.

BIN
protobuf-c-1.5.1.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,40 +1,3 @@
-------------------------------------------------------------------
Sun Feb 9 23:46:28 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.5.1
* Order `oneof` union members from largest to smallest
* Better compatibility with protobuf >= 26.0
- Delete 711.patch (merged)
-------------------------------------------------------------------
Sun Oct 27 11:25:31 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Implement naming guidelines and rename libprotobuf-c-devel back
to just %name-devel. (The divergence came about on Nov 19 2021
as a result of merging two subpackages.)
-------------------------------------------------------------------
Tue Oct 22 08:48:51 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Modified patch:
* 711.patch
+ Drop a hunk that was creating problems when the protoc-c
was called directly and not just as a plugin to protoc
-------------------------------------------------------------------
Mon Oct 21 18:20:27 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Added patch:
* 711.patch
+ Backport the changes from the pull request #711
https://github.com/protobuf-c/protobuf-c/pull/711 fixing
build with protobuf 26.0+
-------------------------------------------------------------------
Mon Aug 12 21:14:32 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- BuildRequire a C++ compiler, previously pulled in via protobuf
-------------------------------------------------------------------
Wed Dec 27 11:32:24 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,9 +1,8 @@
#
# spec file for package protobuf-c
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2011 Pascal Bleser
# 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
@@ -20,7 +19,7 @@
%define sover 1
Name: protobuf-c
Version: 1.5.1
Version: 1.5.0
Release: 0
Summary: C bindings for Google's Protocol Buffers
License: BSD-3-Clause
@@ -29,7 +28,7 @@ URL: https://github.com/protobuf-c/protobuf-c
Source: https://github.com/protobuf-c/protobuf-c/releases/download/v%version/%name-%version.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: c++_compiler
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: libtool
BuildRequires: make
@@ -50,17 +49,15 @@ Group: System/Libraries
This package provides a code generator and runtime libraries to use Protocol
Buffers from pure C (not C++).
%package devel
Summary: protobuf generator and headers
%package -n libprotobuf-c-devel
Summary: C bindings for Google's Protocol Buffers
Group: Development/Libraries/C and C++
Requires: libprotobuf-c%sover = %version
Recommends: (protobuf-devel >= 2.6.0 with protobuf-devel < 22)
Provides: protobuf-c = %version-%release
Obsoletes: protobuf-c <= %version-%release
Provides: libprotobuf-c-devel = %version-%release
Obsoletes: libprotobuf-c-devel <= %version-%release
Provides: %name = %version
Obsoletes: %name <= 1.4.0
%description devel
%description -n libprotobuf-c-devel
This package provides a code generator and runtime libraries to use Protocol
Buffers from pure C (not C++).
@@ -82,15 +79,15 @@ rm %buildroot/%_libdir/*.la
%check
make check
%ldconfig_scriptlets -n libprotobuf-c%sover
%post -n libprotobuf-c%sover -p /sbin/ldconfig
%postun -n libprotobuf-c%sover -p /sbin/ldconfig
%files -n libprotobuf-c%sover
%license LICENSE
%_libdir/libprotobuf-c.so.%sover
%_libdir/libprotobuf-c.so.%sover.*
%files devel
%license LICENSE
%files -n libprotobuf-c-devel
%dir %_includedir/protobuf-c
%dir %_includedir/google
%dir %_includedir/google/protobuf-c