[packages/protobuf] - remove utf8_range installed junk

baggins baggins at pld-linux.org
Sun Sep 21 14:49:21 CEST 2025


commit f6b24029279ac9bee68b2a84731a8e4738ce9dfd
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Sep 21 16:49:10 2025 +0200

    - remove utf8_range installed junk

 protobuf.spec | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/protobuf.spec b/protobuf.spec
index 0cf2f91..cb5089e 100644
--- a/protobuf.spec
+++ b/protobuf.spec
@@ -250,6 +250,12 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# Remove utf8_range that's statically linked and not needed.
+%{__rm} $RPM_BUILD_ROOT%{_includedir}/{utf8_range,utf8_validity}.h
+%{__rm} -r $RPM_BUILD_ROOT%{_libdir}/cmake/utf8_range
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libutf8_{range,validity}.a
+%{__rm} $RPM_BUILD_ROOT%{_pkgconfigdir}/utf8_range.pc
+
 install -d $RPM_BUILD_ROOT%{_vimdatadir}/{syntax,ftdetect}
 cp -p editors/proto.vim $RPM_BUILD_ROOT%{_vimdatadir}/syntax/proto.vim
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_vimdatadir}/ftdetect/proto.vim
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list