diff --git a/cmake-fix-ruby-test.patch b/cmake-fix-ruby-test.patch index 5e4aed3..b2f9f1c 100644 --- a/cmake-fix-ruby-test.patch +++ b/cmake-fix-ruby-test.patch @@ -5,7 +5,7 @@ # vendor_ruby available ? - execute_process(COMMAND ${RUBY_EXECUTABLE} -r vendor-specific -e "print 'true'" -+ execute_process(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print 'true' unless Config::CONFIG['vendorarchdir'].nil?" ++ execute_process(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print 'true' unless RbConfig::CONFIG['vendorarchdir'].nil?" OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY ERROR_QUIET) if(RUBY_HAS_VENDOR_RUBY) diff --git a/cmake.changes b/cmake.changes index b319765..0d48000 100644 --- a/cmake.changes +++ b/cmake.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue May 19 08:34:49 UTC 2015 - kkaempf@suse.com + +- Fix cmake-fix-ruby-test.patch, Config:: is removed in Ruby 2.2, + use RbConfig:: instead + ------------------------------------------------------------------- Thu May 14 18:42:34 UTC 2015 - olaf@aepfle.de