diff --git a/ruby.spec b/ruby.spec index 8682ea51e350bf42288df84553a561a5b80a6d1b..7faa0aee0409d84e156fdd8852f2262b23cfec32 100644 --- a/ruby.spec +++ b/ruby.spec @@ -33,7 +33,7 @@ Name: ruby Version: %{ruby_version} -Release: 124 +Release: 125 Summary: Object-oriented scripting language interpreter License: (Ruby or BSD) and Public Domain and MIT and CC0 and zlib and UCD URL: https://www.ruby-lang.org/en/ @@ -1188,6 +1188,9 @@ make runruby TESTRUN_SCRIPT=%{SOURCE13} %doc %{gem_dir}/gems/typeprof-%{typeprof_version}/testbed %changelog +* Tue Sep 27 2022 Ge Wang - 3.0.3-125 +- replace eu-readelf with readelf due to elfutils package updated + * Fri Jul 01 2022 wangjiang - 3.0.3-124 - fix CVE-2019-19204 CVE-2019-19246 CVE-2019-16161 CVE-2019-16162 CVE-2019-16163 diff --git a/test_systemtap.rb b/test_systemtap.rb index 5784e2dabe6884d9e75764e3445d566fc7154774..11e7c5905f1a68a3e1e76da583cd437e7bcffb72 100644 --- a/test_systemtap.rb +++ b/test_systemtap.rb @@ -48,10 +48,10 @@ probes_declared -= EXCLUDE_PROBES # Detect probes in resulting library. get_probes_detected = %r{ -^\s*Provider:\s+ruby,\s+Name:\s+(\S+),\s+.*$ +^\s*Name:\s+(\S+)*$ } -probes_detected = `eu-readelf -n "#{LIBRUBY_SO}"` +probes_detected = `readelf -n "#{LIBRUBY_SO}"` probes_detected = Set.new probes_detected.scan(get_probes_detected).flatten