[ruby/ruby-2.0] Add example tapset file.
Vít Ondruch
vondruch at fedoraproject.org
Tue Jan 8 12:11:21 UTC 2013
commit 4ba3f2a2d6dc19179fd3302997f5b31998e287ac
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 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
More information about the scm-commits
mailing list