[packages/depot_tools] drop bin and .bat
glen
glen at pld-linux.org
Mon Dec 9 19:47:05 CET 2013
commit b03a4c59b58791ab34fd1e5b0b07294370febaa4
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Dec 9 20:24:30 2013 +0200
drop bin and .bat
like depot_tools-0.183170-15.2.noarch.rpm from openSuSE
depot_tools.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/depot_tools.spec b/depot_tools.spec
index 43482cc..23f7d3d 100644
--- a/depot_tools.spec
+++ b/depot_tools.spec
@@ -1,5 +1,5 @@
%define snap 20130619
-%define rel 0.3
+%define rel 0.4
Summary: A package of scripts called used to manage checkouts and code reviews
Name: depot_tools
Version: 0.1
@@ -49,6 +49,10 @@ rm -r depot_tools
rm -r third_party/pymox
rm cpplint.py
+# screw binaries and shipped dependencies and things useless to this platform
+rm ninja*
+find -type f '(' -name '*.exe' -o -name '*.bat' ')' | xargs rm -v
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/depot_tools.git/commitdiff/f59bfbe106c5ac068418c8fe4dfbefb52910b49a
More information about the pld-cvs-commit
mailing list