diff --git a/protobuf-c-1.5.0.tar.gz b/protobuf-c-1.5.0.tar.gz deleted file mode 100644 index f0ff93f..0000000 --- a/protobuf-c-1.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7b404c63361ed35b3667aec75cc37b54298d56dd2bcf369de3373212cc06fd98 -size 507251 diff --git a/protobuf-c-1.5.1.tar.gz b/protobuf-c-1.5.1.tar.gz new file mode 100644 index 0000000..da58e0d --- /dev/null +++ b/protobuf-c-1.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20d1dc257da96f8ddff8be4dd9779215bbd0a6069ed53bbe9de38fa7629be06b +size 531693 diff --git a/protobuf-c.changes b/protobuf-c.changes index 9b3b126..cb12812 100644 --- a/protobuf-c.changes +++ b/protobuf-c.changes @@ -1,3 +1,40 @@ +------------------------------------------------------------------- +Sun Feb 9 23:46:28 UTC 2025 - Jan Engelhardt + +- 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 + +- 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 + +- 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 + +- 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 + +- BuildRequire a C++ compiler, previously pulled in via protobuf + ------------------------------------------------------------------- Wed Dec 27 11:32:24 UTC 2023 - Dirk Müller diff --git a/protobuf-c.spec b/protobuf-c.spec index 64b23e8..fd4b606 100644 --- a/protobuf-c.spec +++ b/protobuf-c.spec @@ -1,8 +1,9 @@ # # spec file for package protobuf-c # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # Copyright (c) 2011 Pascal Bleser +# Copyright (c) 2024 Andreas Stieger # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +20,7 @@ %define sover 1 Name: protobuf-c -Version: 1.5.0 +Version: 1.5.1 Release: 0 Summary: C bindings for Google's Protocol Buffers License: BSD-3-Clause @@ -28,7 +29,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: gcc +BuildRequires: c++_compiler BuildRequires: glibc-devel BuildRequires: libtool BuildRequires: make @@ -49,15 +50,17 @@ Group: System/Libraries This package provides a code generator and runtime libraries to use Protocol Buffers from pure C (not C++). -%package -n libprotobuf-c-devel -Summary: C bindings for Google's Protocol Buffers +%package devel +Summary: protobuf generator and headers Group: Development/Libraries/C and C++ Requires: libprotobuf-c%sover = %version Recommends: (protobuf-devel >= 2.6.0 with protobuf-devel < 22) -Provides: %name = %version -Obsoletes: %name <= 1.4.0 +Provides: protobuf-c = %version-%release +Obsoletes: protobuf-c <= %version-%release +Provides: libprotobuf-c-devel = %version-%release +Obsoletes: libprotobuf-c-devel <= %version-%release -%description -n libprotobuf-c-devel +%description devel This package provides a code generator and runtime libraries to use Protocol Buffers from pure C (not C++). @@ -79,15 +82,15 @@ rm %buildroot/%_libdir/*.la %check make check -%post -n libprotobuf-c%sover -p /sbin/ldconfig -%postun -n libprotobuf-c%sover -p /sbin/ldconfig +%ldconfig_scriptlets -n libprotobuf-c%sover %files -n libprotobuf-c%sover %license LICENSE %_libdir/libprotobuf-c.so.%sover %_libdir/libprotobuf-c.so.%sover.* -%files -n libprotobuf-c-devel +%files devel +%license LICENSE %dir %_includedir/protobuf-c %dir %_includedir/google %dir %_includedir/google/protobuf-c