commit 44e2d7b047ee8437cad04a6f8fed1d4f27391013
Author: Elan Ruusamäe <[email protected]>
Date:   Mon Aug 10 14:32:30 2015 +0300

    cleanup backups after patching

 ruby-fpm.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/ruby-fpm.spec b/ruby-fpm.spec
index b624ddd..86d0dd8 100644
--- a/ruby-fpm.spec
+++ b/ruby-fpm.spec
@@ -47,6 +47,9 @@ wasting pointless hours debugging bad rpm specs!
 %patch0 -p1
 %{__sed} -i -e '1 s,#!.*ruby,#!%{__ruby},' bin/*
 
+# cleanup backups after patching
+find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
+
 %build
 # write .gemspec
 %__gem_helper spec
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-fpm.git/commitdiff/44e2d7b047ee8437cad04a6f8fed1d4f27391013

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to