From 4ba3f2a2d6dc19179fd3302997f5b31998e287ac Mon Sep 17 00:00:00 2001 From: Vít Ondruch Date: Jan 08 2013 11:00:25 +0000 Subject: Add example tapset file. --- diff --git a/ruby.spec b/ruby.spec index 5b532dc..4f5cf79 100644 --- a/ruby.spec +++ b/ruby.spec @@ -90,6 +90,7 @@ Source0: ftp://ftp.ruby-lang.org/pub/%{name}/%{major_minor_version}/%{ruby_archi Source1: operating_system.rb # TODO: Try to push SystemTap support upstream. Source2: libruby.stp +Source3: ruby-exercise.stp # http://redmine.ruby-lang.org/issues/5231 Patch0: ruby-1.9.3-disable-versioned-paths.patch @@ -367,6 +368,9 @@ Tcl/Tk interface for the object-oriented scripting language Ruby. %patch9 -p1 %patch12 -p1 +# Provide an example of usage of the tapset: +cp -a %{SOURCE3} . + %build autoconf @@ -756,6 +760,7 @@ make check TESTS="-v $DISABLE_TESTS" %lang(ja) %doc README.ja %doc ChangeLog %doc doc/ChangeLog-* +%doc ruby-exercise.stp %{_datadir}/ri %files -n rubygem-bigdecimal