[ruby] Add example tapset file.

Vít Ondruch vondruch at fedoraproject.org
Fri Feb 22 14:23:47 UTC 2013


commit d5af6071346f9056299824aa94d7ebd88ca4d03e
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Tue Jan 8 12:00:25 2013 +0100

    Add example tapset file.

 ruby.spec |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/ruby.spec b/ruby.spec
index 767ad62..9b67911 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
@@ -394,6 +395,9 @@ Tcl/Tk interface for the object-oriented scripting language Ruby.
 #%%patch13 -p1
 %patch14 -p1
 
+# Provide an example of usage of the tapset:
+cp -a %{SOURCE3} .
+
 %build
 autoconf
 
@@ -790,6 +794,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


More information about the scm-commits mailing list