![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package ruby2.5 for openSUSE:Factory checked in at 2018-02-02 22:20:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ruby2.5 (Old) and /work/SRC/openSUSE:Factory/.ruby2.5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ruby2.5" Fri Feb 2 22:20:52 2018 rev:10 rq:571736 version:2.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ruby2.5/ruby2.5.changes 2018-01-20 11:24:55.945366484 +0100 +++ /work/SRC/openSUSE:Factory/.ruby2.5.new/ruby2.5.changes 2018-02-02 22:20:53.765758221 +0100 @@ -1,0 +2,6 @@ +Thu Jan 25 15:30:42 UTC 2018 - mrueckert@suse.de + +- fix dump-versions.rb: it was picking up system rdoc versions on + some source dirs + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dump-versions.rb ++++++ --- /var/tmp/diff_new_pack.k16Ag6/_old 2018-02-02 22:20:54.853707430 +0100 +++ /var/tmp/diff_new_pack.k16Ag6/_new 2018-02-02 22:20:54.853707430 +0100 @@ -1,7 +1,13 @@ #!/usr/bin/ruby -dir = ARGV.first || './' -$LOAD_PATH << File.join(dir,"lib") -Dir[File.join(dir, '**/*.gemspec')].sort.each do |gemspec_path| +dir = './' +Dir.chdir(dir) +unless File.exists? 'lib/rdoc.rb' + $stderr.puts "not an unpacked ruby tarball? no lib/rdoc.rb found." + exit 1 +end +$:.unshift(File.join(dir,"lib")) +require 'rdoc' +Dir['**/*.gemspec'].sort.each do |gemspec_path| next if /(test|spec)\// =~ gemspec_path # $stderr.puts "Handling #{gemspec_path}" gemspec = Gem::Specification.load(gemspec_path)