From 9ec516a52c852325e6acfd9e3d4fae3854ab6ba2e3236b0b4dc6210962927a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Tue, 19 May 2015 08:35:29 +0000 Subject: [PATCH] - Fix cmake-fix-ruby-test.patch, Config:: is removed in Ruby 2.2, use RbConfig:: instead OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=214 --- cmake-fix-ruby-test.patch | 2 +- cmake.changes | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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