[packages/protobuf] - obsolete -static if building without

qboosh qboosh at pld-linux.org
Sat Nov 15 10:33:33 CET 2025


commit c45e381f9080cc7e89ecc35b349b1df372fb917a
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Nov 15 10:33:27 2025 +0100

    - obsolete -static if building without

 protobuf.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/protobuf.spec b/protobuf.spec
index ff35bda..d8e70b0 100644
--- a/protobuf.spec
+++ b/protobuf.spec
@@ -131,6 +131,9 @@ Requires:	%{name} = %{version}-%{release}
 Requires:	%{name}-libs = %{version}-%{release}
 Requires:	%{name}-lite = %{version}-%{release}
 Requires:	libstdc++-devel >= 6:4.7
+%if %{without static_libs}
+Obsoletes:	protobuf-static < %{version}-%{release}
+%endif
 
 %description devel
 Header files for Protocol Buffers libraries.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/protobuf.git/commitdiff/c45e381f9080cc7e89ecc35b349b1df372fb917a



More information about the pld-cvs-commit mailing list