[packages/binutils] - files cleanup

qboosh qboosh at pld-linux.org
Thu Aug 17 21:50:49 CEST 2023


commit b3ff001b67bbb2e71a85c7a13dd91f5e26d9b509
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Aug 17 21:37:41 2023 +0200

    - files cleanup

 binutils.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/binutils.spec b/binutils.spec
index 5c2184b..b325013 100644
--- a/binutils.spec
+++ b/binutils.spec
@@ -341,6 +341,10 @@ perl -pi -e 's at -L[^ ]*/pic @@g' $RPM_BUILD_ROOT%{_libdir}/libbfd.la
 
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
 
+%if %{with gprofng}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/gprofng/libgp-collectorAPI.{a,la}
+%endif
+
 %if %{with gold}
 install -d gold-doc
 cp -p gold/{README,ChangeLog,TODO} gold-doc
@@ -522,7 +526,7 @@ rm -rf $RPM_BUILD_ROOT
 %files gprofng-devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libgprofng.so
-%attr(755,root,root) %{_libdir}/libgprofng.la
+%{_libdir}/libgprofng.la
 %{_includedir}/collectorAPI.h
 %{_includedir}/libcollector.h
 %{_includedir}/libfcollector.h
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/binutils.git/commitdiff/b3ff001b67bbb2e71a85c7a13dd91f5e26d9b509



More information about the pld-cvs-commit mailing list