From 924ee344ab87713c6ccb71fced6ce5417fe9e89f Mon Sep 17 00:00:00 2001 From: Vít Ondruch Date: Feb 22 2013 13:17:53 +0000 Subject: Escape example command in tapset comment. --- diff --git a/ruby.spec b/ruby.spec index e2d77c3..767ad62 100644 --- a/ruby.spec +++ b/ruby.spec @@ -534,6 +534,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=""