]> git.pld-linux.org Git - packages/tla.git/commitdiff
cleanups, verbose files
authorElan Ruusamäe <glen@delfi.ee>
Sun, 6 Sep 2015 11:10:24 +0000 (14:10 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 6 Sep 2015 11:10:24 +0000 (14:10 +0300)
tla.spec

index 462e0e9d875649e7126f88659ff56ddb312d3a54..7cb12c084454a6326bd3b46f6f92ff4e4aa91a35 100644 (file)
--- 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
This page took 0.121688 seconds and 4 git commands to generate.