Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package protobuf21 for openSUSE:Factory checked in at 2024-11-01 21:04:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/protobuf21 (Old) and /work/SRC/openSUSE:Factory/.protobuf21.new.2020 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "protobuf21" Fri Nov 1 21:04:04 2024 rev:3 rq:1219868 version:21.12 Changes: -------- --- /work/SRC/openSUSE:Factory/protobuf21/protobuf21.changes 2024-03-13 22:17:14.385316622 +0100 +++ /work/SRC/openSUSE:Factory/.protobuf21.new.2020/protobuf21.changes 2024-11-01 21:04:17.686225498 +0100 @@ -1,0 +2,5 @@ +Fri Aug 9 09:02:58 UTC 2024 - Christian Goll <[email protected]> + +- switch to cmake buidling to that cmake projects can consume it + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ protobuf21.spec ++++++ --- /var/tmp/diff_new_pack.9o0n7f/_old 2024-11-01 21:04:18.470258264 +0100 +++ /var/tmp/diff_new_pack.9o0n7f/_new 2024-11-01 21:04:18.470258264 +0100 @@ -43,8 +43,7 @@ BuildRequires: %{python_module devel} BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module setuptools} -BuildRequires: autoconf -BuildRequires: automake +BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libtool @@ -163,11 +162,13 @@ sed -i -e '/env python/d' python/google/protobuf/internal/*.py %build -autoreconf -fvi -%configure \ - --disable-static +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects -%make_build +%cmake \ + -Dprotobuf_BUILD_TESTS=OFF \ + -Dprotobuf_ABSL_PROVIDER=package \ + %{nil} +%cmake_build %if %{with java} pushd java @@ -191,7 +192,7 @@ %endif %install -%make_install +%cmake_install install -Dm 0644 editors/proto.vim %{buildroot}%{_datadir}/vim/site/syntax/proto.vim # no need for that find %{buildroot} -type f -name "*.la" -delete -print @@ -227,22 +228,24 @@ %files -n libprotobuf%{sover} %license LICENSE -%{_libdir}/libprotobuf-3.%{version}.so +%{_libdir}/libprotobuf.so.3.%{version}* %files -n libprotoc%{sover} -%{_libdir}/libprotoc-3.%{version}.so +%{_libdir}/libprotoc.so.3.%{version}* %files -n libprotobuf-lite%{sover} -%{_libdir}/libprotobuf-lite-3.%{version}.so +%{_libdir}/libprotobuf-lite.so.3.%{version}* %files devel %doc CHANGES.txt CONTRIBUTORS.txt README.md %{_bindir}/protoc +%{_bindir}/protoc-3.%{version}* %{_includedir}/google %{_libdir}/pkgconfig/* %{_libdir}/libprotobuf-lite.so %{_libdir}/libprotobuf.so %{_libdir}/libprotoc.so +%{_libdir}/cmake/protobuf %{_datadir}/vim %if %{with java}
