Hello community, here is the log from the commit of package protobuf-c for openSUSE:Leap:15.2 checked in at 2020-02-05 07:29:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/protobuf-c (Old) and /work/SRC/openSUSE:Leap:15.2/.protobuf-c.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "protobuf-c" Wed Feb 5 07:29:19 2020 rev:17 rq:766038 version:1.3.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/protobuf-c/protobuf-c.changes 2020-01-15 15:45:33.103327135 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.protobuf-c.new.26092/protobuf-c.changes 2020-02-05 07:29:25.274746757 +0100 @@ -1,0 +2,33 @@ +Sun Aug 18 16:36:38 UTC 2019 - Jan Engelhardt <[email protected]> + +- Update to new upstream release 1.3.2 + * Fix proto3 repeated scalar field default packing behavior + * Fix out-of-bounds read in scan_length_prefixed_data() +- Remove protobuf-c-namespace.patch (merged) + +------------------------------------------------------------------- +Fri Jun 7 13:45:12 UTC 2019 - Martin Pluskal <[email protected]> + +- Add protobuf-c-namespace.patch to fix building with protobuf + 3.8.0 + +------------------------------------------------------------------- +Tue May 14 11:15:56 UTC 2019 - Martin Liška <[email protected]> + +- Disable LTO (boo#1133277). + +------------------------------------------------------------------- +Fri Oct 5 10:14:36 UTC 2018 - Jan Engelhardt <[email protected]> + +- Update to new upstream release 1.3.1 + * Restore protobuf-2.x compatibility + * Convert uses of protobuf's scoped_ptr.h to C++11 std::unique_ptr, + needed to compile against protobuf 3.6.1. +- Rename %soname to %sover to better reflect its use. + +------------------------------------------------------------------- +Fri Dec 22 14:29:07 UTC 2017 - [email protected] + +- Drop %__-type macro indirections. + +------------------------------------------------------------------- Old: ---- protobuf-c-1.3.0.tar.gz New: ---- protobuf-c-1.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ protobuf-c.spec ++++++ --- /var/tmp/diff_new_pack.rtWkt5/_old 2020-02-05 07:29:25.602746895 +0100 +++ /var/tmp/diff_new_pack.rtWkt5/_new 2020-02-05 07:29:25.606746896 +0100 @@ -1,7 +1,7 @@ # # spec file for package protobuf-c # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011 Pascal Bleser # # All modifications and additions to the file contributed by third parties @@ -13,21 +13,20 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%define sover 1 Name: protobuf-c -Version: 1.3.0 +Version: 1.3.2 Release: 0 -%define soname 1 Summary: C bindings for Google's Protocol Buffers License: BSD-3-Clause Group: Development/Tools/Other -Source: https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz +URL: https://github.com/protobuf-c/protobuf-c +Source: https://github.com/protobuf-c/protobuf-c/releases/download/v%version/%name-%version.tar.gz Source99: protobuf-c-rpmlintrc -Url: https://github.com/protobuf-c/protobuf-c -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc @@ -36,7 +35,7 @@ BuildRequires: make BuildRequires: pkgconfig BuildRequires: protobuf-devel >= 2.6.0 -Requires: libprotobuf-c-devel = %{version} +Requires: libprotobuf-c-devel = %version %description This package provides a code generator and runtime libraries to use Protocol @@ -44,80 +43,52 @@ It uses a modified version of protoc called protoc-c. -%package -n libprotobuf-c%{soname} - +%package -n libprotobuf-c%sover Summary: C bindings for Google's Protocol Buffers Group: System/Libraries -%description -n libprotobuf-c%{soname} +%description -n libprotobuf-c%sover 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 Group: Development/Libraries/C and C++ -Requires: libprotobuf-c%{soname} = %{version} +Requires: libprotobuf-c%sover = %version %description -n libprotobuf-c-devel This package provides a code generator and runtime libraries to use Protocol Buffers from pure C (not C++). %prep -%setup -q +%autosetup -p1 %build -%if 0 -mkdir build -pushd build -export CFLAGS="%{optflags}" -cmake \ - -DCMAKE_VERBOSE_MAKEFILE=TRUE \ - -DCMAKE_INSTALL_PREFIX:PATH="%{_prefix}" \ - -DCMAKE_SKIP_RPATH=TRUE \ - -DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE \ - -DCMAKE_STRIP="/usr/bin/touch" \ - .. -%__make %{?_smp_flags} -popd #build -%else +%define _lto_cflags %nil autoreconf -fvi %configure -%__make %{?_smp_flags} -%endif +make %{?_smp_mflags} %install -%if 0 -pushd build -%makeinstall -popd #build -%else -%makeinstall -%endif -%__rm "%{buildroot}%{_libdir}"/*.a -%__rm "%{buildroot}%{_libdir}"/*.la +%make_install +rm "%buildroot/%_libdir"/*.a "%buildroot/%_libdir"/*.la -%post -n libprotobuf-c%{soname} -p /sbin/ldconfig -%postun -n libprotobuf-c%{soname} -p /sbin/ldconfig +%post -n libprotobuf-c%sover -p /sbin/ldconfig +%postun -n libprotobuf-c%sover -p /sbin/ldconfig %files -%defattr(-,root,root) %doc ChangeLog TODO -%{_bindir}/protoc-c -%{_bindir}/protoc-gen-c +%_bindir/protoc-c +%_bindir/protoc-gen-c -%files -n libprotobuf-c%{soname} -%defattr(-,root,root) -%doc LICENSE -%{_libdir}/libprotobuf-c.so.%{soname} -%{_libdir}/libprotobuf-c.so.%{soname}.* +%files -n libprotobuf-c%sover +%license LICENSE +%_libdir/libprotobuf-c.so.%sover +%_libdir/libprotobuf-c.so.%sover.* %files -n libprotobuf-c-devel -%defattr(-,root,root) -%dir %{_includedir}/google -%{_includedir}/google/protobuf-c -%{_includedir}/protobuf-c/ -%{_libdir}/libprotobuf-c.so -%{_libdir}/pkgconfig/libprotobuf-c.pc +%_includedir/*/ +%_libdir/libprotobuf-c.so +%_libdir/pkgconfig/libprotobuf-c.pc %changelog ++++++ protobuf-c-1.3.0.tar.gz -> protobuf-c-1.3.2.tar.gz ++++++ ++++ 7029 lines of diff (skipped)
