vondruch pushed to ruby (private-ruby-2.3). "dtrace does not appear in RbConfig anymore :(."
notifications at fedoraproject.org
notifications at fedoraproject.org
Fri Mar 27 09:01:09 UTC 2015
>From d096b7d67d91f26266252a903dc30ec79661227e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch at redhat.com>
Date: Thu, 26 Mar 2015 17:13:01 +0100
Subject: dtrace does not appear in RbConfig anymore :(.
diff --git a/ruby.spec b/ruby.spec
index 70620d5..1094289 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -84,8 +84,6 @@ Source7: config.h
Source8: rubygems.attr
Source9: rubygems.req
Source10: rubygems.prov
-# SystemTap sanity test case.
-Source11: test_systemtap.rb
# The load directive is supported since RPM 4.12, i.e. F21+. The build process
# fails on older Fedoras.
@@ -582,9 +580,6 @@ sed -e "s|@LIBRARY_PATH@|%{tapset_libdir}/libruby.so.%{major_minor_version}|" \
sed -i -r "s|( \*.*\*)\/(.*)|\1\\\/\2|" %{buildroot}%{tapset_dir}/libruby.so.%{major_minor_version}.stp
%check
-# Sanity check that SystemTap (dtrace) was detected.
-make runruby TESTRUN_SCRIPT=%{SOURCE11}
-
DISABLE_TESTS=""
# test_debug(TestRubyOptions) fails due to LoadError reported in debug mode,
diff --git a/test_systemtap.rb b/test_systemtap.rb
deleted file mode 100644
index aa8df4e..0000000
--- a/test_systemtap.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-require 'rbconfig'
-
-if RbConfig::CONFIG.select {|k, v| v =~ /dtrace/}.size == 1
- exit true
-else
- puts 'ERROR: SystemTap (dtrace) support was not detected.'
-
- exit false
-end
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/ruby.git/commit/?h=private-ruby-2.3&id=d096b7d67d91f26266252a903dc30ec79661227e
More information about the scm-commits
mailing list