From 19c6a9831cfb8169ad6835ea11836b5efeec1244 Mon Sep 17 00:00:00 2001 From: Vít Ondruch Date: Jan 08 2013 10:59:38 +0000 Subject: Escape example command in tapset comment. --- diff --git a/ruby.spec b/ruby.spec index af0eba9..5b532dc 100644 --- a/ruby.spec +++ b/ruby.spec @@ -501,6 +501,8 @@ sed -i '/^end$/ i\ mkdir -p %{buildroot}%{tapset_dir} sed -e "s|@LIBRARY_PATH@|%{tapset_libdir}/libruby.so.%{ruby_version}|" \ %{SOURCE2} > %{buildroot}%{tapset_dir}/libruby.so.%{ruby_version}.stp +# Escape '*/' in comment. +sed -r "s|( \*.*\*)\/(.*)|\1\\\/\2|" %{buildroot}%{tapset_dir}/libruby.so.%{ruby_version}.stp %check DISABLE_TESTS=""