Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package protobuf-c for openSUSE:Factory checked in at 2022-07-31 23:00:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/protobuf-c (Old)
and /work/SRC/openSUSE:Factory/.protobuf-c.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "protobuf-c"
Sun Jul 31 23:00:19 2022 rev:23 rq:989809 version:1.4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/protobuf-c/protobuf-c.changes 2022-07-28 13:32:42.129900507 +0200
+++ /work/SRC/openSUSE:Factory/.protobuf-c.new.1533/protobuf-c.changes 2022-07-31 23:00:29.795613753 +0200
@@ -9,0 +10,9 @@
+Tue Jul 5 12:38:17 UTC 2022 - Adam Majer
+
+- Do not build static libraries
+- Run unit tests
+- Explicit files and directories for includedir, so we can detect
+ what we actually install there
+- 508.patch: fixes invalid arithmetic shift (bsc#1200908, CVE-2022-33070)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ protobuf-c.spec ++++++
--- /var/tmp/diff_new_pack.jKpKtt/_old 2022-07-31 23:00:30.835616775 +0200
+++ /var/tmp/diff_new_pack.jKpKtt/_new 2022-07-31 23:00:30.839616787 +0200
@@ -54,7 +54,7 @@
Group: Development/Libraries/C and C++
Requires: libprotobuf-c%sover = %version
Provides: %name = %version
-Obsoletes: %name <= %version
+Obsoletes: %name <= 1.4.0
%description -n libprotobuf-c-devel
This package provides a code generator and runtime libraries to use Protocol
@@ -64,14 +64,20 @@
%autosetup -p1
%build
+%{!?make_build:%define make_build make -O %{?_smp_mflags} V=1 VERBOSE=1}
%define _lto_cflags %nil
autoreconf -fvi
-%configure
+%configure \
+ --enable-static=no
+
%make_build
%install
%make_install
-rm "%buildroot/%_libdir"/*.a "%buildroot/%_libdir"/*.la
+rm %buildroot/%_libdir/*.la
+
+%check
+make check
%post -n libprotobuf-c%sover -p /sbin/ldconfig
%postun -n libprotobuf-c%sover -p /sbin/ldconfig
@@ -83,9 +89,13 @@
%files -n libprotobuf-c-devel
%doc ChangeLog TODO
+%dir %_includedir/protobuf-c
+%dir %_includedir/google
+%dir %_includedir/google/protobuf-c
+%_includedir/protobuf-c/*
+%_includedir/google/protobuf-c/protobuf-c.h
%_bindir/protoc-c
%_bindir/protoc-gen-c
-%_includedir/*/
%_libdir/libprotobuf-c.so
%_libdir/pkgconfig/libprotobuf-c.pc