[packages/nanopb] - don't install/package mistaken site-packages/proto file (also conflicting with dir from previous p

qboosh qboosh at pld-linux.org
Fri Oct 18 19:54:47 CEST 2024


commit 1f55443b3c41db2375e20e2acb24bfc7878e17df
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Oct 18 19:40:25 2024 +0200

    - don't install/package mistaken site-packages/proto file (also conflicting with dir from previous package versions)

 nanopb.spec | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/nanopb.spec b/nanopb.spec
index 75c0e7e..4739aea 100644
--- a/nanopb.spec
+++ b/nanopb.spec
@@ -104,8 +104,6 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-# missing from install
-cp -p generator/proto/__init__.py $RPM_BUILD_ROOT%{py3_sitescriptdir}/proto
 %py3_comp $RPM_BUILD_ROOT%{py3_sitescriptdir}/{nanopb,proto}
 %py3_ocomp $RPM_BUILD_ROOT%{py3_sitescriptdir}/{nanopb,proto}
 
@@ -128,7 +126,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/libprotobuf-nanopb.so
 %{_includedir}/nanopb
 %{py3_sitescriptdir}/nanopb
-%{py3_sitescriptdir}/proto
 %{_libdir}/cmake/nanopb
 
 %if %{with static_libs}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nanopb.git/commitdiff/1f55443b3c41db2375e20e2acb24bfc7878e17df



More information about the pld-cvs-commit mailing list