Hello community,
here is the log from the commit of package rubygem-rake-compiler for
openSUSE:Factory checked in at 2019-03-04 09:21:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rake-compiler (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rake-compiler.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rake-compiler"
Mon Mar 4 09:21:06 2019 rev:21 rq:679536 version:1.0.7
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-rake-compiler/rubygem-rake-compiler.changes
2018-09-24 13:12:41.461766746 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-rake-compiler.new.28833/rubygem-rake-compiler.changes
2019-03-04 09:21:08.368592730 +0100
@@ -1,0 +2,19 @@
+Mon Jan 14 13:54:01 UTC 2019 - Stephan Kulow <[email protected]>
+
+- updated to version 1.0.7
+ see installed History.txt
+
+ === 1.0.7 / 2019-01-04
+
+ * Bugfixes:
+ * Fix a bug that JRuby class path detection is failed on
+ cross-compilation.
+ #149 #151 [Reported by Chalupa Petr][Patch by Prashant Vithani]
+
+ === 1.0.6 / 2018-12-23
+
+ * Enhancements:
+ * Stop to make unreleased Ruby installable.
+ #150 [Reported by MSP-Greg]
+
+-------------------------------------------------------------------
Old:
----
rake-compiler-1.0.5.gem
New:
----
rake-compiler-1.0.7.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rake-compiler.spec ++++++
--- /var/tmp/diff_new_pack.FPZMrF/_old 2019-03-04 09:21:09.056592606 +0100
+++ /var/tmp/diff_new_pack.FPZMrF/_new 2019-03-04 09:21:09.060592605 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-rake-compiler
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -24,7 +24,7 @@
#
Name: rubygem-rake-compiler
-Version: 1.0.5
+Version: 1.0.7
Release: 0
%define mod_name rake-compiler
%define mod_full_name %{mod_name}-%{version}
++++++ rake-compiler-1.0.5.gem -> rake-compiler-1.0.7.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/History.txt new/History.txt
--- old/History.txt 2018-08-31 07:59:40.000000000 +0200
+++ new/History.txt 2019-01-03 23:22:56.000000000 +0100
@@ -1,3 +1,16 @@
+=== 1.0.7 / 2019-01-04
+
+* Bugfixes:
+ * Fix a bug that JRuby class path detection is failed on
+ cross-compilation.
+ #149 #151 [Reported by Chalupa Petr][Patch by Prashant Vithani]
+
+=== 1.0.6 / 2018-12-23
+
+* Enhancements:
+ * Stop to make unreleased Ruby installable.
+ #150 [Reported by MSP-Greg]
+
=== 1.0.5 / 2018-08-31
* Enhancements:
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rake/extensiontask.rb
new/lib/rake/extensiontask.rb
--- old/lib/rake/extensiontask.rb 2018-08-31 07:59:40.000000000 +0200
+++ new/lib/rake/extensiontask.rb 2019-01-03 23:22:56.000000000 +0100
@@ -260,7 +260,7 @@
end
spec.required_ruby_version = [
">= #{ruby_api_version(sorted_ruby_versions.first)}",
- "< #{ruby_api_version(sorted_ruby_versions.last).succ}"
+ "< #{ruby_api_version(sorted_ruby_versions.last).succ}.dev"
]
# clear the extensions defined in the specs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rake/javaextensiontask.rb
new/lib/rake/javaextensiontask.rb
--- old/lib/rake/javaextensiontask.rb 2018-08-31 07:59:40.000000000 +0200
+++ new/lib/rake/javaextensiontask.rb 2019-01-03 23:22:56.000000000 +0100
@@ -212,13 +212,34 @@
rescue => e
end
end
+
+ # jruby_cpath might not be present from Java-9 onwards as it removes
+ # sun.boot.class.path. Check if JRUBY_HOME is set as env variable and try
+ # to find jruby.jar under JRUBY_HOME
+ unless jruby_cpath
+ jruby_home = ENV['JRUBY_HOME']
+ if jruby_home
+ candidate = File.join(jruby_home, 'lib', 'jruby.jar')
+ jruby_cpath = candidate if File.exist?(candidate)
+ end
+ end
+
+ # JRUBY_HOME is not necessarily set in JRuby-9.x
+ # Find the libdir from RbConfig::CONFIG and find jruby.jar under the
+ # found lib path
unless jruby_cpath
libdir = RbConfig::CONFIG['libdir']
- if libdir.start_with? "classpath:"
- raise 'Cannot build with jruby-complete'
+ if libdir.start_with?("uri:classloader:")
+ raise 'Cannot build with jruby-complete from Java 9 onwards'
end
- jruby_cpath = File.join(libdir, "jruby.jar")
+ candidate = File.join(libdir, "jruby.jar")
+ jruby_cpath = candidate if File.exist?(candidate)
+ end
+
+ unless jruby_cpath
+ raise "Could not find jruby.jar. Please set JRUBY_HOME or use jruby in
rvm"
end
+
jruby_cpath += File::PATH_SEPARATOR + args.join(File::PATH_SEPARATOR)
unless args.empty?
jruby_cpath ? "-cp \"#{jruby_cpath}\"" : ""
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-08-31 07:59:40.000000000 +0200
+++ new/metadata 2019-01-03 23:22:56.000000000 +0100
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: rake-compiler
version: !ruby/object:Gem::Version
- version: 1.0.5
+ version: 1.0.7
platform: ruby
authors:
- Kouhei Sutou
@@ -9,7 +9,7 @@
autorequire:
bindir: bin
cert_chain: []
-date: 2018-08-31 00:00:00.000000000 Z
+date: 2019-01-03 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rake
@@ -26,6 +26,20 @@
- !ruby/object:Gem::Version
version: '0'
- !ruby/object:Gem::Dependency
+ name: bundler
+ requirement: !ruby/object:Gem::Requirement
+ requirements:
+ - - ">="
+ - !ruby/object:Gem::Version
+ version: '0'
+ type: :development
+ prerelease: false
+ version_requirements: !ruby/object:Gem::Requirement
+ requirements:
+ - - ">="
+ - !ruby/object:Gem::Version
+ version: '0'
+- !ruby/object:Gem::Dependency
name: rspec
requirement: !ruby/object:Gem::Requirement
requirements:
@@ -107,8 +121,6 @@
- tasks/common.rake
- tasks/cucumber.rake
- tasks/gem.rake
-- tasks/news.rake
-- tasks/release.rake
- tasks/rspec.rake
homepage: https://github.com/rake-compiler/rake-compiler
licenses:
@@ -133,8 +145,7 @@
- !ruby/object:Gem::Version
version: 1.8.23
requirements: []
-rubyforge_project: rake-compiler
-rubygems_version: 3.0.0.beta1
+rubygems_version: 3.0.2
signing_key:
specification_version: 4
summary: Rake-based Ruby Extension (C, Java) task generator.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/spec/lib/rake/extensiontask_spec.rb
new/spec/lib/rake/extensiontask_spec.rb
--- old/spec/lib/rake/extensiontask_spec.rb 2018-08-31 07:59:40.000000000
+0200
+++ new/spec/lib/rake/extensiontask_spec.rb 2019-01-03 23:22:56.000000000
+0100
@@ -490,8 +490,8 @@
end
expected_required_ruby_versions = [
- Gem::Requirement.new([">= 1.8", "< 2.11"]),
- Gem::Requirement.new([">= 1.8", "< 2.11"]),
+ Gem::Requirement.new([">= 1.8", "< 2.11.dev"]),
+ Gem::Requirement.new([">= 1.8", "< 2.11.dev"]),
]
cross_specs.collect(&:required_ruby_version).should ==
expected_required_ruby_versions
cross_specs.collect(&:extensions).should == [[], []]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tasks/gem.rake new/tasks/gem.rake
--- old/tasks/gem.rake 2018-08-31 07:59:40.000000000 +0200
+++ new/tasks/gem.rake 2019-01-03 23:22:56.000000000 +0100
@@ -1,10 +1,5 @@
-require 'rubygems/package_task'
+require "bundler/gem_helper"
-gemspec_path = File.join(__dir__, "..", "rake-compiler.gemspec")
-gemspec_path = File.expand_path(gemspec_path)
-GEM_SPEC = eval(File.read(gemspec_path), TOPLEVEL_BINDING, gemspec_path)
-
-gem_package = Gem::PackageTask.new(GEM_SPEC) do |pkg|
- pkg.need_tar = false
- pkg.need_zip = false
-end
+base_dir = File.join(__dir__, "..")
+helper = Bundler::GemHelper.new(base_dir)
+helper.install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tasks/news.rake new/tasks/news.rake
--- old/tasks/news.rake 2018-08-31 07:59:40.000000000 +0200
+++ new/tasks/news.rake 1970-01-01 01:00:00.000000000 +0100
@@ -1,39 +0,0 @@
-desc 'Generate email template to standard output'
-task :announce do
- fail "no GEM_SPEC is found or defined. 'announce' task cannot work without
it." unless defined?(GEM_SPEC)
-
- # read project info and overview
- notes = begin
- r = File.read("README.rdoc")
- r.split(/^(=+ .*)/)[1..4].join.strip
- rescue
- warn "Missing README.rdoc"
- ''
- end
-
- # read changes
- changes = begin
- h = File.read("History.txt")
- h.split(/^(===+ .*)/)[1..2].join.strip
- rescue
- warn "Missing History.txt"
- ''
- end
-
- # standard fields
- subject = "#{GEM_SPEC.name} #{GEM_SPEC.version} Released"
- title = "#{GEM_SPEC.name} version #{GEM_SPEC.version} has been released!"
- body = "#{notes}\n\nChanges:\n\n#{changes}"
- urls = [GEM_SPEC.homepage].map { |u| "* <#{u.strip}>" }.join("\n")
-
- puts "=" * 80, ""
- puts "Subject: [ANN] #{subject}"
- puts
- puts title
- puts
- puts urls
- puts
- puts body
- puts
- puts "=" * 80, ""
-end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/tasks/release.rake new/tasks/release.rake
--- old/tasks/release.rake 2018-08-31 07:59:40.000000000 +0200
+++ new/tasks/release.rake 1970-01-01 01:00:00.000000000 +0100
@@ -1,26 +0,0 @@
-desc 'Package gems and upload to RubyGems'
-task :release, [:version] => [:package] do |t, args|
- args.with_defaults(:version => "")
- ver = args.version
-
- fail "no GEM_SPEC is found or defined. 'release' task cannot work without
it." unless defined?(GEM_SPEC)
-
- # compare versions to avoid mistakes
- unless ver == GEM_SPEC.version.to_s then
- fail "Version mismatch (supplied and specification versions differ)."
- end
-
- files = FileList["pkg/#{GEM_SPEC.name}-#{GEM_SPEC.version}*.*"].to_a
- fail "No files found for the release." if files.empty?
-
- puts "Files to release:"
- files.each do |f|
- puts " * #{f}"
- end
-
- puts "Releasing #{GEM_SPEC.name} version #{GEM_SPEC.version}..."
- files.each do |f|
- system "gem push #{f}"
- end
- puts "Done."
-end