[packages/libunwind] - drop installed tests
qboosh
qboosh at pld-linux.org
Mon Dec 23 22:57:02 CET 2024
commit 751d6c3c7d8f0d29a8fc3c11e04b778bda3c473b
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Dec 23 22:57:04 2024 +0100
- drop installed tests
libunwind.spec | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/libunwind.spec b/libunwind.spec
index 2e1ee19..8192d64 100644
--- a/libunwind.spec
+++ b/libunwind.spec
@@ -106,6 +106,11 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%if %{with tests}
+# don't package test stuff
+%{__rm} -r $RPM_BUILD_ROOT%{_libexecdir}/libunwind
+%endif
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -125,9 +130,6 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %ghost %{_libdir}/libunwind-setjmp.so.0
%attr(755,root,root) %{_libdir}/libunwind-%{asuf}.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libunwind-%{asuf}.so.8
-%if %{with tests}
-%{_libexecdir}/libunwind
-%endif
%files devel
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libunwind.git/commitdiff/751d6c3c7d8f0d29a8fc3c11e04b778bda3c473b
More information about the pld-cvs-commit
mailing list