]> git.pld-linux.org Git - packages/ruby-ffi.git/commitdiff
do not package patch backups
authorElan Ruusamäe <glen@delfi.ee>
Thu, 11 Dec 2014 08:37:07 +0000 (10:37 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 11 Dec 2014 08:37:07 +0000 (10:37 +0200)
ruby-ffi.spec

index 14690f748671c2a4ebb56694ea55ce4f1eb195dc..b1863bd2042297b46590f863a7d37a3cfe38e64a 100644 (file)
@@ -88,6 +88,9 @@ stronie <http://wiki.github.com/ffi/ffi/why-use-ffi>.
 # ext build
 cp -p %{_datadir}/setup.rb .
 
+# cleanup backups after patching
+find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
+
 %build
 %__gem_helper spec
 
This page took 0.118799 seconds and 4 git commands to generate.