git://git.onelab.eu
/
rvm-ruby.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Leave log directory, just remove files inside
[rvm-ruby.git]
/
rpm
/
rvm-ruby.spec
diff --git
a/rpm/rvm-ruby.spec
b/rpm/rvm-ruby.spec
index
ec5c5e8
..
d4417f2
100644
(file)
--- a/
rpm/rvm-ruby.spec
+++ b/
rpm/rvm-ruby.spec
@@
-130,8
+130,8
@@
export br=%{buildroot}
# Remove sources
rm -rf $br/usr/lib/rvm/src/*
# Remove sources
rm -rf $br/usr/lib/rvm/src/*
-# Remove logs
-rm -rf $br/usr/lib/rvm/log/*
+# Remove log
file
s
+find $br/usr/lib/rvm/log -type f -exec rm {} \;
# Strip binaries
#find $br -type f -print0 |xargs -0 file --no-dereference --no-pad |grep 'not stripped' |cut -f1 -d: |xargs -r strip
# Strip binaries
#find $br -type f -print0 |xargs -0 file --no-dereference --no-pad |grep 'not stripped' |cut -f1 -d: |xargs -r strip