From 3aaa4db316e8b60d06a5f98e547c0ddfda35217e Mon Sep 17 00:00:00 2001 From: dongyuzhen Date: Fri, 23 May 2025 11:44:05 +0800 Subject: [PATCH] revert:distinguish between statically and dynamically compiled pc files and cmake dir to prevent BEP binary --- protobuf.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/protobuf.spec b/protobuf.spec index 662b7a2..894a5b5 100644 --- a/protobuf.spec +++ b/protobuf.spec @@ -7,7 +7,7 @@ Summary: Protocol Buffers - Google's data interchange format Name: protobuf Version: 25.1 -Release: 9 +Release: 10 License: BSD URL: https://github.com/protocolbuffers/protobuf Source: https://github.com/protocolbuffers/protobuf/releases/download/v%{version}%{?rcver}/%{name}-all-%{version}%{?rcver}.tar.gz @@ -300,8 +300,6 @@ fail=1 %install %ninja_install -C build-static -mv %{buildroot}%{_libdir}/pkgconfig/protobuf.pc %{buildroot}%{_libdir}/pkgconfig/protobuf-static.pc -mv %{buildroot}%{_libdir}/cmake/protobuf %{buildroot}%{_libdir}/cmake/protobuf-static %ninja_install -C build %if %{with python} @@ -350,7 +348,6 @@ install -p -m 0644 %{SOURCE1} %{buildroot}%{_emacs_sitestartdir} %{_includedir}/utf8_validity.h %{_libdir}/libprotobuf.so %{_libdir}/libprotoc.so -%{_libdir}/pkgconfig/protobuf-static.pc %{_libdir}/pkgconfig/protobuf.pc %{_libdir}/pkgconfig/utf8_range.pc %doc examples/add_person.cc examples/addressbook.proto examples/list_people.cc examples/Makefile examples/README.md @@ -359,7 +356,6 @@ install -p -m 0644 %{SOURCE1} %{buildroot}%{_emacs_sitestartdir} %{_datadir}/vim/vimfiles/syntax/proto.vim %{_libdir}/cmake/utf8_range %{_libdir}/cmake/protobuf -%{_libdir}/cmake/protobuf-static %{_libdir}/libutf8_range.a %{_libdir}/libutf8_validity.a %{_includedir}/java/core/src/main/java/com/google/protobuf/java_features.proto @@ -405,6 +401,13 @@ install -p -m 0644 %{SOURCE1} %{buildroot}%{_emacs_sitestartdir} %endif %changelog +* Fri May 23 2025 dongyuzhen - 25.1-10 +- Type:bugfix +- CVE:NA +- SUG:NA +- DESC: revert:distinguish between statically and dynamically compiled pc files and cmake dir to prevent BEP binary differe +nces + * Wed May 21 2025 Wenlong Zhang - 25.1-9 - Type:bugfix - CVE:NA -- Gitee