commit ruby20 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby20 for openSUSE:Factory checked in at 2013-12-11 11:33:04 Comparing /work/SRC/openSUSE:Factory/ruby20 (Old) and /work/SRC/openSUSE:Factory/.ruby20.new (New) Package is "ruby20" Changes: --- /work/SRC/openSUSE:Factory/ruby20/ruby20.changes2013-11-30 16:22:12.0 +0100 +++ /work/SRC/openSUSE:Factory/.ruby20.new/ruby20.changes 2013-12-11 11:33:05.0 +0100 @@ -1,0 +2,6 @@ +Mon Dec 9 15:42:43 UTC 2013 - adr...@suse.de + +- drop invalid content size check in xmlrpc (fails with compressed data) + http://bugs.ruby-lang.org/issues/8182 + +--- New: drop_content_size_check_in_xmlrpc.patch Other differences: -- ++ ruby20.spec ++ --- /var/tmp/diff_new_pack.FLFYk9/_old 2013-12-11 11:33:06.0 +0100 +++ /var/tmp/diff_new_pack.FLFYk9/_new 2013-12-11 11:33:06.0 +0100 @@ -69,6 +69,7 @@ Source6:ruby20.macros Patch0: rubygems-1.5.0_buildroot.patch Patch1: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch +Patch2: drop_content_size_check_in_xmlrpc.patch # Summary:An Interpreted Object-Oriented Scripting Language License:BSD-2-Clause or Ruby @@ -205,6 +206,7 @@ %setup -q -n ruby-%{pkg_version}-%{patch_level} %patch0 %patch1 +%patch2 find sample -type f -print0 | xargs -r0 chmod a-x grep -Erl '^#! */' benchmark bootstraptest ext lib sample test \ | xargs -r perl -p -i -e 's|^#!\s*\S+(\s+.*)?$|#!/usr/bin/ruby2.0$1|' ++ drop_content_size_check_in_xmlrpc.patch ++ xmlrpc is doing a wrong content size check in case the server is compressing the answer. drop the check for now. http://bugs.ruby-lang.org/issues/8182 --- lib/xmlrpc/client.rb.orig 2013-09-11 10:31:53.294072202 +0200 +++ lib/xmlrpc/client.rb2013-09-11 10:32:12.486072647 +0200 @@ -502,8 +502,6 @@ expected = resp["Content-Length"] || "" if data.nil? or data.bytesize == 0 raise "Wrong size. Was #{data.bytesize}, should be #{expected}" - elsif expected != "" and expected.to_i != data.bytesize and resp["Transfer-Encoding"].nil? -raise "Wrong size. Was #{data.bytesize}, should be #{expected}" end set_cookies = resp.get_fields("Set-Cookie") -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ruby20 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby20 for openSUSE:Factory checked in at 2013-11-30 14:24:16 Comparing /work/SRC/openSUSE:Factory/ruby20 (Old) and /work/SRC/openSUSE:Factory/.ruby20.new (New) Package is "ruby20" Changes: --- /work/SRC/openSUSE:Factory/ruby20/ruby20.changes2013-10-31 15:45:47.0 +0100 +++ /work/SRC/openSUSE:Factory/.ruby20.new/ruby20.changes 2013-11-30 16:22:12.0 +0100 @@ -1,0 +2,7 @@ +Sat Nov 23 09:30:05 UTC 2013 - co...@suse.com + +- update to p353 to fix CVE-2013-4164 and many other fixes, + see http://svn.ruby-lang.org/repos/ruby/tags/v2_0_0_353/ChangeLog +- remove obsolete CVE-2013-4287-4363.patch + +--- Old: CVE-2013-4287-4363.patch ruby-2.0.0-p247.tar.bz2 New: ruby-2.0.0-p353.tar.bz2 Other differences: -- ++ ruby20.spec ++ --- /var/tmp/diff_new_pack.i4SJUw/_old 2013-11-30 16:22:13.0 +0100 +++ /var/tmp/diff_new_pack.i4SJUw/_new 2013-11-30 16:22:13.0 +0100 @@ -17,7 +17,7 @@ Name: ruby20 -%define patch_level p247 +%define patch_level p353 Version:2.0.0.%{patch_level} Release:0 # @@ -69,7 +69,6 @@ Source6:ruby20.macros Patch0: rubygems-1.5.0_buildroot.patch Patch1: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch -Patch2: CVE-2013-4287-4363.patch # Summary:An Interpreted Object-Oriented Scripting Language License:BSD-2-Clause or Ruby @@ -206,7 +205,6 @@ %setup -q -n ruby-%{pkg_version}-%{patch_level} %patch0 %patch1 -%patch2 -p1 find sample -type f -print0 | xargs -r0 chmod a-x grep -Erl '^#! */' benchmark bootstraptest ext lib sample test \ | xargs -r perl -p -i -e 's|^#!\s*\S+(\s+.*)?$|#!/usr/bin/ruby2.0$1|' ++ ruby-2.0.0-p247.tar.bz2 -> ruby-2.0.0-p353.tar.bz2 ++ /work/SRC/openSUSE:Factory/ruby20/ruby-2.0.0-p247.tar.bz2 /work/SRC/openSUSE:Factory/.ruby20.new/ruby-2.0.0-p353.tar.bz2 differ: char 11, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ruby20 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby20 for openSUSE:Factory checked in at 2013-10-31 15:45:46 Comparing /work/SRC/openSUSE:Factory/ruby20 (Old) and /work/SRC/openSUSE:Factory/.ruby20.new (New) Package is "ruby20" Changes: --- /work/SRC/openSUSE:Factory/ruby20/ruby20.changes2013-07-18 18:08:34.0 +0200 +++ /work/SRC/openSUSE:Factory/.ruby20.new/ruby20.changes 2013-10-31 15:45:47.0 +0100 @@ -1,0 +2,6 @@ +Mon Oct 21 15:14:27 UTC 2013 - jmassaguer...@suse.com + +- fix CVE-2013-4287 CVE-2013-4363: ruby19: Algorithmic complexity vulnerability (bnc#837457) + The file CVE-2013-4287-4363.patch contains the patch + +--- New: CVE-2013-4287-4363.patch Other differences: -- ++ ruby20.spec ++ --- /var/tmp/diff_new_pack.F9YhwH/_old 2013-10-31 15:45:52.0 +0100 +++ /var/tmp/diff_new_pack.F9YhwH/_new 2013-10-31 15:45:52.0 +0100 @@ -69,6 +69,7 @@ Source6:ruby20.macros Patch0: rubygems-1.5.0_buildroot.patch Patch1: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch +Patch2: CVE-2013-4287-4363.patch # Summary:An Interpreted Object-Oriented Scripting Language License:BSD-2-Clause or Ruby @@ -205,6 +206,7 @@ %setup -q -n ruby-%{pkg_version}-%{patch_level} %patch0 %patch1 +%patch2 -p1 find sample -type f -print0 | xargs -r0 chmod a-x grep -Erl '^#! */' benchmark bootstraptest ext lib sample test \ | xargs -r perl -p -i -e 's|^#!\s*\S+(\s+.*)?$|#!/usr/bin/ruby2.0$1|' ++ CVE-2013-4287-4363.patch ++ diff -Naur a/lib/rubygems/version.rb b/lib/rubygems/version.rb --- a/lib/rubygems/version.rb 2013-10-21 16:53:11.442939806 +0200 +++ b/lib/rubygems/version.rb 2013-10-21 17:20:41.741034852 +0200 @@ -148,7 +148,7 @@ # FIX: These are only used once, in .correct?. Do they deserve to be # constants? VERSION_PATTERN = '[0-9]+(\.[0-9a-zA-Z]+)*' # :nodoc: - ANCHORED_VERSION_PATTERN = /\A\s*(#{VERSION_PATTERN})*\s*\z/ # :nodoc: + ANCHORED_VERSION_PATTERN = /\A\s*(#{VERSION_PATTERN})?\s*\z/ # :nodoc: ## # A string representation of this Version. diff -Naur a/test/rubygems/test_gem_requirement.rb b/test/rubygems/test_gem_requirement.rb --- a/test/rubygems/test_gem_requirement.rb 2013-10-21 16:53:11.412939804 +0200 +++ b/test/rubygems/test_gem_requirement.rb 2013-10-21 17:21:57.796039232 +0200 @@ -47,18 +47,23 @@ end def test_parse_bad -e = assert_raises Gem::Requirement::BadRequirementError do - Gem::Requirement.parse nil +[ + nil, + '', + '! 1', + '= junk', + '1..2', +].each do |bad| + e = assert_raises Gem::Requirement::BadRequirementError do +Gem::Requirement.parse bad + end + assert_equal 'Illformed requirement [""]', e.message end -assert_equal 'Illformed requirement [nil]', e.message - e = assert_raises Gem::Requirement::BadRequirementError do Gem::Requirement.parse "" end -assert_equal 'Illformed requirement [""]', e.message - assert_equal Gem::Requirement::BadRequirementError.superclass, ArgumentError end diff -Naur a/test/rubygems/test_gem_version.rb b/test/rubygems/test_gem_version.rb --- a/test/rubygems/test_gem_version.rb 2013-10-21 16:53:11.412939804 +0200 +++ b/test/rubygems/test_gem_version.rb 2013-10-21 17:20:41.741034852 +0200 @@ -67,12 +67,17 @@ end def test_initialize_bad -["junk", "1.0\n2.0"].each do |bad| - e = assert_raises ArgumentError do +%W[ + junk + 1.0\n2.0 + 1..2 + 1.2\ 3.4 +].each do |bad| + e = assert_raises ArgumentError, bad do Gem::Version.new bad end - assert_equal "Malformed version number string #{bad}", e.message + assert_equal "Malformed version number string #{bad}", e.message, bad end end -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ruby20 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby20 for openSUSE:Factory checked in at 2013-07-18 17:34:33 Comparing /work/SRC/openSUSE:Factory/ruby20 (Old) and /work/SRC/openSUSE:Factory/.ruby20.new (New) Package is "ruby20" Changes: --- /work/SRC/openSUSE:Factory/ruby20/ruby20.changes2013-07-03 16:53:25.0 +0200 +++ /work/SRC/openSUSE:Factory/.ruby20.new/ruby20.changes 2013-07-18 18:08:34.0 +0200 @@ -1,0 +2,5 @@ +Thu Jul 18 08:43:59 UTC 2013 - co...@suse.com + +- adding vm_debug.h to the extra header list (needed for perftools.rb) + +--- Other differences: -- ++ ruby20.spec ++ --- /var/tmp/diff_new_pack.Ah2Gdc/_old 2013-07-18 18:08:35.0 +0200 +++ /var/tmp/diff_new_pack.Ah2Gdc/_new 2013-07-18 18:08:35.0 +0200 @@ -229,7 +229,7 @@ echo "%defattr(-,root,root,-)" > devel-extra-excludes echo "%defattr(-,root,root,-)" > devel-extra-list for i in iseq.h insns.inc insns_info.inc revision.h version.h thread_pthread.h \ - ruby_atomic.h method.h id.h vm_core.h vm_opts.h node.h eval_intern.h; do + ruby_atomic.h method.h id.h vm_core.h vm_opts.h node.h eval_intern.h vm_debug.h; do install -m 644 $i %{buildroot}%{_includedir}/ruby-%{rb_ver}/ echo "%exclude %{_includedir}/ruby-%{rb_ver}/$i" >> devel-extra-excludes echo "%{_includedir}/ruby-%{rb_ver}/$i" >> devel-extra-list -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ruby20 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby20 for openSUSE:Factory checked in at 2013-07-03 16:53:23 Comparing /work/SRC/openSUSE:Factory/ruby20 (Old) and /work/SRC/openSUSE:Factory/.ruby20.new (New) Package is "ruby20" Changes: --- /work/SRC/openSUSE:Factory/ruby20/ruby20.changes2013-06-17 10:33:57.0 +0200 +++ /work/SRC/openSUSE:Factory/.ruby20.new/ruby20.changes 2013-07-03 16:53:25.0 +0200 @@ -1,0 +2,20 @@ +Sat Jun 29 04:26:18 UTC 2013 - co...@suse.com + +- update to p247 + * This release includes a security fix about bundled OpenSSL. + Hostname check bypassing vulnerability in SSL client (CVE-2013-4073) + + * Updated to rubygems 2.0.3. See + http://rubygems.rubyforge.org/rubygems-update/History_txt.html#label-2.0.3+%2F+2012-03-1 +for release notes. + + #8040 change priority between keyword arguments and mandatory arguments. + #8416 super does not forward either named or anonymous ** + #8463 Proc auto-splat bug with named arguments + #8424 fix infinite loop when stack overflow with TH_PUSH_TAG() + #8436 __dir__ not working in eval with binding + #8489 Tracepoint API: B_RETURN_EVENT not triggered when “next” used + #8341 block_given? (and the actual block) persist between calls to a proc created from a method (using method().to_proc()). + #8531 block_given? (and the actual block) persist between calls to a proc created by Symbol#to_proc. + +--- @@ -10 +30 @@ -- update to p295 +- update to p195 Old: ruby-2.0.0-p195.tar.bz2 New: ruby-2.0.0-p247.tar.bz2 Other differences: -- ++ ruby20.spec ++ --- /var/tmp/diff_new_pack.6jbGZo/_old 2013-07-03 16:53:26.0 +0200 +++ /var/tmp/diff_new_pack.6jbGZo/_new 2013-07-03 16:53:26.0 +0200 @@ -17,7 +17,7 @@ Name: ruby20 -%define patch_level p195 +%define patch_level p247 Version:2.0.0.%{patch_level} Release:0 # @@ -65,7 +65,7 @@ Provides: ruby(abi) = %{rb_ver} # Url:http://www.ruby-lang.org/ -Source: ftp://ftp.ruby-lang.org/pub/ruby/ruby-%{pkg_version}-%{patch_level}.tar.bz2 +Source: ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-%{pkg_version}-%{patch_level}.tar.bz2 Source6:ruby20.macros Patch0: rubygems-1.5.0_buildroot.patch Patch1: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch ++ ruby-2.0.0-p195.tar.bz2 -> ruby-2.0.0-p247.tar.bz2 ++ /work/SRC/openSUSE:Factory/ruby20/ruby-2.0.0-p195.tar.bz2 /work/SRC/openSUSE:Factory/.ruby20.new/ruby-2.0.0-p247.tar.bz2 differ: char 11, line 1 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ruby20 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby20 for openSUSE:Factory checked in at 2013-06-17 10:33:42 Comparing /work/SRC/openSUSE:Factory/ruby20 (Old) and /work/SRC/openSUSE:Factory/.ruby20.new (New) Package is "ruby20" Changes: --- /work/SRC/openSUSE:Factory/ruby20/ruby20.changes2013-06-05 13:11:53.0 +0200 +++ /work/SRC/openSUSE:Factory/.ruby20.new/ruby20.changes 2013-06-17 10:33:57.0 +0200 @@ -1,0 +2,6 @@ +Fri Jun 14 14:40:43 UTC 2013 - co...@suse.com + +- remove vim and ca-certificates from buildrequires again, were removed + from ruby19 already before 12.3 and came back + +--- Other differences: -- ++ ruby20.spec ++ --- /var/tmp/diff_new_pack.JpEPqv/_old 2013-06-17 10:34:06.0 +0200 +++ /var/tmp/diff_new_pack.JpEPqv/_new 2013-06-17 10:34:06.0 +0200 @@ -61,14 +61,6 @@ BuildRequires: valgrind %endif %endif -%if 0%{?suse_version} > 1120 -BuildRequires: ca-certificates -BuildRequires: ca-certificates-cacert -%else -BuildRequires: openssl-certs -%endif -BuildRequires: vim -# Provides: rubygem-rake = 0.9.2.2 Provides: ruby(abi) = %{rb_ver} # -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit ruby20 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby20 for openSUSE:Factory checked in at 2013-06-05 13:11:46 Comparing /work/SRC/openSUSE:Factory/ruby20 (Old) and /work/SRC/openSUSE:Factory/.ruby20.new (New) Package is "ruby20" Changes: --- /work/SRC/openSUSE:Factory/ruby20/ruby20.changes2013-05-07 07:34:38.0 +0200 +++ /work/SRC/openSUSE:Factory/.ruby20.new/ruby20.changes 2013-06-05 13:11:53.0 +0200 @@ -1,0 +2,70 @@ +Tue Jun 4 05:51:46 UTC 2013 - co...@suse.com + +- update to p295 + Core - prepend + + #7841 Module#prepend now detect cyclic prepend. + #7843 removing prepended methods causes exceptions. + #8357 Module#prepend breaks Module's comparison operators. + #7983 Module#prepend can't override Fixnum's operator methods. + #8005 methods made private/protected after definition become uncallable on prepended class. + #8025 Module#included_modules include classes when prepended. + + Core - keyword arguments + + #7922 unnamed keyword rest argument cause SyntaxError. + #7942 support define method only receive keyword arguments without paren. + #8008 fix a bug in super with keyword arguments. + #8236 fix a treatment of rest arguments and keyword arguments through `super'. + #8260 non-symbol key should not treated as keyword arguments. + + Core - refinements + + #7925 fix a bug of refinements with a method call super in a block. + + Core - GC + + #8092 improve accuracy of GC.stat[:heap_live_num] + #8146 avoid unnecessary heap growth. + #8145 fix unlimited memory growth with large values of RUBY_FREE_MIN. + + Core - Regexp + + #7972 Regexp POSIX space class is location sensitive. + #7974 Regexp case-insensitive group doesn't work. + #8023 Regexp lookbehind assertion fails with /m mode enabled + #8001 Regexp \Z matches where it shouldn't + + Core - other + + #8063 fix a potential memory violation and avoid abort on the environment _FORTIFY_SOURCE=2 (ex. Ubuntu). + #8175 ARGF#skip doesn't work as documented. + #8069 File.expand_path('something', '~') now support home path on Windows. + #8220 fix a Segmentation fault when defined? (). + #8367 fix a regression in defined?(super). + #8283 Dir.glob doesn't recurse hidden directories. + #8165 fix a bug of multiple require with non-ascii file path. + #8290 fix an incompatible String#inspect behavior with NUL character. + #8360 fix a Segmentation fault of Thread#join(Float::INFINITY) on some platforms. + + RubyGems + + Bundled RubyGems version is updated to 2.0.2+ + #7698 fix an rubygems' incompatibility about installation of extension libraries. + #8019 fix a bug of gem list --remote doesn't work. + + Libraries + + #7911 File.fnmatch with US-ASCII pattern and UTF-8 path raise an exception. + #8240 fix a bug about OpenSSL::SSL::SSLSocket breaks other connections or files on GC. + #8183 CGI.unescapeHTML can't decode Numeric Character References with uppercase (). + + Build/Platform specific + + #7830 fix build failure with compiler warning. + #7950 fix a build failure on mswin/VC with --with-static-linked-ext. + +Removed thread_pthread.c-ruby_init_stack-ignore-STACK_END_ADDRESS.patch, which is from upstream +Removed ruby-sort-rdoc-output.patch which was never useful + +--- Old: ruby-2.0.0-p0.tar.bz2 ruby-sort-rdoc-output.patch thread_pthread.c-ruby_init_stack-ignore-STACK_END_ADDRESS.patch New: ruby-2.0.0-p195.tar.bz2 Other differences: -- ++ ruby20.spec ++ --- /var/tmp/diff_new_pack.IPVmNV/_old 2013-06-05 13:11:54.0 +0200 +++ /var/tmp/diff_new_pack.IPVmNV/_new 2013-06-05 13:11:54.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package ruby20 # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,11 +17,11 @@ Name: ruby20 -Version:2.0.0.p0 +%define patch_level p195 +Version:2.0.0.%{patch_level} Release:0 # %define pkg_version 2.0.0 -%define patch_level p0 # keep in sync with macro file! %define rb_binary_suffix 2.0 %define rb_ver 2.0.0 @@ -30,9 +30,6 @@ %define rb_archdir%{_libdir}/ruby/%{rb_ver}/%{rb_arch} # keep in sync with macro file! # -%if 0%{?suse_version} == 1100 -%define needs_optimization_zero 1 -%endif # from valgrind.spec %ifarch %ix86 x86_64 ppc ppc64 %define use_valgrind 1 @@ -215,23 +212,12 @@ %prep %setup -q -n ruby-%{pkg_version}-%{patch_level} %patch0 -%if 0%{?needs_optimizatio
commit ruby20 for openSUSE:Factory
Hello community, here is the log from the commit of package ruby20 for openSUSE:Factory checked in at 2013-05-07 07:34:37 Comparing /work/SRC/openSUSE:Factory/ruby20 (Old) and /work/SRC/openSUSE:Factory/.ruby20.new (New) Package is "ruby20" Changes: New Changes file: --- /dev/null 2013-04-05 00:01:41.916011506 +0200 +++ /work/SRC/openSUSE:Factory/.ruby20.new/ruby20.changes 2013-05-07 07:34:38.0 +0200 @@ -0,0 +1,11 @@ +--- +Sat Apr 27 17:02:22 UTC 2013 - co...@suse.com + +- refresh buildroot patch + +--- +Tue Mar 5 00:14:14 CET 2013 - mhruse...@suse.cz + +- new package forked from ruby19 - update to 2.0.0 p0 + - patches disabled for now + New: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch ruby-2.0.0-p0.tar.bz2 ruby-sort-rdoc-output.patch ruby19-export_init_prelude.patch ruby20-rpmlintrc ruby20.changes ruby20.macros ruby20.spec rubygems-1.5.0_buildroot.patch thread_pthread.c-ruby_init_stack-ignore-STACK_END_ADDRESS.patch Other differences: -- ++ ruby20.spec ++ # # spec file for package ruby20 # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # 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/ # Name: ruby20 Version:2.0.0.p0 Release:0 # %define pkg_version 2.0.0 %define patch_level p0 # keep in sync with macro file! %define rb_binary_suffix 2.0 %define rb_ver 2.0.0 %define rb_arch %(echo %{_target_cpu}-linux | sed -e "s/ppc/powerpc/") %define rb_libdir %{_libdir}/ruby/%{rb_ver}/ %define rb_archdir%{_libdir}/ruby/%{rb_ver}/%{rb_arch} # keep in sync with macro file! # %if 0%{?suse_version} == 1100 %define needs_optimization_zero 1 %endif # from valgrind.spec %ifarch %ix86 x86_64 ppc ppc64 %define use_valgrind 1 %endif %define run_tests 0 # # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gdbm-devel BuildRequires: libffi-devel BuildRequires: libyaml-devel BuildRequires: ncurses-devel BuildRequires: openssl-devel BuildRequires: pkg-config BuildRequires: readline-devel BuildRequires: tk-devel BuildRequires: zlib-devel # this requires is needed as distros older than 11.3 have a buildignore on freetype2, without this the detection of the tk extension fails BuildRequires: freetype2-devel %if 0%{?suse_version} > 1010 BuildRequires: xorg-x11-libX11-devel %else BuildRequires: xorg-x11-devel %endif %if 0%{?use_valgrind} %if 0%{?suse_version} > 1020 BuildRequires: valgrind-devel %else BuildRequires: valgrind %endif %endif %if 0%{?suse_version} > 1120 BuildRequires: ca-certificates BuildRequires: ca-certificates-cacert %else BuildRequires: openssl-certs %endif BuildRequires: vim # Provides: rubygem-rake = 0.9.2.2 Provides: ruby(abi) = %{rb_ver} # Url:http://www.ruby-lang.org/ Source: ftp://ftp.ruby-lang.org/pub/ruby/ruby-%{pkg_version}-%{patch_level}.tar.bz2 Source6:ruby20.macros Patch0: rubygems-1.5.0_buildroot.patch Patch1: ruby-1.9.2p290_tcl_no_stupid_rpaths.patch # Summary:An Interpreted Object-Oriented Scripting Language License:BSD-2-Clause or Ruby Group: Development/Languages/Ruby %description Ruby is an interpreted scripting language for quick and easy object-oriented programming. It has many features for processing text files and performing system management tasks (as in Perl). It is simple, straight-forward, and extensible. * Ruby features: - Simple Syntax - *Normal* Object-Oriented features (class, method calls, for example) - *Advanced* Object-Oriented features(Mix-in, Singleton-method, for example) - Operator Overloading - Exception Handling - Iterators and Closures - Garbage Collection - Dynamic Loading of Object Files (on some architectures) - Highly Portable (works on many UNIX machines; DOS, Windows, Mac, BeOS, and more) %package devel Summary:Development files to link against Ruby Group: Development/Languages/Ruby Requires: %{name} = %{version} Provides: ru