[packages/tla] cleanups, verbose files
glen
glen at pld-linux.org
Sun Sep 6 13:10:39 CEST 2015
commit 7207e53431ef085219716fb67597679e01f05d1c
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Sep 6 14:10:24 2015 +0300
cleanups, verbose files
tla.spec | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/tla.spec b/tla.spec
index 462e0e9..7cb12c0 100644
--- a/tla.spec
+++ b/tla.spec
@@ -73,12 +73,7 @@ rm -rf $RPM_BUILD_ROOT
rm -rf html
cp -a src/docs-tla html
-find html -type f ! -name "*.html" -exec rm -rf "{}" ";"
-find html -type d -name ".arch-ids" -exec rm -rf "{}" ";" || :
-find html -type d -name "{arch}" -exec rm -rf "{}" ";" || :
-
-rm -rf $RPM_BUILD_ROOT%{_libdir}
-rm -rf $RPM_BUILD_ROOT%{_prefix}/src
+find html -type f ! -name "*.html" | xargs rm
%clean
rm -rf $RPM_BUILD_ROOT
@@ -86,4 +81,4 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc html
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/tla
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tla.git/commitdiff/7207e53431ef085219716fb67597679e01f05d1c
More information about the pld-cvs-commit
mailing list