source: projects/specs/trunk/r/ruby/ruby-vl.spec @ 11052

Revision 11052, 83.8 KB checked in by daisuke, 7 years ago (diff)

ruby: update to 2.4.1

RevLine 
[8023]1%global major_version 2
[11052]2%global minor_version 4
3%global teeny_version 1
[521]4
[6986]5%global major_minor_version %{major_version}.%{minor_version}
[521]6
[6986]7%global ruby_version %{major_minor_version}.%{teeny_version}
[8695]8%global ruby_release %{major_minor_version}.0
[8600]9%global ruby_abi %{major_minor_version}.0
[521]10
[8600]11%global ruby_archive %{name}-%{ruby_version}
[6986]12
[8695]13%global ruby_libdir %{_datadir}/%{name}
14%global ruby_libarchdir %{_libdir}/%{name}
[6986]15
16# This is the local lib/arch and should not be used for packaging.
17%global ruby_sitedir site_ruby
[8695]18%global ruby_sitelibdir %{_prefix}/local/share/ruby/%{ruby_sitedir}
19%global ruby_sitearchdir %{_prefix}/local/%{_lib}/ruby/%{ruby_sitedir}
[6986]20
21# This is the general location for libs/archs compatible with all
22# or most of the Ruby versions
23%global ruby_vendordir vendor_ruby
[8695]24%global ruby_vendorlibdir %{_prefix}/share/ruby/%{ruby_vendordir}
25%global ruby_vendorarchdir %{_libdir}/ruby/%{ruby_vendordir}
[6986]26
[11052]27%global rubygems_version 2.6.8
[6986]28
29# The RubyGems library has to stay out of Ruby directory tree, since the
30# RubyGems should be share by all Ruby implementations.
31%global rubygems_dir %{_datadir}/rubygems
32
33# Specify custom RubyGems root.
[7189]34%global gem_dir %{_datadir}/gems
35%global gem_extdir %{_libdir}/gems
36%global gem_extdirs %{_exec_prefix}/lib{,64}/gems
[6986]37
38# TODO: The IRB has strange versioning. Keep the Ruby's versioning ATM.
39# http://redmine.ruby-lang.org/issues/5313
[8600]40%global irb_version %{ruby_version}
41
[11052]42%global rake_version 12.0.0
43%global rdoc_version 5.0.0
44%global bigdecimal_version 1.3.0
45%global io_console_version 0.4.6
46%global json_version 2.0.2
47%global minitest_version 5.10.1
48%global psych_version 2.2.2
49%global power_assert_version 0.4.1
50%global test_unit_version 3.2.3
51%global xmlrpc_version 0.2.1
[6986]52
[8023]53# Note:
54# As seen on perl srpm, as this (ruby) srpm contains several sub-components,
55# we cannot reset the release number to 1 even when the main (ruby) version
56# is updated - because it may be that the versions of sub-components don't
57# change.
[8794]58# rubyのmainバージョンが更新されても1には戻さずに必ず+1してください。
[11052]59%global ruby_rel 14
[8023]60
[6986]61%bcond_without emacsen
62%define rbmode          ruby-mode
63%define rbmode_el       ruby-mode
64
65%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i686/;s/sparcv./sparc/')
66
[521]67Summary: An interpreter of object-oriented scripting language
68Summary(ja): オブジェクト指向言語 Ruby インタプリタ
69Name: ruby
[8600]70Version: %{ruby_version}
[8023]71Release: %{ruby_rel}%{?_dist_release}
[521]72Group: Development/Languages
[6986]73# Public Domain for example for: include/ruby/st.h, strftime.c, ...
74License: (Ruby or BSD) and Public Domain
75URL: http://ruby-lang.org/
[9101]76Source0: ftp://ftp.ruby-lang.org/pub/%{name}/%{major_minor_version}/%{ruby_archive}.tar.xz
[6986]77Source1: operating_system.rb
[8023]78Source3: abrt_prelude.rb
[6986]79
[521]80Source6: %{rbmode_el}-install.sh
81Source7: %{rbmode_el}-remove.sh
82Source8: %{rbmode_el}-init.el
83
[6986]84# changelog of fedora package
85Source10: Changelog.fedora
86
[8023]87### Patch[0-99] from fedora package
88# http://bugs.ruby-lang.org/issues/7807
[8600]89Patch0: ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch
90# Allows to override libruby.so placement. Hopefully we will be able to return
91# to plain --with-rubyarchprefix.
92# http://bugs.ruby-lang.org/issues/8973
93Patch1: ruby-2.1.0-Enable-configuration-of-archlibdir.patch
[8023]94# Force multiarch directories for i.86 to be always named i386. This solves
95# some differencies in build between Fedora and RHEL.
[8600]96Patch3: ruby-2.1.0-always-use-i386.patch
[6986]97# Allows to install RubyGems into custom directory, outside of Ruby's tree.
98# http://redmine.ruby-lang.org/issues/5617
[8600]99Patch8: ruby-2.1.0-custom-rubygems-location.patch
[6986]100# Make mkmf verbose by default
101Patch12: ruby-1.9.3-mkmf-verbose.patch
[8023]102# Adds support for '--with-prelude' configuration option. This allows to built
103# in support for ABRT.
104# http://bugs.ruby-lang.org/issues/8566
[9742]105Patch17: ruby-2.1.0-Allow-to-specify-additional-preludes-by-configuratio.patch
[6986]106
[8023]107
108
[6986]109Requires: %{name}-libs = %{version}-%{release}
110Requires: ruby(rubygems) >= %{rubygems_version}
111# Make the bigdecimal gem a runtime dependency of Ruby to avoid problems
112# with user-installed gems, that don't require it in gemspec/Gemfile
113# See https://bugzilla.redhat.com/show_bug.cgi?id=829209
114# and http://bugs.ruby-lang.org/issues/6123
115Requires: rubygem(bigdecimal) >= %{bigdecimal_version}
116
[11052]117# Tcl/Tk was dropped from stdlib
118Obsoletes: ruby-tcltk < 2.4.0
[6986]119
[11052]120
[521]121BuildRoot: %{_tmppath}/%{name}-%{version}-root
[6986]122BuildRequires: autoconf
123BuildRequires: gdbm-devel
124BuildRequires: ncurses-devel
[8794]125BuildRequires: libdb-devel
[6986]126BuildRequires: libffi-devel
127BuildRequires: openssl-devel
128BuildRequires: libyaml-devel
[521]129BuildRequires: readline-devel
130BuildRequires: libX11-devel
131BuildRequires: zlib-devel
[6986]132# Needed to pass test_set_program_name(TestRubyOptions)
133BuildRequires: procps
[521]134
[6986]135Distribution: Vine Linux
[2530]136Vendor: Project Vine
[6986]137Packager: daisuke
[2530]138
[6986]139
[521]140%description
141Ruby is the interpreted scripting language for quick and easy
[6986]142object-oriented programming.  It has many features to process text
143files and to do system management tasks (as in Perl).  It is simple,
[521]144straight-forward, and extensible.
145
146%description -l ja
147Rubyはシンプルかつ強力なオブジェクト指向スクリプト言語です.Rubyは最初
148から純粋なオブジェクト指向言語として設計されていますから,オブジェクト
149指向プログラミングを手軽に行う事が出来ます.もちろん通常の手続き型のプ
150ログラミングも可能です.
151
152Rubyはテキスト処理関係の能力などに優れ,Perlと同じくらい強力です.さら
153にシンプルな文法と,例外処理やイテレータなどの機構によって,より分かり
154やすいプログラミングが出来ます.
155
[6986]156%package devel
157Summary:    A Ruby development environment
158Summary(ja): Ruby 開発環境
159Group:      Development/Languages
160# Requires:   %{name}-libs = %{version}-%{release}
161Requires:   %{name} = %{version}-%{release}
[521]162
[6986]163%description devel
164Header files and libraries for building an extension library for the
165Ruby or an application embedding Ruby.
166
167%description devel -l ja
168Rubyのための拡張ライブラリやRubyを組み込んだアプリケーションを作るため
169に必要となるへッダファイルやライブラリです.
170
171
172%package libs
173Summary:    Libraries necessary to run Ruby
174Group:      Development/Libraries
175License:    Ruby or BSD
[8023]176Provides:   ruby(abi) = %{ruby_release}
177Provides:   ruby(release) = %{ruby_release}
[6986]178Provides:   libruby = %{version}-%{release}
179Obsoletes:  libruby < 1.9
180Obsoletes:  drb erb
181Obsoletes:  ruby-csv ruby-optparse ruby-rexml ruby-strscan rubyunit racc-runtime
182Obsoletes:  ruby-openssl < 1.9
183
184%description libs
[521]185This package includes the libruby, necessary to run Ruby.
186
[6986]187%description libs -l ja
[521]188このパッケージには Ruby を利用するために必要となるライブラリが含まれ
189ています.
190
191
[6986]192%package rubygems
193Summary:    Packaging system for Ruby application or library
194Summary(ja): Ruby アプリケーションやライブラリのためのパッケージシステム
195Version:    %{rubygems_version}
196Group:      Development/Libraries
197License:    Ruby or MIT
[8023]198Requires:   ruby(release) = %{ruby_release}
[6986]199Requires:   rubygem(rdoc) >= %{rdoc_version}
200Requires:   rubygem(io-console) >= %{io_console_version}
[8023]201Requires:   rubygem(psych) >= %{psych_version}
202Requires:   ca-certificates
[6986]203Provides:   gem = %{version}-%{release}
204Provides:   ruby(rubygems) = %{version}-%{release}
205Obsoletes:  rubygems <= 1.8.24-1vl7
206BuildArch:  noarch
[521]207
[6986]208%description rubygems
209RubyGems is the Ruby standard for publishing and managing third party
210libraries.
[521]211
[6986]212%description rubygems -l ja
213RubyGems は Ruby 標準のサードパーティ製ライブラリのパッケージ管理
214システムです。
[521]215
216
[6986]217%package rubygems-devel
218Summary:    Macros and development tools for packaging RubyGems
219Version:    %{rubygems_version}
220Group:      Development/Libraries
221License:    Ruby or MIT
222Requires:   ruby(rubygems) = %{version}-%{release}
223BuildArch:  noarch
[521]224
[6986]225%description rubygems-devel
226Macros and development tools for packaging RubyGems.
[521]227
228
[6986]229%package -n rubygem-rake
230Summary:    Ruby based make-like utility
231Summary(ja): Ruby ベースの make のようなユーティリティ
232Version:    %{rake_version}
233Group:      Development/Libraries
234License:    Ruby or MIT
[8023]235Requires:   ruby(release) = %{ruby_release}
[6986]236Requires:   ruby(rubygems) >= %{rubygems_version}
237Provides:   rake = %{version}-%{release}
238Provides:   rubygem(rake) = %{version}-%{release}
239BuildArch:  noarch
[521]240
[6986]241%description -n rubygem-rake
242Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
243specified in standard Ruby syntax.
[521]244
[6986]245%description -n rubygem-rake -l ja
246Rake は Ruby ベースの make のようなユーティリティです。
247
248
249%package irb
250Summary:    The Interactive Ruby
251Summary(ja):  インタラクティブ Ruby
252Version:    %{irb_version}
253Group:      Development/Libraries
[8600]254Requires:   %{name}-libs = %{ruby_version}
[6986]255Obsoletes:  irb < 1.9
256Provides:   irb = %{version}-%{release}
257Provides:   ruby(irb) = %{version}-%{release}
258BuildArch:  noarch
259
260%description irb
261The irb is acronym for Interactive Ruby.  It evaluates ruby expression
[521]262from the terminal.
263
[6986]264%description irb -l ja
265irb は Interactive RuBy の略で、対話的にRubyの式を入力し、
266評価させることが可能です。
[521]267
268
[6986]269%package -n rubygem-rdoc
270Summary:    A tool to generate HTML and command-line documentation for Ruby projects
271Summary(ja): Rubyのソースコードからドキュメントを生成するツール
272Version:    %{rdoc_version}
273Group:      Development/Libraries
274License:    GPLv2 and Ruby and MIT
[8023]275Requires:   ruby(release) = %{ruby_release}
[6986]276Requires:   ruby(rubygems) >= %{rubygems_version}
277Requires:   ruby(irb) = %{irb_version}
[8794]278Requires:   rubygem(json) = %{json_version}
[6986]279Provides:   rdoc = %{version}-%{release}
280Provides:   ri = %{version}-%{release}
281Provides:   rubygem(rdoc) = %{version}-%{release}
282Obsoletes:  rdoc < 1.9
283Obsoletes:  ruby-rdoc < %{version}
284Obsoletes:  ruby-ri < %{version}
285BuildArch:  noarch
[521]286
[6986]287%description -n rubygem-rdoc
288RDoc produces HTML and command-line documentation for Ruby projects.  RDoc
289includes the 'rdoc' and 'ri' tools for generating and displaying online
290documentation.
[521]291
[6986]292%description -n rubygem-rdoc -l ja
[521]293RDocはRubyのソースコードからドキュメントを生成するツールです.
294
295
[6986]296%package doc
297Summary:    Documentation for %{name}
298Summary(ja): %{name} のドキュメント
299Group:      Applications/Documentation
300Requires:   %{_bindir}/ri
301# TODO: It seems that ri documentation differs from platform to platform due to
302# some encoding bugs, therefore the documentation should be split out of this gem
303# or kept platform specific.
304# https://github.com/rdoc/rdoc/issues/71
305# BuildArch:  noarch
[521]306
[6986]307%description doc
308This package contains documentation for %{name}.
[521]309
310
[6986]311%package -n rubygem-bigdecimal
312Summary:    BigDecimal provides arbitrary-precision floating point decimal arithmetic
313Version:    %{bigdecimal_version}
314Group:      Development/Libraries
315License:    GPL+ or Artistic
[8023]316Requires:   ruby(release) = %{ruby_release}
[6986]317Requires:   ruby(rubygems) >= %{rubygems_version}
318Provides:   rubygem(bigdecimal) = %{version}-%{release}
319
320%description -n rubygem-bigdecimal
321Ruby provides built-in support for arbitrary precision integer arithmetic.
322For example:
323
32442**13 -> 1265437718438866624512
325
326BigDecimal provides similar support for very large or very accurate floating
327point numbers. Decimal arithmetic is also useful for general calculation,
328because it provides the correct answers people expect–whereas normal binary
329floating point arithmetic often introduces subtle errors because of the
330conversion between base 10 and base 2.
331
332
333%package -n rubygem-io-console
334Summary:    IO/Console is a simple console utilizing library
335Version:    %{io_console_version}
336Group:      Development/Libraries
[8023]337Requires:   ruby(release) = %{ruby_release}
[6986]338Requires:   ruby(rubygems) >= %{rubygems_version}
339Provides:   rubygem(io-console) = %{version}-%{release}
340
341%description -n rubygem-io-console
342IO/Console provides very simple and portable access to console. It doesn't
343provide higher layer features, such like curses and readline.
344
345
346%package -n rubygem-json
347Summary:    This is a JSON implementation as a Ruby extension in C
348Version:    %{json_version}
349Group:      Development/Libraries
350License:    Ruby or GPLv2
[8023]351Requires:   ruby(release) = %{ruby_release}
[6986]352Requires:   ruby(rubygems) >= %{rubygems_version}
353Provides:   rubygem(json) = %{version}-%{release}
354
355%description -n rubygem-json
356This is a implementation of the JSON specification according to RFC 4627.
357You can think of it as a low fat alternative to XML, if you want to store
358data to disk or transmit it over a network rather than use a verbose
359markup language.
360
361
362%package -n rubygem-minitest
363Summary:    Minitest provides a complete suite of testing facilities.
364Version:    %{minitest_version}
365Group:      Development/Libraries
366License:    MIT
[8023]367Requires:   ruby(release) = %{ruby_release}
[6986]368Requires:   ruby(rubygems) >= %{rubygems_version}
369Provides:   rubygem(minitest) = %{version}-%{release}
370BuildArch:  noarch
371
372%description -n rubygem-minitest
373minitest/unit is a small and incredibly fast unit testing framework.
374
375minitest/spec is a functionally complete spec engine.
376
377minitest/benchmark is an awesome way to assert the performance of your
378algorithms in a repeatable manner.
379
380minitest/mock by Steven Baker, is a beautifully tiny mock object
381framework.
382
383minitest/pride shows pride in testing and adds coloring to your test
384output.
385
386
[8023]387%package -n rubygem-psych
388Summary:    A libyaml wrapper for Ruby
389Version:    %{psych_version}
390Group:      Development/Libraries
391License:    MIT
392Requires:   ruby(release)
393Requires:   ruby(rubygems) >= %{rubygems_version}
394Provides:   rubygem(psych) = %{version}-%{release}
395
396%description -n rubygem-psych
397Psych is a YAML parser and emitter. Psych leverages
398libyaml[http://pyyaml.org/wiki/LibYAML] for its YAML parsing and
[9742]399emitting capabilities. In addition to wrapping libyaml, Psych also
400knows how to serialize and de-serialize most Ruby objects to and
401from the YAML format.
[8023]402
403
[9742]404%package -n rubygem-power_assert
405Summary:    Power Assert for Ruby
406Version:    %{power_assert_version}
407Group:      Development/Libraries
408License:    Ruby or BSD
409Requires:   ruby(release)
410Requires:   ruby(rubygems) >= %{rubygems_version}
411Provides:   rubygem(power_assert) = %{version}-%{release}
412BuildArch:  noarch
413
414%description -n rubygem-power_assert
415Power Assert for Ruby.
416
417
418%package -n rubygem-test-unit
419Summary:    Improved version of Test::Unit bundled in Ruby 1.8.x
420Version:    %{test_unit_version}
421Group:      Development/Libraries
422# lib/test/unit/diff.rb is a double license of the Ruby license and PSF license.
423# lib/test-unit.rb is a dual license of the Ruby license and LGPLv2.1 or later.
424License:    (Ruby or BSD) and (Ruby or BSD or Python) and (Ruby or BSD or LGPLv2+)
425Requires:   ruby(release)
426Requires:   ruby(rubygems) >= %{rubygems_version}
427Requires:   rubygem(power_assert)
428Provides:   rubygem(test-unit) = %{version}-%{release}
429BuildArch:  noarch
430
431%description -n rubygem-test-unit
432Ruby 1.9.x bundles minitest not Test::Unit. Test::Unit
433bundled in Ruby 1.8.x had not been improved but unbundled
434Test::Unit (test-unit) is improved actively.
435
436
[11052]437%package -n rubygem-xmlrpc
438Summary:    XMLRPC is a lightweight protocol that enables remote procedure calls over H TTP
439Version:    %{xmlrpc_version}
440Group:      Development/Libraries
441License:    Ruby or BSD
442Requires:   ruby(release)
443Requires:   ruby(rubygems) >= %{rubygems_version}
444Provides:   rubygem(xmlrpc) = %{version}-%{release}
445BuildArch:  noarch
[6986]446
[11052]447%description -n rubygem-xmlrpc
448XMLRPC is a lightweight protocol that enables remote procedure calls
449over HTTP.
[6986]450
451
452%if %{with emacsen}
453%package mode
[521]454Summary: Emacs-lisp ruby-mode for the scripting language Ruby
[6986]455Summary(ja): Emacs上でRubyスクリプトを書くためのモード
[521]456Group: Applications/Editors/Emacs
[6142]457Requires(post): emacsen, emacsen-common >= 0.1
458Requires(preun): emacsen, emacsen-common >= 0.1
[6986]459BuildArch: noarch
[521]460
461%description -n %{rbmode_el}
462Emacs-lisp ruby-mode for the object-oriented scripting language Ruby.
463
464%description -n %{rbmode_el} -l ja
465Emacs上でRubyスクリプトを書くのに便利なモードです.
466%endif
467
[6986]468
[521]469%prep
[6986]470%setup -q -n %{ruby_archive}
[521]471
[6986]472%patch0 -p1
[8600]473%patch1 -p1
[6986]474%patch3 -p1
475%patch8 -p1
476%patch12 -p1
[8023]477%patch17 -p1
[521]478
[8023]479cp -a %{SOURCE3} .
480
[521]481%build
482autoconf
483
[6986]484%configure \
485        --with-rubylibprefix='%{ruby_libdir}' \
[8023]486        --with-rubyarchprefix='%{ruby_libarchdir}' \
[6986]487        --with-archdir='%{ruby_libarchdir}' \
[8600]488        --with-archlibdir='%{_libdir}' \
[6986]489        --with-sitedir='%{ruby_sitelibdir}' \
[8695]490        --with-sitearchdir='%{ruby_sitearchdir}/%{ruby_release}' \
[6986]491        --with-vendordir='%{ruby_vendorlibdir}' \
[8695]492        --with-vendorarchdir='%{ruby_vendorarchdir}/%{ruby_release}' \
[6986]493        --with-rubyhdrdir='%{_includedir}' \
[8023]494        --with-rubyarchhdrdir='%{_includedir}' \
495        --with-sitearchhdrdir='%{_includedir}/$(arch)' \
496        --with-vendorarchhdrdir='%{_includedir}/$(arch)' \
[6986]497        --with-rubygemsdir='%{rubygems_dir}' \
[8023]498        --with-ruby-pc='%{name}.pc' \
[6986]499        --disable-rpath \
500        --enable-shared \
[8023]501        --enable-multiarch \
502        --with-prelude=./abrt_prelude.rb
[521]503
[8023]504
[6986]505# Q= makes the build output more verbose and allows to check compiler options.
506make %{?_smp_mflags} COPY="cp -p" Q=
[521]507
508
509%install
[6986]510rm -rf %{buildroot}
511make install DESTDIR=%{buildroot}
[521]512
[8023]513# Version is empty if --with-ruby-version is specified.
514# http://bugs.ruby-lang.org/issues/7807
515sed -i 's/Version: \${ruby_version}/Version: %{ruby_version}/' %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
516
[6986]517# install ruby-mode
518%if %{with emacsen}
[521]519mkdir -p $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/%{rbmode}
520mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib/emacsen-common/packages/install
521mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib/emacsen-common/packages/remove
[6986]522cp misc/*.el %{SOURCE8} $RPM_BUILD_ROOT/%{_datadir}/emacs/site-lisp/%{rbmode}
[521]523
[6986]524%_installemacsenscript %{rbmode} %{SOURCE6}
525%_removeemacsenscript  %{rbmode} %{SOURCE7}
526
[521]527%endif
528
[6986]529# Dump the macros into macro.ruby to use them to build other Ruby libraries.
530mkdir -p %{buildroot}%{_sysconfdir}/rpm
531cat >> %{buildroot}%{_sysconfdir}/rpm/macros.ruby << \EOF
[8695]532%%ruby_libdir %%{_datadir}/%{name}
533%%ruby_libarchdir %%{_libdir}/%{name}
[521]534
[6986]535# This is the local lib/arch and should not be used for packaging.
[8695]536%%ruby_sitedir site_ruby/%{ruby_release}
537%%ruby_sitelibdir %%{_prefix}/local/share/%{name}/%%{ruby_sitedir}
538%%ruby_sitearchdir %%{_prefix}/local/%%{_lib}/%{name}/%%{ruby_sitedir}
[521]539
[6986]540# This is the general location for libs/archs compatible with all
541# or most of the Ruby versions
[8695]542%%ruby_vendordir vendor_ruby/%{ruby_release}
543%%ruby_vendorlibdir %%{_datadir}/%{name}/%%{ruby_vendordir}
544%%ruby_vendorarchdir %%{_libdir}/%{name}/%%{ruby_vendordir}
[6986]545EOF
[521]546
[6986]547cat >> %{buildroot}%{_sysconfdir}/rpm/macros.rubygems << \EOF
548# The RubyGems root folder.
549%%gem_dir %{gem_dir}
[8695]550%%gem_archdir %{_libdir}/gems
[521]551
[6986]552# Common gem locations and files.
[8695]553%%gem_instdir %%{gem_dir}/%{ruby_release}/gems/%%{gem_name}-%%{version}
554%%gem_extdir %%{_libdir}/gems/%{ruby_release}/exts/%%{gem_name}-%%{version}
[6986]555%%gem_libdir %%{gem_instdir}/lib
[8695]556%%gem_cache %%{gem_dir}/%{ruby_release}/cache/%%{gem_name}-%%{version}.gem
557%%gem_spec %%{gem_dir}/%{ruby_release}/specifications/%%{gem_name}-%%{version}.gemspec
558%%gem_docdir %%{gem_dir}/%{ruby_release}/doc/%%{gem_name}-%%{version}
[6986]559EOF
[521]560
[6986]561# Install custom operating_system.rb.
562mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults
563cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults
[521]564
[6986]565# Move gems root into common direcotry, out of Ruby directory structure.
[8023]566mv %{buildroot}%{ruby_libdir}/gems %{buildroot}%{gem_dir}
[521]567
[6986]568# Create folders for gem binary extensions.
[7015]569mkdir -p %{buildroot}%{gem_extdirs}/exts
[521]570
[6986]571# Move bundled rubygems to %%gem_dir and %%gem_extdir
[7189]572# make symlinks for io-console and bigdecimal,
573# which are considered to be part of stdlib by other Gems
[11052]574
[8023]575## rake
[11052]576# Move man pages into proper location
577mv %{buildroot}%{gem_dir}/%{ruby_release}/gems/rake-%{rake_version}/doc/rake.1 %{buildroot}%{_mandir}/man1
[521]578
[8023]579## rdoc
[8695]580mkdir -p %{buildroot}%{gem_dir}/%{ruby_release}/gems/rdoc-%{rdoc_version}/lib
581mv %{buildroot}%{ruby_libdir}/%{ruby_release}/rdoc* %{buildroot}%{gem_dir}/%{ruby_release}/gems/rdoc-%{rdoc_version}/lib
582mv %{buildroot}%{gem_dir}/%{ruby_release}/specifications/default/rdoc-%{rdoc_version}.gemspec %{buildroot}%{gem_dir}/%{ruby_release}/specifications
[521]583
[8023]584## bigdecimal
[7015]585# gem_dir
[8695]586mkdir -p %{buildroot}%{gem_dir}/%{ruby_release}/gems/bigdecimal-%{bigdecimal_version}/lib
587mv %{buildroot}%{ruby_libdir}/%{ruby_release}/bigdecimal %{buildroot}%{gem_dir}/%{ruby_release}/gems/bigdecimal-%{bigdecimal_version}/lib
588ln -s %{gem_dir}/%{ruby_release}/gems/bigdecimal-%{bigdecimal_version}/lib/bigdecimal %{buildroot}%{ruby_libdir}/%{ruby_release}/bigdecimal
[7015]589# gem_extdir
[8695]590mkdir -p %{buildroot}%{gem_extdir}/%{ruby_release}/exts/bigdecimal-%{bigdecimal_version}/lib
591mv %{buildroot}%{ruby_libarchdir}/%{ruby_release}/bigdecimal.so %{buildroot}%{gem_extdir}/%{ruby_release}/exts/bigdecimal-%{bigdecimal_version}/lib
592ln -s %{gem_extdir}/%{ruby_release}/exts/bigdecimal-%{bigdecimal_version}/lib/bigdecimal.so %{buildroot}%{ruby_libarchdir}/%{ruby_release}/bigdecimal.so
593mv %{buildroot}%{gem_dir}/%{ruby_release}/specifications/default/bigdecimal-%{bigdecimal_version}.gemspec %{buildroot}%{gem_dir}/%{ruby_release}/specifications
[521]594
[8023]595## io_console
[7015]596# gem_dir
[8695]597mkdir -p %{buildroot}%{gem_dir}/%{ruby_release}/gems/io-console-%{io_console_version}/lib
598mv %{buildroot}%{ruby_libdir}/%{ruby_release}/io %{buildroot}%{gem_dir}/%{ruby_release}/gems/io-console-%{io_console_version}/lib
599ln -s %{gem_dir}/%{ruby_release}/gems/io-console-%{io_console_version}/lib/io %{buildroot}%{ruby_libdir}/%{ruby_release}/io
[7015]600# gem_extdir
[8695]601mkdir -p %{buildroot}%{gem_extdir}/%{ruby_release}/exts/io-console-%{io_console_version}/lib/io
602mv %{buildroot}%{ruby_libarchdir}/%{ruby_release}/io/console.so %{buildroot}%{gem_extdir}/%{ruby_release}/exts/io-console-%{io_console_version}/lib/io
603ln -s %{gem_extdir}/%{ruby_release}/exts/io-console-%{io_console_version}/lib/io/console.so %{buildroot}%{ruby_libarchdir}/%{ruby_release}/io/console.so
604mv %{buildroot}%{gem_dir}/%{ruby_release}/specifications/default/io-console-%{io_console_version}.gemspec %{buildroot}%{gem_dir}/%{ruby_release}/specifications
[521]605
[8023]606## json
[7015]607# gem_dir
[8695]608mkdir -p %{buildroot}%{gem_dir}/%{ruby_release}/gems/json-%{json_version}/lib
609mv %{buildroot}%{ruby_libdir}/%{ruby_release}/json* %{buildroot}%{gem_dir}/%{ruby_release}/gems/json-%{json_version}/lib
610ln -s %{gem_dir}/%{ruby_release}/gems/json-%{json_version}/lib/json %{buildroot}%{ruby_libdir}/%{ruby_release}/json
[7015]611# gem_extdir
[8695]612mkdir -p %{buildroot}%{gem_extdir}/%{ruby_release}/exts/json-%{json_version}/lib
613mv %{buildroot}%{ruby_libarchdir}/%{ruby_release}/json/ %{buildroot}%{gem_extdir}/%{ruby_release}/exts/json-%{json_version}/lib/
[8794]614ln -s %{gem_extdir}/%{ruby_release}/exts/json-%{json_version}/lib/json %{buildroot}%{ruby_libarchdir}/%{ruby_release}/json
[8695]615mv %{buildroot}%{gem_dir}/%{ruby_release}/specifications/default/json-%{json_version}.gemspec %{buildroot}%{gem_dir}/%{ruby_release}/specifications
[521]616
[8023]617## psych
[8695]618mkdir -p %{buildroot}%{gem_dir}/%{ruby_release}/gems/psych-%{psych_version}/lib
619mkdir -p %{buildroot}%{gem_extdir}/%{ruby_release}/exts/psych-%{psych_version}/lib
620mv %{buildroot}%{ruby_libdir}/%{ruby_release}/psych* %{buildroot}%{gem_dir}/%{ruby_release}/gems/psych-%{psych_version}/lib
621mv %{buildroot}%{ruby_libarchdir}/%{ruby_release}/psych.so %{buildroot}%{gem_extdir}/%{ruby_release}/exts/psych-%{psych_version}/lib/
622mv %{buildroot}%{gem_dir}/%{ruby_release}/specifications/default/psych-%{psych_version}.gemspec %{buildroot}%{gem_dir}/%{ruby_release}/specifications
623ln -s %{gem_dir}/%{ruby_release}/gems/psych-%{psych_version}/lib/psych %{buildroot}%{ruby_libdir}/%{ruby_release}/psych
624ln -s %{gem_extdir}/%{ruby_release}/exts/psych-%{psych_version}/lib/psych.so %{buildroot}%{ruby_libarchdir}/%{ruby_release}/psych.so
625ln -s %{gem_dir}/%{ruby_release}/gems/psych-%{psych_version}/lib/psych.rb %{buildroot}%{ruby_libdir}/%{ruby_release}/psych.rb
[8023]626
[6986]627# Adjust the gemspec files so that the gems will load properly
[8023]628sed -i '/^end$/ i\
[8695]629  s.require_paths = ["lib"]' %{buildroot}%{gem_dir}/%{ruby_release}/specifications/rake-%{rake_version}.gemspec
[521]630
[8023]631sed -i '/^end$/ i\
[8695]632  s.require_paths = ["lib"]' %{buildroot}%{gem_dir}/%{ruby_release}/specifications/rdoc-%{rdoc_version}.gemspec
[521]633
[8023]634sed -i '/^end$/ i\
[6986]635  s.require_paths = ["lib"]\
[8695]636  s.extensions = ["bigdecimal.so"]' %{buildroot}%{gem_dir}/%{ruby_release}/specifications/bigdecimal-%{bigdecimal_version}.gemspec
[521]637
[8023]638sed -i '/^end$/ i\
[6986]639  s.require_paths = ["lib"]\
[8695]640  s.extensions = ["io/console.so"]' %{buildroot}%{gem_dir}/%{ruby_release}/specifications/io-console-%{io_console_version}.gemspec
[521]641
[8023]642sed -i '/^end$/ i\
[6986]643  s.require_paths = ["lib"]\
[8695]644  s.extensions = ["json/ext/parser.so", "json/ext/generator.so"]' %{buildroot}%{gem_dir}/%{ruby_release}/specifications/json-%{json_version}.gemspec
[521]645
[8023]646sed -i '/^end$/ i\
[8695]647  s.require_paths = ["lib"]' %{buildroot}%{gem_dir}/%{ruby_release}/specifications/minitest-%{minitest_version}.gemspec
[521]648
[6986]649%check
650DISABLE_TESTS=""
[521]651
[6986]652# OpenSSL 1.0.1 is breaking the drb test suite.
653# https://bugs.ruby-lang.org/issues/6221
654DISABLE_TESTS="-x test_drbssl.rb $DISABLE_TESTS"
[521]655
[8023]656# Disable tests which requires /dev/pts
657DISABLE_TESTS="-x test_curses.rb $DISABLE_TESTS"
658
[6986]659%ifarch armv7l armv7hl armv7hnl
660# test_call_double(DL::TestDL) fails on ARM HardFP
661# http://bugs.ruby-lang.org/issues/6592
662DISABLE_TESTS="-x test_dl2.rb $DISABLE_TESTS"
663%endif
[521]664
[8023]665touch abrt.rb
666
[6986]667%ifnarch ppc ppc64
[8023]668# Allow MD5 in OpenSSL.
669# https://bugs.ruby-lang.org/issues/9154
670OPENSSL_ENABLE_MD5_VERIFY=1 make check TESTS="-v $DISABLE_TESTS"
[6986]671%endif
[521]672
[6986]673%post libs -p /sbin/ldconfig
[521]674
[6986]675%postun libs -p /sbin/ldconfig
[521]676
[6986]677%if %{with emacsen}
678%post -n %{rbmode_el}
679if [ "$1" = 2 ]; then
[521]680
[6986]681  %_emacsenPackageRemove %{rbmode}
[521]682
[6986]683fi
[521]684
[6986]685%_addemacsenlist %{rbmode}
[521]686
[6986]687%_emacsenPackageInstall %{rbmode}
688 
689%preun -n %{rbmode_el}
690if [ "$1" = 0 ]; then
[521]691
[6986]692  %_emacsenPackageRemove %{rbmode}
[521]693
[6986]694  %_removeemacsenlist %{rbmode}
[521]695
[6986]696fi
[521]697%endif
[6986]698     
[521]699
[6986]700%files
701%doc COPYING
702%lang(ja) %doc COPYING.ja
703%doc GPL
704%doc LEGAL
705%{_bindir}/erb
706%{_bindir}/ruby
707%{_mandir}/man1/erb*
708%{_mandir}/man1/ruby*
[521]709
[6986]710%files devel
711%doc COPYING*
712%doc GPL
713%doc LEGAL
714%doc README.EXT
715%lang(ja) %doc README.EXT.ja
[521]716
[6986]717%config(noreplace) %{_sysconfdir}/rpm/macros.ruby
[521]718
[6986]719%{_includedir}/*
720%{_libdir}/libruby.so
[8023]721%{_libdir}/pkgconfig/ruby.pc
[521]722
[6986]723%files libs
724%doc COPYING
725%lang(ja) %doc COPYING.ja
726%doc GPL
727%doc LEGAL
[11052]728%doc README.md
[6986]729%lang(ja) %doc README.ja
730%doc NEWS
731%doc doc/NEWS-*
[7015]732%{ruby_sitelibdir}
733%{ruby_sitearchdir}
[6986]734%{ruby_vendorlibdir}
735%{ruby_vendorarchdir}
[521]736
[6986]737# List all these files explicitly to prevent surprises
738# Platform independent libraries.
739%dir %{ruby_libdir}
[8695]740%dir %{ruby_libdir}/%{ruby_release}
741%{ruby_libdir}/%{ruby_release}/*.rb
742%exclude %{ruby_libdir}/%{ruby_release}/irb.rb
743%{ruby_libdir}/%{ruby_release}/cgi
744%{ruby_libdir}/%{ruby_release}/digest
745%{ruby_libdir}/%{ruby_release}/drb
746%{ruby_libdir}/%{ruby_release}/fiddle
[11052]747%{ruby_libdir}/%{ruby_release}/forwardable
[8695]748%exclude %{ruby_libdir}/%{ruby_release}/irb
749%{ruby_libdir}/%{ruby_release}/matrix
750%{ruby_libdir}/%{ruby_release}/net
751%{ruby_libdir}/%{ruby_release}/openssl
752%{ruby_libdir}/%{ruby_release}/optparse
753%{ruby_libdir}/%{ruby_release}/psych
754%{ruby_libdir}/%{ruby_release}/racc
755%{ruby_libdir}/%{ruby_release}/rbconfig
756%{ruby_libdir}/%{ruby_release}/rexml
757%{ruby_libdir}/%{ruby_release}/rinda
758%{ruby_libdir}/%{ruby_release}/ripper
759%{ruby_libdir}/%{ruby_release}/rss
760%{ruby_libdir}/%{ruby_release}/shell
761%{ruby_libdir}/%{ruby_release}/syslog
[11052]762%{ruby_libdir}/%{ruby_release}/unicode_normalize
[8695]763%{ruby_libdir}/%{ruby_release}/uri
764%{ruby_libdir}/%{ruby_release}/webrick
765%{ruby_libdir}/%{ruby_release}/yaml
[521]766
[6986]767# Platform specific libraries.
768%{_libdir}/libruby.so.*
769%dir %{ruby_libarchdir}
[8695]770%dir %{ruby_libarchdir}/%{ruby_release}
[11052]771%dir %{ruby_libarchdir}/%{ruby_release}/cgi
772%{ruby_libarchdir}/%{ruby_release}/cgi/escape.so
[8695]773%{ruby_libarchdir}/%{ruby_release}/continuation.so
774%{ruby_libarchdir}/%{ruby_release}/coverage.so
775%{ruby_libarchdir}/%{ruby_release}/date_core.so
776%{ruby_libarchdir}/%{ruby_release}/dbm.so
777%dir %{ruby_libarchdir}/%{ruby_release}/digest
778%{ruby_libarchdir}/%{ruby_release}/digest.so
779%{ruby_libarchdir}/%{ruby_release}/digest/bubblebabble.so
780%{ruby_libarchdir}/%{ruby_release}/digest/md5.so
781%{ruby_libarchdir}/%{ruby_release}/digest/rmd160.so
782%{ruby_libarchdir}/%{ruby_release}/digest/sha1.so
783%{ruby_libarchdir}/%{ruby_release}/digest/sha2.so
784%dir %{ruby_libarchdir}/%{ruby_release}/enc
785%{ruby_libarchdir}/%{ruby_release}/enc/big5.so
786%{ruby_libarchdir}/%{ruby_release}/enc/cp949.so
787%{ruby_libarchdir}/%{ruby_release}/enc/emacs_mule.so
788%{ruby_libarchdir}/%{ruby_release}/enc/encdb.so
789%{ruby_libarchdir}/%{ruby_release}/enc/euc_jp.so
790%{ruby_libarchdir}/%{ruby_release}/enc/euc_kr.so
791%{ruby_libarchdir}/%{ruby_release}/enc/euc_tw.so
792%{ruby_libarchdir}/%{ruby_release}/enc/gb18030.so
793%{ruby_libarchdir}/%{ruby_release}/enc/gb2312.so
794%{ruby_libarchdir}/%{ruby_release}/enc/gbk.so
795%{ruby_libarchdir}/%{ruby_release}/enc/iso_8859_1.so
796%{ruby_libarchdir}/%{ruby_release}/enc/iso_8859_10.so
797%{ruby_libarchdir}/%{ruby_release}/enc/iso_8859_11.so
798%{ruby_libarchdir}/%{ruby_release}/enc/iso_8859_13.so
799%{ruby_libarchdir}/%{ruby_release}/enc/iso_8859_14.so
800%{ruby_libarchdir}/%{ruby_release}/enc/iso_8859_15.so
801%{ruby_libarchdir}/%{ruby_release}/enc/iso_8859_16.so
802%{ruby_libarchdir}/%{ruby_release}/enc/iso_8859_2.so
803%{ruby_libarchdir}/%{ruby_release}/enc/iso_8859_3.so
804%{ruby_libarchdir}/%{ruby_release}/enc/iso_8859_4.so
805%{ruby_libarchdir}/%{ruby_release}/enc/iso_8859_5.so
806%{ruby_libarchdir}/%{ruby_release}/enc/iso_8859_6.so
807%{ruby_libarchdir}/%{ruby_release}/enc/iso_8859_7.so
808%{ruby_libarchdir}/%{ruby_release}/enc/iso_8859_8.so
809%{ruby_libarchdir}/%{ruby_release}/enc/iso_8859_9.so
810%{ruby_libarchdir}/%{ruby_release}/enc/koi8_r.so
811%{ruby_libarchdir}/%{ruby_release}/enc/koi8_u.so
812%{ruby_libarchdir}/%{ruby_release}/enc/shift_jis.so
813%dir %{ruby_libarchdir}/%{ruby_release}/enc/trans
814%{ruby_libarchdir}/%{ruby_release}/enc/trans/big5.so
815%{ruby_libarchdir}/%{ruby_release}/enc/trans/chinese.so
816%{ruby_libarchdir}/%{ruby_release}/enc/trans/emoji.so
817%{ruby_libarchdir}/%{ruby_release}/enc/trans/emoji_iso2022_kddi.so
818%{ruby_libarchdir}/%{ruby_release}/enc/trans/emoji_sjis_docomo.so
819%{ruby_libarchdir}/%{ruby_release}/enc/trans/emoji_sjis_kddi.so
820%{ruby_libarchdir}/%{ruby_release}/enc/trans/emoji_sjis_softbank.so
821%{ruby_libarchdir}/%{ruby_release}/enc/trans/escape.so
822%{ruby_libarchdir}/%{ruby_release}/enc/trans/gb18030.so
823%{ruby_libarchdir}/%{ruby_release}/enc/trans/gbk.so
824%{ruby_libarchdir}/%{ruby_release}/enc/trans/iso2022.so
825%{ruby_libarchdir}/%{ruby_release}/enc/trans/japanese.so
826%{ruby_libarchdir}/%{ruby_release}/enc/trans/japanese_euc.so
827%{ruby_libarchdir}/%{ruby_release}/enc/trans/japanese_sjis.so
828%{ruby_libarchdir}/%{ruby_release}/enc/trans/korean.so
829%{ruby_libarchdir}/%{ruby_release}/enc/trans/single_byte.so
830%{ruby_libarchdir}/%{ruby_release}/enc/trans/transdb.so
831%{ruby_libarchdir}/%{ruby_release}/enc/trans/utf8_mac.so
832%{ruby_libarchdir}/%{ruby_release}/enc/trans/utf_16_32.so
833%{ruby_libarchdir}/%{ruby_release}/enc/utf_16be.so
834%{ruby_libarchdir}/%{ruby_release}/enc/utf_16le.so
835%{ruby_libarchdir}/%{ruby_release}/enc/utf_32be.so
836%{ruby_libarchdir}/%{ruby_release}/enc/utf_32le.so
[11052]837%{ruby_libarchdir}/%{ruby_release}/enc/windows_1250.so
[8695]838%{ruby_libarchdir}/%{ruby_release}/enc/windows_1251.so
[11052]839%{ruby_libarchdir}/%{ruby_release}/enc/windows_1252.so
840%{ruby_libarchdir}/%{ruby_release}/enc/windows_1253.so
841%{ruby_libarchdir}/%{ruby_release}/enc/windows_1254.so
842%{ruby_libarchdir}/%{ruby_release}/enc/windows_1257.so
[8695]843%{ruby_libarchdir}/%{ruby_release}/enc/windows_31j.so
844%{ruby_libarchdir}/%{ruby_release}/etc.so
845%{ruby_libarchdir}/%{ruby_release}/fcntl.so
846%{ruby_libarchdir}/%{ruby_release}/fiber.so
847%{ruby_libarchdir}/%{ruby_release}/fiddle.so
848%{ruby_libarchdir}/%{ruby_release}/gdbm.so
849%dir %{ruby_libarchdir}/%{ruby_release}/io
850%{ruby_libarchdir}/%{ruby_release}/io/nonblock.so
851%{ruby_libarchdir}/%{ruby_release}/io/wait.so
852%dir %{ruby_libarchdir}/%{ruby_release}/mathn
853%{ruby_libarchdir}/%{ruby_release}/mathn/complex.so
854%{ruby_libarchdir}/%{ruby_release}/mathn/rational.so
855%{ruby_libarchdir}/%{ruby_release}/nkf.so
856%{ruby_libarchdir}/%{ruby_release}/objspace.so
857%{ruby_libarchdir}/%{ruby_release}/openssl.so
858%{ruby_libarchdir}/%{ruby_release}/pathname.so
859%{ruby_libarchdir}/%{ruby_release}/psych.so
860%{ruby_libarchdir}/%{ruby_release}/pty.so
861%dir %{ruby_libarchdir}/%{ruby_release}/racc
862%{ruby_libarchdir}/%{ruby_release}/racc/cparse.so
863%{ruby_libarchdir}/%{ruby_release}/rbconfig.rb
864%{ruby_libarchdir}/%{ruby_release}/rbconfig/sizeof.so
865%{ruby_libarchdir}/%{ruby_release}/readline.so
866%{ruby_libarchdir}/%{ruby_release}/ripper.so
867%{ruby_libarchdir}/%{ruby_release}/sdbm.so
868%{ruby_libarchdir}/%{ruby_release}/socket.so
869%{ruby_libarchdir}/%{ruby_release}/stringio.so
870%{ruby_libarchdir}/%{ruby_release}/strscan.so
871%{ruby_libarchdir}/%{ruby_release}/syslog.so
872%{ruby_libarchdir}/%{ruby_release}/zlib.so
[521]873
[6986]874%files rubygems
875%{_bindir}/gem
876%{rubygems_dir}
877%{gem_dir}
[8695]878%exclude %{gem_dir}/%{ruby_release}/gems/*
[6986]879%{_exec_prefix}/lib*/gems
[8695]880%exclude %{_exec_prefix}/lib*/gems/%{ruby_release}/exts/bigdecimal-%{bigdecimal_version}
881%exclude %{_exec_prefix}/lib*/gems/%{ruby_release}/exts/io-console-%{io_console_version}
882%exclude %{_exec_prefix}/lib*/gems/%{ruby_release}/exts/json-%{json_version}
883%exclude %{_exec_prefix}/lib*/gems/%{ruby_release}/exts/psych-%{psych_version}
884%exclude %{gem_dir}/%{ruby_release}/gems/rake-%{rake_version}
885%exclude %{gem_dir}/%{ruby_release}/gems/rdoc-%{rdoc_version}
886%exclude %{gem_dir}/%{ruby_release}/specifications/bigdecimal-%{bigdecimal_version}.gemspec
887%exclude %{gem_dir}/%{ruby_release}/specifications/io-console-%{io_console_version}.gemspec
888%exclude %{gem_dir}/%{ruby_release}/specifications/json-%{json_version}.gemspec
889%exclude %{gem_dir}/%{ruby_release}/specifications/minitest-%{minitest_version}.gemspec
890%exclude %{gem_dir}/%{ruby_release}/specifications/rake-%{rake_version}.gemspec
891%exclude %{gem_dir}/%{ruby_release}/specifications/rdoc-%{rdoc_version}.gemspec
892%exclude %{gem_dir}/%{ruby_release}/specifications/psych-%{psych_version}.gemspec
[521]893
[6986]894%files rubygems-devel
895%config(noreplace) %{_sysconfdir}/rpm/macros.rubygems
[521]896
[6986]897%files -n rubygem-rake
898%{_bindir}/rake
[8695]899%{gem_dir}/%{ruby_release}/gems/rake-%{rake_version}
900%{gem_dir}/%{ruby_release}/specifications/rake-%{rake_version}.gemspec
[6986]901%{_mandir}/man1/rake.1*
[521]902
[6986]903%files irb
904%{_bindir}/irb
[8695]905%{ruby_libdir}/%{ruby_release}/irb.rb
906%{ruby_libdir}/%{ruby_release}/irb
[6986]907%{_mandir}/man1/irb.1*
[521]908
[6986]909%files -n rubygem-rdoc
910%{_bindir}/rdoc
911%{_bindir}/ri
[8695]912%{gem_dir}/%{ruby_release}/gems/rdoc-%{rdoc_version}
913%{gem_dir}/%{ruby_release}/specifications/rdoc-%{rdoc_version}.gemspec
[6986]914%{_mandir}/man1/ri*
[521]915
[6986]916%files doc
917%doc README
918%lang(ja) %doc README.ja
919%doc ChangeLog
920%doc doc/ChangeLog-*
921%{_datadir}/ri
922%{_docdir}/ruby
[521]923
[6986]924%files -n rubygem-bigdecimal
[8695]925%{ruby_libdir}/%{ruby_release}/bigdecimal
926%{ruby_libarchdir}/%{ruby_release}/bigdecimal.so
927%{gem_extdir}/%{ruby_release}/exts/bigdecimal-%{bigdecimal_version}
928%{gem_dir}/%{ruby_release}/gems/bigdecimal-%{bigdecimal_version}
929%{gem_dir}/%{ruby_release}/specifications/bigdecimal-%{bigdecimal_version}.gemspec
[521]930
[6986]931%files -n rubygem-io-console
[8695]932%{ruby_libdir}/%{ruby_release}/io
933%{ruby_libarchdir}/%{ruby_release}/io/console.so
934%{gem_extdir}/%{ruby_release}/exts/io-console-%{io_console_version}
935%{gem_dir}/%{ruby_release}/gems/io-console-%{io_console_version}
936%{gem_dir}/%{ruby_release}/specifications/io-console-%{io_console_version}.gemspec
[521]937
[6986]938%files -n rubygem-json
[8695]939%{ruby_libdir}/%{ruby_release}/json
[8794]940%{ruby_libarchdir}/%{ruby_release}/json
[8695]941%{gem_extdir}/%{ruby_release}/exts/json-%{json_version}
942%{gem_dir}/%{ruby_release}/gems/json-%{json_version}
943%{gem_dir}/%{ruby_release}/specifications/json-%{json_version}.gemspec
[8794]944%{ruby_libarchdir}/%{ruby_release}/json
[521]945
[6986]946%files -n rubygem-minitest
[9742]947#%{ruby_libdir}/%{ruby_release}/minitest
[8695]948%{gem_dir}/%{ruby_release}/gems/minitest-%{minitest_version}
949%{gem_dir}/%{ruby_release}/specifications/minitest-%{minitest_version}.gemspec
[521]950
[8023]951%files -n rubygem-psych
[8695]952%{ruby_libdir}/%{ruby_release}/psych
953%{ruby_libdir}/%{ruby_release}/psych.rb
954%{ruby_libarchdir}/%{ruby_release}/psych.so
955%{gem_extdir}/%{ruby_release}/exts/psych-%{psych_version}
956%{gem_dir}/%{ruby_release}/gems/psych-%{psych_version}
957%{gem_dir}/%{ruby_release}/specifications/psych-%{psych_version}.gemspec
[8023]958
[9742]959%files -n rubygem-power_assert
960%{gem_dir}/%{ruby_release}/gems/power_assert-%{power_assert_version}
961%exclude %{gem_dir}/%{ruby_release}/gems/power_assert-%{power_assert_version}/.*
962%{gem_dir}/%{ruby_release}/specifications/power_assert-%{power_assert_version}.gemspec
963
964%files -n rubygem-test-unit
965%{gem_dir}/%{ruby_release}/gems/test-unit-%{test_unit_version}
966%{gem_dir}/%{ruby_release}/specifications/test-unit-%{test_unit_version}.gemspec
967
[11052]968%files -n rubygem-xmlrpc
969%{gem_dir}/%{ruby_release}/gems/xmlrpc-%{xmlrpc_version}
970%{gem_dir}/%{ruby_release}/specifications/xmlrpc-%{xmlrpc_version}.gemspec
[521]971
[6986]972%if %{with emacsen}
973%files mode
[521]974%defattr(-, root, root)
[6986]975%doc misc/README
976%{_datadir}/emacs/site-lisp/%{rbmode}
977%{_prefix}/lib/emacsen-common/packages/install/*
978%{_prefix}/lib/emacsen-common/packages/remove/*
[521]979%endif
980
[6986]981%changelog
[11052]982* Mon Apr 03 2017 Daisuke SUZUKI <daisuke@vinelinux.org> 2.4.1-14
983- update to 2.4.1
984
985* Sat Mar 18 2017 Daisuke SUZUKI <daisuke@vinelinux.org> 2.4.0-13
986- update to 2.4.0
987- remove tcltk which was dropped from stdlib.
988
[10475]989* Sun Mar 20 2016 Daisuke SUZUKI <daisuke@vinelinux.org> 2.2.4-12
990- rebuild with openssl-1.0.2
991
[9953]992* Sun Jan 10 2016 Daisuke SUZUKI <daisuke@vinelinux.org> 2.2.4-11
993- update to 2.2.4
994
[9742]995* Mon Jan  5 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 2.2.3-10
996- update to 2.2.3
997
[9101]998* Wed Nov 19 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.1.5-9
999- update to 2.1.5
1000
[8794]1001* Sat Jul 12 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.1.2-8
1002- add R: rubygem(json) to rubygem-rdoc
1003- fix json ext module path
1004
[8758]1005* Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.2-7
1006- rebuild with libffi-3.0.13
1007
[8695]1008* Fri Jun 27 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.1.2-6
1009- use ruby abi version for load_path
1010  - remove --with-ruby-version=''
1011  - update operating_system.rb
1012
1013* Wed Jun 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.1.2-5
[8600]1014- update to 2.1.2
1015
[8465]1016* Wed May 21 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0.481-4
1017- update to 2.0.0-p452
1018
1019* Thu Apr 10 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0.451-3
1020- update to 2.0.0-p451
1021
[8029]1022* Sat Dec 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.0.353-2
1023- fix macros.ruby
1024
[8023]1025* Tue Dec 03 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0.353-1
1026- update to 2.0.0-p353
1027- change ruby(abi) -> ruby(release)
1028
[7498]1029* Mon Feb 25 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.392-10
1030- update to 1.9.3-p392
1031
1032* Tue Feb 12 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.385-9
[7459]1033- update to 1.9.3-p385
1034
[7372]1035* Mon Jan 21 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.374-7
1036- update to 1.9.3-p374
1037
[7295]1038* Mon Jan  7 2013 IWAI, Masaharu <iwai@alib.jp> 1.9.3.362-6
1039- build with Tcl/Tk 8.5.7-1
1040
[7271]1041* Wed Dec 26 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.362-5
1042- update to 1.9.3-p362
1043
[7189]1044* Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.327-4
1045- remove ruby_abi from gem_dir
1046
[7110]1047* Sun Nov 11 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.327-3
1048- update to 1.9.3-p327
1049- add patch10 to skip network related test
1050- add patch11 to skip test_str_crypt (upstream bug)
1051
[7015]1052* Fri Oct 26 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.286-2
1053- fix gem_extdir to include ruby_abi number
1054- fix macros.ruby to include ruby_abi number
1055- include site_ruby dir
1056
[6986]1057* Tue Oct 23 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.286-1
1058- update to 1.9.3-p286
1059- rebase with fedora package
1060  - change filesystem structure compatible with Vine ruby package
1061  - rename rubygems to ruby-rubygems
1062  - modify ruby filesystem structure
1063    - /usr{,/local}/share/ruby for arch-independent files
1064    - /usr{,/local}/lib{,64}/ruby for arch-dependent files
1065    - move gems to /usr/share/gems, /usr/lib{,64}/gems
1066  - merge rubygems, rake to ruby sub-package
1067  - add subpackages for ruby standard gems
[521]1068
[6470]1069* Sat Jun 30 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1-1
1070- update to 1.8.7-p370
1071
[6142]1072* Sun May 06 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.358-1
1073- update to 1.8.7-p358
1074- add patch1100 to build with glibc-2.14
1075
[2794]1076* Mon Feb 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.334-1
1077- update to 1.8.7-p334
1078
[2530]1079* Tue Jan 18 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.330-1
1080- update to 1.8.7-p330
1081- change License tag (Ruby or GPLv2)
1082
[521]1083* Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.249-1
1084- update to 1.8.7-p249
1085- rebuild with db4-4.8.0
1086- drop unneccesary patches: 809, 1001, 1002, 1003, 1004
1087
1088* Tue Sep 08 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.174-3
1089- move noarch ruby libraries to /usr/lib/ruby.
1090  - add Patch960
1091    - add --with-ruby-prefix=%%{_prefix}/lib
1092- add deprecated search path for 64bit arch.
1093  - --with-search-path=%%{_libdir}/ruby/%%{rubyxver}
1094
1095* Wed Aug 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.174-2
1096- import Patch100[12345] from debian package
1097  * Added debian/patches/090811_thread_and_select.dpatch:
1098    threads may hangup when IO.select called from two or more threads.
1099  * Added debian/patches/090812_finalizer_at_exit.dpatch:
1100    finalizers should be run at exit (Closes: #534241)
1101  * Added debian/patches/090812_class_clone_segv.dpatch:
1102    avoid segv when an object cloned.  (Closes: #533329)
1103  * Added debian/patches/090812_eval_long_exp_segv.dpatch:
1104    fix segv when eval a long expression.  (Closes: #510561)
1105  * Added debian/patches/090812_openssl_x509_warning.dpatch:
1106    suppress warning from OpenSSL::X509::ExtensionFactory.  (Closes: #489443)
1107
1108* Tue Jun 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.174-1
1109- new upstream release 1.8.7-p174
1110 - fix CVE-2009-1904
1111   http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/
1112
1113* Mon Jun 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.160-1
1114- new upstream version 1.8.7-p160.
1115- drop unneccesary patches: Patch807, Patch1010
1116
1117* Mon Sep 22 2008 NAKAMURA Kenta <kenta@vinelinux.org> 1.8.7.72-2
1118- updated Patch950: ruby-1.8.7-p72-multilib.patch
1119
1120* Thu Sep 11 2008 akira yamada <akira@vinelinux.org> 1.8.7.72-1
1121- new upstream version 1.8.7-p72.
1122- droped unnecessary patches: Patch802.
1123
1124* Thu Sep 11 2008 akira yamada <akira@vinelinux.org> 1.8.6.287-1
1125- new upstream version 1.8.6-p287.
1126- droped unnecessary patches: Patch805, Patch1000.
1127- updated Patch808 for 1.8.6-p287.
1128- added Patch809: rcov may crash because of backwards incompatibility.
1129  (backported r14826:15141 of trunk).
1130- added Patch1010 to fix CVE-2008-3790.
1131
1132* Sat Sep  6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.6.111-1
1133- applied new versioning policy
1134- spec in UTF-8
1135- removed BuildRequires: XOrg-devel
1136
1137* Wed Oct 24 2007 akira yamada <akira@vinelinux.org> 1.8.6.111-0vl2
1138- added ruby-1.8.6.111-rexml-document-transitive.patch:
1139  - fixed: Document#write undefined local variable or method `transitive'.
1140
1141* Tue Oct 23 2007 akira yamada <akira@vinelinux.org> 1.8.6.111-0vl1
1142- new upstream version 1.8.6.111.
1143- added ruby-1.8.6.111-CVE-2007-5162.patch:
1144  - security fixes for CVE-2007-5162.  It is backported r13657 from ruby_1_8
1145    branch.
1146- added ruby-1.8.6.111-ruby-bugs-11507.patch:
1147  - ConditionVariable#wait may raise "not owner" exceptions.
1148- added ruby-1.8.6.111-sync_try_lock_always_fail.patch:
1149  - Sync#try_lock always fails due to wrong variable name.
1150
1151* Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.6-0vl4
1152- rebuild with new openssl
1153
1154* Thu May 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.6-0vl3
1155- rebuilt with new toolchain and db4-4.3.x
1156
1157* Sun Mar 25 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.8.6-0vl2
1158- modified emacsen-common path
1159
1160* Mon Mar 19 2007 akira yamada <akira@vinelinux.org> 1.8.6-0vl1
1161- new upstream version 1.8.6.
1162
1163* Mon Dec 04 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.8.5-0vl1.1
1164- add pacth1000 for fix cgi.rb issue (JVN#84798830)
1165
1166* Wed Nov 1 2006 akira yamada <akira@ruby-lang.org> 1.8.5-0vl1
1167- new upstream version 1.8.5.
1168- added ruby-1.8.5-rexml_encoding.patch:
1169  - REXML should accept UTF-16.  [ruby-list:42737]
1170- added ruby-1.8.5-rdoc.patch:
1171  - Don't unescape HTML in HtmlFormatter.  Submitted by Kent Sibilev <ksruby
1172    at gmail.com>.  [ruby-core:08392].
1173  - lib/rdoc/generators/ri_generator.rb: do not chdir twice.
1174- added ruby-1.8.5-hash_memory_reak.patch:
1175  - hash.c (rb_hash_s_create): fixed memory leak, based on the patch by Kent
1176    Sibilev <ksruby at gmail.com>.  fixed: [ruby-talk:211233]
1177- added ruby-1.8.5-top_cref.patch:
1178  - eval.c (ruby_init): rename top_cref to ruby_top_cref and export, along
1179    with ruby_cref, for use by the sandbox. [ruby-core:08762]
1180- added ruby-1.8.5-tcltk.patch:
1181  - ext/tk/lib/tkextlib/blt.rb: double dashes (--) option doesn't work
1182    properly on some versions of BLT (wrong description on the manual of
1183    `blt::bgexec'?).
1184  - ext/tk/lib/tk/font.rb: TkFont#current_configinfo() doesn't work on
1185    Tcl/Tk8.x.
1186  - ext/tk/lib/tk.rb: update RELEASE_DATE.
1187- added ruby-1.8.5-acl.patch:
1188  - patterns which include '*' should not cause getaddress() call.
1189    [ruby-dev:29406]
1190- added ruby-1.8.5-socket.patch:
1191  - ext/socket/extconf.rb: check arpa/inet.h for ntohs.
1192  - ext/socket/socket.c: include arpa/inet.h if available.
1193  - ext/socket/socket.c (ruby_connect): sockerrlen should be socklen_t.
1194- added ruby-1.8.5-exec_vs_nullbyte.patch:
1195  - io.c (pipe_open): null character should be saved for command name.
1196    [ruby-dev:29421]
1197  - process.c (proc_spawn): ditto.
1198  - process.c (proc_spawn_n): ditto.
1199  - process.c (rb_f_system): ditto.
1200- added ruby-1.8.5-mimedec.patch:
1201  - CGI#out should not decode base64 strings.  [ruby-dev:29284]
1202  - Kconv::toeuc should decode base64 strings. (reverted to old behaviour for
1203    compatibility.)  [ruby-dev:29505]
1204  - corrected regexp for EUC-JP (Kconv::RegexpEucjp).  [ruby-dev:29344]
1205- added ruby-1.8.5-strftime_nullbyte.patch:
1206  - Time#strftime should save null character.  [ruby-dev:29422]
1207- added ruby-1.8.5-dbm_extconf.patch:
1208  - ext/dbm/extconf.rb: create makefile according to the result of check for
1209    dbm header.  fixed: [ruby-dev:29445]
1210  - ext/dbm/extconf.rb: allow multiple candidates for dbm-type.
1211- added ruby-1.8.5-check_sticky_bit.patch:
1212  - file.c (path_check_0): check if sticky bit is set on parent directories
1213    for executable path.  fixed: [ruby-dev:29415]
1214  - Fix documentation submitted by Rick Ohnemus.  ruby-Bugs-5529.
1215    [ruby-core:08725]
1216- added ruby-1.8.5-float_hash.patch:
1217  - improve hash collision of Float objects.  [ruby-dev:29352]
1218- added ruby-1.8.5-time_vardecl.patch:
[11052]1219  - time.c (time_to_s): variable declaration after an execution sattement.
[521]1220- added ruby-1.8.5-bignum.patch:
1221  - numeric.c (fix_plus): addition in Fixnum will never overflow long.  a
1222    patch from Ondrej Bilka <neleai at seznam.cz>.  [ruby-core:08794]
1223  - numeric.c (fix_minus): ditto.
1224  - bignum.c (rb_big_pow): eagerly truncate resulting bignum.
1225    [ruby-core:08794]
1226- added ruby-1.8.5-migration_macro.patch:
1227  - ruby.h (RSTRING_PTR): add migration macro.
1228  - ruby.h (RARRAY_PTR): ditto.
1229- added ruby-1.8.5-webrick_cookie.patch:
1230  - lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): new method to
1231    parse multiple cookies per Set-Cookie header.  Thanks to Aaron Patterson
1232    <aaron_patterson at speakeasy.net>.  [ruby-core:08802]
1233- added ruby-1.8.5-suppress_warnings.patch:
1234  - mkconfig.rb, ext/extmk.rb, lib/mkmf.rb: suppress warnings with $VERBOSE.
1235  - ext/extmk.rb: Proc#call does not pass the block in 1.8.
1236  - Makefile.in, win32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.
1237- added ruby-1.8.5-pstore_binmode.patch:
1238  - lib/pstore.rb: open all in binary mode, and get rid of the quirk of
1239    msvcrt.  fixed: [ruby-dev:29518]
1240- added ruby-1.8.5-testunit_rescue.patch:
1241  - Rescue Exception in Test::Unit::TestCase#run.  [ruby-core:08783]
1242- added ruby-1.8.5-prevent_loading_twice.patch:
1243  - eval.c (rb_require_safe): prevent loading twice from extensions.  fixed:
1244    [ruby-dev:29523]
1245- added ruby-1.8.5-prohibit_intern_tainted_string.patch:
1246  - string.c (rb_str_intern): prohibit interning tainted string.
1247- added ruby-1.8.5-ruby_mode.patch:
1248  - misc/ruby-mode.el (ruby-parse-partial): better here-doc support.  a patch
1249    from Marshall T. Vandegrift <llasram at gmail.com>.  [ruby-core:08804]
1250- added ruby-1.8.5-readme_ext.patch:
1251  - README.EXT: English adjustment.  [ruby-core:08851] [ruby-core:08852]
1252    [ruby-core:08855]
1253- added ruby-1.8.5-check_safe_level_for_str_intern.patch:
1254  - string.c (rb_str_intern): raise SecurityError only when $SAFE level is
1255    greater than zero.  [ruby-core:08862]
1256  - parse.y (rb_interned_p): new function to check if a string is already
1257    interned.
1258  - object.c (str_to_id): use rb_str_intern().
1259- added ruby-1.8.5-pty.patch:
1260  - ext/pty/pty.c (establishShell): parent pid is not used.
1261  - ext/pty/pty.c (freeDevice): not used.
1262  - ext/pty/pty.c (get_device_once): removed garbage right brace.
1263  - ext/pty/pty.c (establishShell): remove remaining unused line.
1264- added ruby-1.8.5-imap_extraspace.patch:
1265  - net/imap can accept extra space in server responses.  The patch from Tom
1266    Soderlund.
1267- added ruby-1.8.5-rdoc_nameerror.patch:
1268  - rdoc/ri/ri_options.rb should require 'rdoc/ri/ri_paths'.
1269- added ruby-1.8.5-gdbm_docs.patch and updated ruby-1.8.5-.document.patch:
1270  - added GDBM documents.
1271- added ruby-1.8.5-etc_uid_t.patch:
1272  - etc.c should use uid_t instead of int.  [ruby-core:08897]
1273- added ruby-1.8.5-cgi_empty_content.patch:
1274  - invalid multipart data can make cgi.rb infinite loop and CPU consumption.
1275    (CVE-2006-5467)
1276- added ruby-1.8.5-sandbox.patch:
1277  - added Thread#kill!.  [ruby-core:08768]
1278- added ruby-1.8.5-update_docs.patch:
1279  - small fixes and updates for rdocs.
1280- added ruby-1.8.5-array.patch:
1281  - fixed a potential leaks caused by shift.  [ruby-talk:216055]
1282    [ruby-core:08922] [ruby-list:42907]
1283- added ruby-1.8.5-dir_checkdir.patch:
1284  - internal existence test for "/" fails anytime. [ruby-core:08913]
1285- added ruby-1.8.5-mkmf.patch:
1286  - set default $LDFLAGS.  [ruby-talk:216256]
1287  - check function pointer first and macro next.  [ruby-core:08949]
1288  - fixed the bug of handling COMMON_MACROS.
1289- added ruby-1.8.5-jcode.patch:
1290  - succ! in jcode.rb doesn't work on $KCODE == 'n'.  [ruby-talk:216845]
1291- added ruby-1.8.5-eval.patch:
1292  - check protected visibility based on real self, not ruby_frame->self.
1293    [ruby-talk:217822]
1294- added ruby-1.8.5-include_module.patch:
1295  - remove unnecessary check.  [ruby-talk:218402]
1296- added ruby-1.8.5-bignum_shift.patch:
1297  - a bug in right shift of negative bignums.  [ruby-core:09020]
1298- added ruby-1.8.5-rexml_enc.patch:
1299  - spaces are allowed around equal sign.  [ruby-core:09032]
1300- added ruby-1.8.5-wrong_id_check.patch:
1301  - wrong id check.  [ruby-core:09158]
1302  - typo fixed.  [ruby-core:09168]
1303- added ruby-1.8.5-rb_warning.patch:
1304  - some error message may contain format specifiers.  [ruby-dev:29657]
1305- added ruby-1.8.5-parse.y.patch.patch:
1306  - no need to re-create NODE_SELF() again.  [ruby-core:09177]
1307  - use particular enums.  [ruby-core:09221]
1308- added ruby-1.8.5-signal.patch:
1309  - handle SIGTERM.  [ruby-list:42895]
1310  - don't set SA_RESTART.  a backport from the HEAD.  [ruby-talk:220937]
1311    [ruby-talk:147220]
1312- added ruby-1.8.5-string_tainted.patch:
1313  - should be infected with only original string, but not the shared string.
1314    [ruby-core:09152]
1315  - strnig.c (rb_str_new4): keep shared string untainted when orignal string
1316    is tainted.  [ruby-dev:29672]
1317- added ruby-1.8.5-configure_alloca.patch:
1318  - alloca is broken; use C_ALLOCA instead.  [ruby-dev:29416]
1319- added ruby-1.8.5-openssl.patch:
1320  - ossl_pkcs7_verify, ossl_spki_initialize: should clear error.
1321  - Use digest/md5 instead of obsolete md5.
1322- added ruby-1.8.5-imap_nomodseq.patch:
1323  - net/imap chokes on NOMODSEQ response. [ruby-Bugs#6026]
1324- added ruby-1.8.5-soap.patch:
1325  - huge memory usage with the Ebay API.
1326    <http://dev.ctor.org/soap4r/ticket/224>
1327- applied debian/patches/149_bignum_to_s.patch
1328  - should preserve leading zero information for negative %b and %x.
1329    [ruby-talk:221347]
1330- applied debian/patches/150_time_dup.patch
1331  - duplicate the class of original time.  [ruby-core:09357]
1332- applied debian/patches/151_super.patch
1333  - fixed bug of zsuper with both of opt and rest.  [ruby-list:42928]
1334- applied debian/patches/152_dir_glob.patch
1335  - get rid of possible memory leak.
1336
1337* Tue Sep 12 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.4-0vl5
1338- changed ruby-mode Group to Appliations/Editors/Emacs <BTS:VineLinux:163>
1339- changed ruby-doc Group to Appliations/Documentation  <BTS:VineLinux:163>
1340- changed libruby Group to System Environment/Libraries
1341- rebuilt with openssl-0.9.7k
1342
1343* Sat Jul 29 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.8.4-0vl4
1344- x86_64 architecture support
1345  - added ruby-1.8.4-multilib.patch
1346  - added ruby-1.8.4-tcltk-multilib.patch
1347  - modified emacsen-common path
1348
1349* Fri Jul 14 2006 akira yamada <akira@vinelinux.org> 1.8.4-0vl3
1350- added ruby-1.8.4-135.patch:
1351  - should check if chars are multibyte for regexp-i option.
1352  [ruby-dev:28598] [ruby-list:42096]
1353- added ruby-1.8.4-136.patch:
1354  - jcode.rb breaks String#tr_s.  [ruby-list:42090]
1355- added ruby-1.8.4-137.patch:
1356  - Array#pack supports CRLF newlines.  [ruby-dev:28601]
1357- added ruby-1.8.4-138.patch:
1358  - should initialize variables first.  [ruby-core:07785] [ruby-core:07810]
1359  - avoid accessing uninitialized array element.  [ruby-core:07809]
1360- added ruby-1.8.4-139.patch:
1361  - Numeric#div should use floor rather than Interger.  [ruby-dev:28589]
1362  - the first element of Float#divmod should be an integer.
1363    [ruby-dev:28589]
1364- added ruby-1.8.4-140.patch:
1365  - avoids memory leak of YAML.  [ruby-core:7808]
1366- added ruby-1.8.4-141.patch:
1367  - fixes out of bounds array access.  [ruby-core:07823]
1368- added ruby-1.8.4-142.patch:
1369  - use AF_INET6 for nameservers containing colons.
1370- added ruby-1.8.4-143.patch:
1371  - should not modify untainted objects in safe levels higher than 3.
1372  - should not allow modifying literal regexps.
1373- added ruby-1.8.4-144.patch:
1374  - should not close untainted dir stream in $SAVE >= 4.
1375  - should not call a vararg function rb_sys_warning() indirectly.
1376    [ruby-core:07886]
1377- added ruby-1.8.4-145.patch:
1378  - should round for usec floating number.  [ruby-core:07896]
1379- added ruby-1.8.4-146.patch:
1380  - constant in Fixnum access with instance_eval dumps core.
1381    [ruby-dev:28327]
1382  - inspect for overriden method.  [ruby-dev:28636]
1383  - set_trace_func dumps core.  [ruby-dev:28632]
1384  - set_trace_func: binding has wrong self value for return events.
1385    [ruby-core:07928]
1386- added ruby-1.8.4-147.patch:
1387  - fixed typo of openssl/ssl.rb.
1388- added ruby-1.8.4-148.patch:
1389  - fixed memory leak and alignment bug of the dl library.  [ruby-dev:28665]
1390- added ruby-1.8.4-149.patch:
1391  - new method: IO#read_nonblock, IO#write_nonblock,
1392    Socket#connect_nonblock, Socket#accept_nonblock and
1393    Socket#recvfrom_nonblock.  [ruby-core:7917]
1394  - use rb_read_pending instead of rb_io_read_pending.  [ruby-dev:28663]
1395  - new method: IPSocket#recvfrom_nonblock, TCPServer#accept_nonblock,
1396    UNIXServer#accept_nonblock.
1397  - reject non-AF_UNIX sockaddr.  [ruby-dev:28691]
1398- added ruby-1.8.4-mkconfig.rb.patch:
1399  - mkconfig.rb should remove "|#_!!_#|" and unquote commas generated by
1400    autoconf > 2.59 (CVS).
1401
1402* Wed May 10 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.4-0vl2
1403- dirty fix to rb_arch macro for ppc
1404  (_target_cpu should be powerpc, but rpm macro will translate to ppc anyhow)
1405  this fix will be removed after rpm-4.4 macro issue is cleared up.
1406
1407* Sun Apr 23 2006 akira yamada <akira@vinelinux.org> 1.8.4-0vl1
1408- new upstream version 1.8.4.
1409- updated ruby-refm-rdp.
1410- applied following bug-fix-patches.
1411- added ruby-1.8.4-100.patch:
1412  - fixed a bug in constant reference during instance_eval for some type of
1413    objects.  [yarv-dev:707]
1414- added ruby-1.8.4-101.patch:
1415  - allow dynamic symbols (:"...") to undef and alias.  [ruby-dev:28105]
1416- added ruby-1.8.4-102.patch:
1417  - (openssl) treat wildcard character in commonName.  [ruby-dev:28121]
1418  - (openssl) should use "rb_str_new(0, 0)" to make empty string.
1419- added ruby-1.8.4-103.patch:
1420  - callcc or thread may leak memory  [ruby-Bugs:1364] [ruby-dev:28154]
1421    [ruby-dev:28172]
1422  - mark objects refered from aborting threads.  [ruby-dev:28190]
1423- added ruby-1.8.4-104.patch:
1424  - avoid a GC problem with RUBY_ALWAYS_GC= ./ruby -e ''.
1425  - declare rb_gc_abort_threads.
1426- added ruby-1.8.4-105.patch:
1427  - should not recycle scope object used in a thread.  [ruby-dev:28177]
1428- added ruby-1.8.4-106.patch (urgency medium):
1429  - get rid of segfault on syntax error.  [ruby-core:07070]
1430- added ruby-1.8.4-107.patch:
1431  - fixed typo in webrick/httpservlet/filehandler.rb: fixed typo.
1432    [ruby-core:7075]
1433- added ruby-1.8.4-108.patch (urgency medium):
1434  - YAML loading of quoted Symbols broken.  [ruby-Bugs:2535]
1435  - YAML could not load Bignum in ruby 1.8.3/1.8.4.  [ruby-core:6115]
1436  - YAML could not dump Subclass of Numeric properly.  [ruby-core:7047]
1437  - should be able to load "!ruby/object:Bignum" syntax 1.8.3 dumped.
1438    [ruby-core:6159]
1439  - workaround for SEGV.  ex: YAML.load("!map:B {}").  [ruby-core:7217]
1440  - fixed a typo in yaml.rb.  [ruby-talk:165285] [ruby-core:6995]
1441  - YAML should output complex key mark even if map's key is empty seq/map.
1442    [ruby-core:7129]
1443- added ruby-1.8.4-109.patch:
1444  - fixed possibility of memmory corruption.
1445- added ruby-1.8.4-111.patch:
1446  - don't clobber %l7 of SPARC if enable-shared.
1447  - workaround for FreeBSD/i386 getcontext/setcontext bug.  [ruby-dev:28263]
1448- added ruby-1.8.4-112.patch:
1449  - FileUtils#mv should remove file after copying.  [ruby-dev:28223]
1450- added ruby-1.8.4-113.patch:
1451  - avoids compile error (use system routine if provided).
1452    [ruby-core:07195]
1453- added ruby-1.8.4-114.patch:
1454  - need not to protect $SAFE value.  [ruby-core:07177]
1455- added ruby-1.8.4-115.patch:
1456  - (2**32).to_s(2) fails with exception where sizeof(int) == 4 <
1457    sizeof(long). [ruby-core:7300] [ruby-Bugs:3438]
1458- added ruby-1.8.4-116.patch:
1459  - PStore#fetch should return default value if name is not found.
1460    [ruby-core:7304]
1461- added ruby-1.8.4-117.patch:
1462  - defined RSTRUCT_LEN and RSTRUCT_PTR for source level compatibility with
1463    ruby 1.9.
1464  - alias RbConfig for Config for compatibility with ruby 1.9.
1465- added ruby-1.8.4-118.patch:
1466  - should not access ruby objects in finalizer of Zlib.  [ruby-dev:28286]
1467- added ruby-1.8.4-119.patch:
1468  - no need to push ruby_class.  [ruby-dev:28176] [ruby-dev:28580]
1469  - check if ruby_cbase is nil (during instance_eval for objects cannot have
1470    singleton classes, e.g. fixnums and symbols).  [ruby-dev:28178]
1471    [ruby-dev:28580] [ruby-dev:28582]
1472  - argument update propagation.  [ruby-dev:28044]
1473  - avoid unnecessary extra argument.  [ruby-core:07366] [ruby-dev:28583]
1474    [ruby-dev:28583]
1475- added ruby-1.8.4-120.patch:
1476  - support non 32bit time_t environments.
1477- added ruby-1.8.4-121.patch:
1478  - zsuper (with define_method) dumps core.  [ruby-dev:28181]
1479- added ruby-1.8.4-122.patch:
1480  - should no singleton classes for true, false, and nil.  [ruby-dev:28186]
1481- added ruby-1.8.4-124.patch:
1482  - sleep should always sleep for specified amount of time.
1483    [ruby-talk:180067]
1484- added ruby-1.8.4-125.patch:
1485  - unpack("l") did not work where sizeof(long) != 4.  [ruby-talk:180024]
1486  - fixed integer overflow on template "w" of pack.  [ruby-talk:180126]
1487- added ruby-1.8.4-126.patch:
1488  - removed unnecessary MY_FILE_NAME constant.  [ruby-core:07376]
1489- added ruby-1.8.4-127.patch:
1490  - odd break behavior.  [ruby-talk:180420]
1491- added ruby-1.8.4-128.patch:
1492  - unexpected syntax error.  [ruby-talk:180648]
1493- added ruby-1.8.4-129.patch:
1494  - fixed that irb can't parse /\^/. [ruby-dev:28404] [ruby-Bugs:3302]
1495  - rdoc could not handle /\^/.  [ruby-talk:181631] [ruby-dev:28404]
1496- added ruby-1.8.4-130.patch:
1497  - symbols overlap ordinary objects.  [ruby-core:07414]
1498  - heap_slots may overflow.
1499  - align VALUE with sizeof(RVALUE) globally.  [ruby-talk:178364]
1500    [ruby-core:7305]
1501- added ruby-1.8.4-131.patch:
1502    - should not re-schedule output from KILLED thread.
1503- added ruby-1.8.4-133.patch:
1504  - reports aliased method names in a generated backtrace.  [ruby-dev:28471]
1505  - insecure calling should be checked for non NODE_SCOPE method invocations
1506    too.
1507  - should preserve the current safe level as well as method definition.
1508- added ruby-1.8.4-134.patch:
1509  - (bignum) second operand may be too big even if it's a Fixnum.
1510    [ruby-talk:187984]
1511- libruby1.8-dbg: applied a patch from Matthew Palmer to provide detached
1512  symbols.
1513
1514* Wed Nov  9 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.1-0vl22
1515- added BuildRequires: zlib-devel
1516
1517* Sat Jul  2 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.8.1-0vl21
1518- rebuild for VineSeed
1519- rename BuildRequires: XFree86-devel to XOrg-devel
1520
1521* Thu Jun 23 2005 akira yamada <akira@vinelinux.org> 1.8.1-0vl20.1
1522- added ruby-1.8.2pre2-xmlrpc-util.rb.patch:
1523  - fixed arbitrary command execution on XMLRPC server.
1524    (CAN-2005-1992) [ruby-core:5237]
1525
1526* Wed Nov 03 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.1-0vl20
1527- increased release number to avoid discrepancy against 3.0/errata package
1528
1529* Wed Nov 03 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl19
1530- updated and enabled ruby-1.8.2pre2-cvs-update-104.patch.
1531- added ruby-1.8.2pre2-io-open.patch:
1532  - (important) additional changes for "open dumps core again^2."
1533    [ruby-dev:24656]
1534- added ruby-1.8.2pre2-array-uniq.patch:
1535  - Array#uniq should not freeze elements.  [ruby-dev:24695]
1536
1537* Wed Nov 03 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl18
1538- added ruby-1.8.2pre2-cvs-update-104.patch:
1539  - (important) Enumerable#grep dumps core.  [ruby-dev:24671]
1540  - (important) open dumps core again^2.  [ruby-dev:24656]
1541- added ruby-1.8.2pre2-ostruct-revert.patch and removed
1542  ruby-1.8.2pre2-ostruct-marshal.patch:
1543  - reverted lib/ostruct.rb.
1544
1545* Sun Oct 31 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl17
1546- added ruby-1.8.2pre2-cvs-updates-103.patch:
1547  - (important) temporarily frozen string causes core dump.  [ruby-dev:24552]
1548- removed ruby-1.8.2pre2-cgi.rb-macie.patch,
1549  ruby-1.8.2pre2-ostruct-marshal.patch,
1550  ruby-1.8.2pre2-zlib-flush_next_in.patch and
1551  ruby-1.8.2pre2-ruby_finalize_1-segv.patch: they ware included into the
1552  above patch.
1553
1554* Sat Oct 30 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl16
1555- added ruby-1.8.2pre2-eval.c-memory-leak.patch:
1556  - (important) another memory leak in ruby_1_8.  [ruby-core:03619]
1557- added ruby-1.8.2pre2-io-path.patch:
1558  - (important) IO#path may cause segv.  [ruby-talk:118234]
1559- added ruby-1.8.2pre2-enum-sort_by.patch:
1560  - (important) Enumerable#sort_by dumps core again^4.  [ruby-dev:24642]
1561
[7459]1562* Fri Oct 29 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl15
[521]1563- added ruby-1.8.2pre2-cvs-updates-100.patch:
1564  - minor bug fix.
1565- added ruby-1.8.2pre2-cvs-updates-101.patch:
1566  - (important) "IO.allocate.reopen('/nothing')" on irb causes SEGV.
1567    [ruby-core:03288]
1568  - YAML fails to load/dump non-printable characters.  [ruby-core:03280]
1569    [ruby-core:03286]
1570  - Bug#265429: IO.select() mysteriously hangs [ruby-dev:24072]
1571    [ruby-dev:24075]
1572  - Pathological slowdown in 1.8  [ruby-core:02662]
1573- added ruby-1.8.2pre2-cvs-updates-102.patch:
1574  - (important) fixed some segmentation fault bugs listed in
1575    - <URL:http://jp.rubyist.net/magazine/?0002-RubyCore>.
1576    - raise dumps core.  [ruby-dev:24519]
1577    - unpack("p") dumps core.  [ruby-dev:24594]
1578    - Enumerable#sort_by dumps core again.  [ruby-dev:24386]
1579    - Enumerable#sort_by dumps core again(2).  [ruby-dev:24399]
1580    - A class of return value of Array#*.  [ruby-dev:24526]
1581    - Zlib::Deflate#deflate causes core dump.  [ruby-dev:24530]
1582  - PStore#transaction may raise Errno::ENOENT.  [ruby-dev:24561]
1583  - String#include? ?\x80.  [ruby-dev:24558]
1584  - httpresponse.rb: ensure to close @body.
1585  - (important) fixed memory leak.  [ruby-core:03549]
1586  - Zlib::GzipReader#ungetc does not work correctly.
1587  - (important) core dump with binding, eval, instance_eval and class
1588    variable.  [ruby-dev:24120]
1589- added ruby-1.8.2pre2-cgi.rb-macie.patch:
1590  - cgi.rb: workaround for Mac IE.  [ruby-list:40136]
1591- added ruby-1.8.2pre2-ostruct-marshal.patch:
1592  - ostruct.rb: OpenStruct can't be dumped.  [ruby-dev:24625]
1593- added ruby-1.8.2pre2-zlib-flush_next_in.patch:
1594  - (important) Zlib::Deflate#flush_next_in causes core dump.
1595    [ruby-dev:24621]
1596- added ruby-1.8.2pre2-ruby_finalize_1-segv.patch:
1597  - (important) raising zlib dumps core again.  [ruby-dev:24627]
1598- removed ruby-1.8.2pre2-cgi-session-filename.patch and
1599  ruby-1.8.2pre2-cgi.rb-infinity-loop.patch: they ware included into the
1600  above patch.
1601
[7459]1602* Fri Oct 29 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl14
[521]1603- added ruby-1.8.2pre2-cgi-session-filename.patch:
1604  - (important) CGI::Session::FilesStore and CGI::Session::PStore should not
1605    use a session id as a filename.
1606- added ruby-1.8.2pre2-cgi.rb-infinity-loop.patch:
1607  - (security) cgi.rb: avoids infinity loop.
1608
1609* Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.1-0vl13
1610- rebuilt with db4-4.2.25
1611
1612* Fri Jul 30 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl12
1613- new upstream source, ruby-1.8.2-preview2.
1614- removed patches which is included into upstream:
1615  ruby-1.8.2pr1-sleep.patch, ruby-1.8.2pr1-version.h.patch,
1616  ruby-1.8.2pr1-yaml-rubytypes.rb.patch, ruby-1.8.2pr1-ruby-mode.patch,
1617  ruby-1.8.2pr1-yaml-load-exception.patch,
1618  ruby-1.8.2pr1-config.guess-revert.patch, ruby-1.8.2pr1-callcc.patch,
1619  ruby-1.8.2pr1-net-imap.patch, ruby-1.8.2pr1-uri-ldap.patch,
1620  ruby-1.8.2pr1-use-NULL.patch, ruby-1.8.2pr1-cgi-session.patch and
1621  ruby-1.8.2pr1-run-final.patch.
1622- renamed to ruby-1.8.2pre2-delegate.rb.patch from
1623  ruby-1.8.2pr1-delegate.rb.patch.
1624
1625* Wed Jul 28 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl11
1626- enabled Patch811(ruby-1.8.2pr1-cgi-session.patch).
1627- added a patch:
1628  - ruby-1.8.2pr1-run-final.patch: ObjectSpace.define_finalizer may cause
1629    Segmentation falult.  [ruby-dev:23957]
1630
1631* Wed Jul 21 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl10
1632- new upstream source, ruby-1.8.2-preview1.
1633- removed patches which included into upstream:
1634  ruby-1.8.1-{100..108}-cvs-updates.patch,
1635  ruby-1.8.1-ia64-stack-limit-hack.patch,
1636  ruby-1.8.1-zlib_64bit_gzfile_get32.patch,
1637  ruby-1.8.1-rdoc-parse.rb.patch.
1638- updated patches:
1639  - ruby-1.8.1-sleep.patch -> ruby-1.8.2pr1-sleep.patch
1640  - ruby-1.8.1-yaml-rubytypes.rb.patch -> ruby-1.8.2pr1-yaml-rubytypes.rb.patch
1641  - ruby-1.8.1-ruby-mode.patch -> ruby-1.8.2pr1-ruby-mode.patch
1642  - ruby-1.8.1-delegate.rb.patch -> ruby-1.8.2pr1-delegate.rb.patch
1643  - ruby-1.8.1-config.guess-revert.patch -> ruby-1.8.2pr1-config.guess-revert.patch
1644  - ruby-1.8.1-ri-pager.patch -> ruby-1.8-ri-pager.patch
1645- added patches:
1646  - ruby-1.8.2pr1-version.h.patch: added some constans.
1647  - ruby-1.8.2pr1-yaml-load-exception.patch: YAML.load
1648    couldn't load Exception objects.  [ruby-talk:104405]
1649  - ruby-1.8.2pr1-callcc.patch: callcc method may cause unknown data type
1650    bug.  [ruby-talk:106657]
1651  - ruby-1.8.2pr1-net-imap.patch: wait command continuation requests before
1652    sending octet data of literals.
1653  - ruby-1.8.2pr1-uri-ldap.patch: method hierarchical? in uri/ldap.rb should
1654    be in URI::LDAP.
1655  - ruby-1.8.2pr1-use-NULL.patch: use NULL instead of 0.
1656  - ruby-1.8.2pr1-cgi-session.patch: sets the permission of the session data
1657    file to 0600.  [ruby-dev:23952]
1658
1659* Wed Jun 23 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl9
1660- added ruby-1.8.1-rdoc-parse.rb.patch:
1661    - [ruby-talk:104190] %r{...} is a regular expression but RDoc prints it
1662      as %{...}.
1663- added ruby-1.8.1-config.guess-revert.patch:
1664    - [ruby-dev:23753] revert to original config.guess
1665      <URL:ftp://ftp.gnu.org/pub/gnu/config/config.guess>.
1666
1667* Tue Jun 22 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl8
1668- added ruby-1.8.1-yaml-rubytypes.rb.patch:
1669    - backported from CVS HEAD.
1670
1671* Tue Jun 22 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl7
1672- added ruby-1.8.1-106-cvs-updates.patch:
1673    - [ruby-dev:23550] Socket.new(Socket::AF_INET, Socket::SOCK_STREAM, 0)
1674      dumps core.
1675    - [ruby-core:02793] ruby -e 'a[*b]+=c' dups core.
1676    - [ruby-dev:23487] core dump by delete_if on 1.8
1677    - options for Net::Telnet::login can take regexps for login prompt
1678      and/or password prompt.
1679- added ruby-1.8.1-107-cvs-updates.patch:
1680    - upgraded to stable-snapshot (2004-06-05).
1681- added debian/patches/108_cvs_updates.patch:
1682    - [ruby-dev:22631] should not dump singleton class.
1683    - limit safe level.
1684    - [ruby-dev:23713] allow changing $SAFE.
1685- added ruby-1.8.1-820_zlib_64bit_gzfile_get32.patch:
1686    - the value in gzfile_get32 can accidentally be sign extended on 64 bit
1687      systems.  Thanks to Matthew Mueller.  (see Debian Bug#255442)
1688- removed ruby-1.8.1-time.c.patch, ruby-1.8.1-find.rb.patch,
1689  ruby-1.8.1-telnet.rb.patch, ruby-1.8.1-yaml.patch,
1690  ruby-1.8.1-proc_eq.patch, ruby-1.8.1-misc-escape.patch and
1691  ruby-1.8.1-parse.y-reverse.patch.  they ware included into the above
1692  patch.
1693- updated SOURCE2.  [VineSeed:09109]
1694- removed unusable "Prefix:".
1695
1696* Fri Feb 06 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl6
1697- configure with --with-bundled-{sha1,md5,rmd160}.  it free libruby1.8 from
1698  libssl.
1699- added ruby-1.8.1-105-cvs-updates.patch:
1700  - "undef" for methods does not work. [ruby-list:39058]
1701  - blocks in "#{}" makes syntax error. [ruby-list:39061]
1702  - Net::IMAP accepts 8-bit characters in quoted strings for Novell
1703    GroupWise Internet Agent.
1704  - Socket#recvfrom makes an invalid argument error in non-blocking mode.
1705    [ruby-talk:89962]
1706  - util.c (mblen): fix overrun. (DJGPP ONLY)  [ruby-dev:22672]
1707  - delegate.rb should use Kernel::raise for Thread.  [ruby-dev:22681]
1708    [ruby-dev:22684]
1709  - delegate.rb should not delegate singleton_method_added.
1710    [ruby-dev:22685]
1711- added ruby-1.8.1-find.rb.patch:
1712  - Find.find raises SecurityError in $SAFE>=1. [ruby-dev:22641]
1713  - Find.find("xyz") will yield "xyz" even if no such file exists.
1714    [ruby-core:02319]
1715- added ruby-1.8.1-telnet.rb.patch:
1716  - net/telnet.rb accepts "Login" prompt.
1717- added ruby-1.8.1-yaml.patch:
1718  - syck library does not dump tv_usec correctly. [ruby-core:02305]
1719  - syck cannot dump a Range of strings. [ruby-core:02306]
1720- added ruby-1.8.1-ruby-mode.patch:
1721  - font-lock could not treat %"..." correctry. [ruby-dev:22705]
1722- added ruby-1.8.1-proc_eq.patch:
1723  - Proc with empty body may not be equal.  [ruby-dev:22590]
1724    [ruby-dev:22594][ruby-dev:22602]
1725- added ruby-1.8.1-misc-escape.patch:
1726  - Here-document in lib/rexml/encodings/ISO-8859-1.rb requires quotation,
1727    as in US-ASCII.rb.  [ruby-talk:88650]
1728  - avoid warnings in rdoc/parsers/parse_c.rb.
1729
1730* Thu Jan 22 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.1-0vl5
1731- changed the arguments when generating RI (in the %%install section)
1732  against "ppc vs powerpc" issue (thanks Akira Yamada-san for helping)
1733
1734* Wed Jan 21 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl4
1735- added ruby-1.8.1-104-cvs-updates.patch:
1736  - removed O_NONBLOCK for a socket used by DRb.
1737  - Net::IMAP accepts an NIL-envelope.
1738
1739* Tue Jan 20 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl3
1740- added ruby-1.8.1-103-cvs-updates.patch:
1741  - io.c: initializer of lineno should be "INT2FIX(0)".
1742  - disabled optimization on ia64.  (-O1/2 makes ruby unusable.)
1743- added ruby-1.8.1-ia64-stack-limit-hack.patch:
1744  - disable IA64_MAGIC_STACK_LIMIT trick when optimization is disabled.
1745    [ruby-dev:22650]
1746
1747* Mon Jan 19 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl2
1748- added ruby-1.8.1-101-cvs-updates.patch:
1749  - StringIO.new.sysread should raise EOFError.  [ruby-core:2078]
1750  - don't increment lineno when gzfile_read_all returns "".  [ruby-core:2078]
1751  - ARGF.readline should raise EOFError at EOF.  [ruby-dev:22458]
1752  - both of ARGF.read and ARGF.read(nil) should concatenate input files when
1753    length argument is nil.  [ruby-dev:22450]
1754  - ARGF.lineno should return 0 even if ARGF have not been read.
1755    [ruby-dev:22460]
1756  - ARGF.each_byte should return self.  [ruby-dev:22465]
1757  - ARGF.eof? should not have any side effect.  [ruby-dev:22469]
1758  - should not abort when module_function is called for undefined method.
1759    [ruby-dev:22498]
1760  - ARGF.read(n) makes an error when it gets EOF.  [ruby-bugs-ja:PR#585]
1761  - synchronized with date2 library version 3.5.  it includes fixes for
1762    [ruby-talk:90063].
1763- added ruby-1.8.1-102-cvs-updates.patch:
1764  - documents of methods of IO is missing.
1765- added ruby-1.8.1-sleep.patch:
1766  - sleep is broken with --enable-pthread.  [ruby-core:2133]
1767    [ruby-core:2137]
1768- added ruby-1.8.1-time.c.patch:
1769  - Time#usec should not return neither a negative number nor a number which
1770    is larger than 1000000.  [ruby-dev:22614], [ruby-dev:22617]
1771- added ruby-1.8.1-ri-pager.patch:
1772  - changed pager search order: ENV['PAGER'], pager, ...
1773- put datafiles of ri into rdoc package.
1774
1775* Sat Dec 27 2003 akira yamada <akira@vinelinux.org> 1.8.1-0vl1
1776- new upstream version.
1777- applied bugfix patch.  ruby-1.8.1-100-cvs-updates.patch:
1778  - Kernel::require searches actual file name once when no extension
1779    specified.
1780  - fixes Ruby/Tk crash bug. (but does not fix block bug.) [ruby-talk:88830]
1781  - Array#pack checks sign for "i" and "I".  [ruby-dev:22427]
1782  - IO::readlines should return lines when record-separater is nil.
1783    [ruby-core:02077][ruby-core:02078]
1784  - ARGF.read accepts "nil" for argument.  [ruby-dev:22433]
1785- updated ruby-refm-rdp-1.6.8-ja-html.tar.gz.
1786- added ruby-mode-init.el.
1787- updated ruby-mode-install.sh and ruby-mode-remove.sh.
1788
1789* Mon Dec 08 2003 akira yamada <akira@vinelinux.org> 1.8.0-0vl5
1790- updated ruby-1.8.1pr3-cvs-updates.patch.
1791
1792* Sat Dec 06 2003 akira yamada <akira@vinelinux.org> 1.8.0-0vl3
1793- updated to Ruby 1.8.1-preview3.
1794- applied patches from the CVS.
1795
1796* Thu Oct 16 2003 akira yamada <akira@vinelinux.org> 1.8.0-0vl2
1797- libruby obsoletes drb, erb, ruby-csv, ruby-optparse, ruby-rexml,
1798  ruby-strscan, rubyunit and racc-runtime.
1799
1800* Mon Oct 06 2003 akira yamada <akira@vinelinux.org> 1.8.0-0vl1
1801- new upstream version.
1802- applied patches from the CVS.
1803- new sub-package: ruby-openssl.
1804
1805* Mon Mar 31 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.6.8-0vl2
1806- rebuild with tcltk-8.4.2
1807
1808* Tue Jan 21 2003 akira yamada <akira@vinelinux.org> 1.6.8-0vl1
1809- new upstream version.
1810- applied a patch:
1811    - [ruby-dev:18702] [PATCH] .rb/.so with same feature name
1812- build with db4-devel.  (dbm.so is linked with libdb-4.0.so.)
1813
1814* Tue Mar 19 2002 akira yamada <akira@vinelinux.org> 1.6.7-0vl5
1815- applied bug fix patch:
1816    - ruby-dev#16462: preserve reference for GC, but link should be cut.
1817      (ruby-dev#16411: block local var.)
1818    - RUBY_RELEASE_DATE "2002-03-19"
1819  (ruby-1.6.7-103.patch)
1820
1821* Sun Mar 17 2002 akira yamada <akira@vinelinux.org> 1.6.7-0vl4
1822- applied bug fix patch:
1823    - ruby-dev#16274: patch for 'wm state' (tk.rb)
1824    - PR#206ja: SEGV handle EXIT
1825    - updated NEWS
1826    - RUBY_RELEASE_DATE "2002-03-14"
1827  (ruby-1.6.7-100.patch)
1828    - ruby-list#34313: singleton should not be Marshal.dump'ed
1829    - ruby-dev#16411: block local var
1830    - RUBY_RELEASE_DATE "2001-03-15"
1831  (ruby-1.6.7-101.patch)
1832    - handling multibyte chars is partially broken.
1833    - RUBY_RELEASE_DATE "2002-03-18"
1834  (ruby-1.6.7-102.patch)
1835- removed ruby-1.6.7-500-marshal-proc.patch and
1836  ruby-1.6.7-501-class-var.patch.  they are included (or rewrited) into the
1837  above patch.
1838- updated refm. (ruby-refm-rdp-1.6.7-ja-html.zip)
1839- prefixed %%lang(ja) to %%doc for Japanese documents.
1840
1841* Fri Mar 08 2002 akira yamada <akira@vinelinux.org> 1.6.7-0vl3
1842- applied patch501.
1843
1844* Fri Mar 08 2002 akira yamada <akira@vinelinux.org> 1.6.7-0vl2
1845- updated refm. (ruby-refm-rdp-1.6.7-jp-html.zip)
1846
1847* Sun Mar 03 2002 akira yamada <akira@vinelinux.org> 1.6.7-0vl1
1848- new upstream version.
1849    - uri library is included.
1850    - time.rb is new.
1851    - some bugs are fixed.
1852- added ruby-refm-rdp-1.6.6-jp-html.zip.
1853- applied bug fix patch:
1854    - ruby-dev#16178: Marshal::dump shuld call Proc#call.
1855    (ruby-1.6.7-500-marshal-proc.patch)
1856    - ruby-talk#35157: class vars broken in 1.6.7
1857    (ruby-1.6.7-501-class-var.patch)
1858- removed: ruby-1.6.6-10[12].patch, ruby-1.6.6-502-net_pop.patch.
1859
1860* Mon Feb 04 2002 akira yamada <akira@vinelinux.org> 1.6.6-0vl5
1861- applied bug fix patch:
1862    - ruby-dev#15684: reject prefix followed by spaces only.
1863    - PR#183: SEGV on remove_class_variable
1864    (ruby-1.6.6-101.patch)
1865    - PR#184: Net::APOP.auth_only is not usable
1866    (ruby-1.6.6-502-net_pop.patch)
1867- removed ruby-1.6.6-502-net_pop.patch. it is included by
1868  101_ruby-1.6.6.patch.
1869- site_ruby moved to under /usr/local/lib.
1870- added db1-devel to BuildRequires.
1871
1872* Wed Jan 09 2002 akira yamada <akira@vinelinux.org> 1.6.6-0vl4
1873- added a bug fix patch: ruby-1.6.6-501-ruby-mode.patch
1874    - ruby-talk#30479: ruby-mode.el disables font-lock coloring
1875
1876* Tue Jan 08 2002 akira yamada <akira@vinelinux.org> 1.6.6-0vl3
1877- added a bug fix patch: ruby-1.6.6-100.patch
1878    - ruby-talk#30203: Ruby 1.6.6 bug and fix
1879    - ruby-list#33047: regex bug
1880    - PR#230: problem with -d in 1.6.6
1881- removed patches: ruby-900-XXX-strtod.patch ruby-503-weakref.rb.patch.
1882  included into ruby-1.6.6-100.patch.
1883
1884* Fri Jan 04 2002 akira yamada <akira@vinelinux.org> 1.6.6-0vl2
1885- added a patch:
1886    - ruby-1.6.6-901-sparc.patch: PR#225: sparc linux needs different
1887      FLUSH_REGISTER_WINDOWS
1888- renamed to ruby-mode from ruby-mode-el.
1889
1890* Wed Dec 26 2001 akira yamada <akira@vinelinux.org> 1.6.6-0vl1
1891- new upstream version.
1892
1893* Sun Nov 18 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.6.5-0vl3
1894- rebuilt with new tcl/tk packages
1895- added patches: ruby-900-XXX-strtod.patch ruby-503-weakref.rb.patch
1896
1897* Wed Oct 10 2001 akira yamada <akira@vinelinux.org> 1.6.5-0vl2
1898- applied bug fix patch from upstrem cvs repository.
1899    - ruby-dev#14810, ruby-dev#14813 (ruby-1.6.5-100.patch)
1900- applied bug fix patch:
1901    - ruby-list#31570 for net/pop.rb (ruby-1.6.5-501-net-pop.rb.patch)
1902- %%{_mandir} hack.
1903- emacsen_pkg hack. (very dirty for %%_foo() in %%if-%%endif. but it is
1904  wrong of spec-specification... sigh.)
1905
1906* Wed Sep 19 2001 akira yamada <akira@vinelinux.org> 1.6.5-0vl1
1907- new upstream version.
1908- add XFree86-devel to BuildRequires. (tk.h requires X11/Xlib.h.)
1909
1910* Mon Sep 03 2001 akira yamada <akira@vinelinux.org> 1.6.4-0vl8
1911- removed files related on emacsen-common from libruby.
1912- updated upstream URLs.
1913
1914* Tue Aug 07 2001 akira yamada <akira@vinelinux.org>
1915- 1.6.4-0vl7
1916- added ruby-1.6.4-108.patch.
1917    - fixed: causes segv to mod_ruby.
1918    - do not recurse if method_missing is undefined.
1919    - m68k work around.
1920
1921* Fri Aug 03 2001 akira yamada <akira@vinelinux.org>
1922- 1.6.4-0vl5
1923- new sub-package ruby-mode-el. it provides ruby-mode for emacsen.
1924
[7459]1925* Wed Aug 01 2001 akira yamada <akira@vinelinux.org>
[521]1926- 1.6.4-0vl4
1927- added ruby-1.6.4-10[67].patch.
1928- remove ruby-1.6.4-501.patch. (fixed on upstream.)
1929    - marshal verbose warning bug.
1930    - ruby-1.6-2001.07.31.
1931- packages except libruby and irb requires libruby = %%{version}-%%{release}.
1932- irb requires ruby = %%{version}-%%{release}.
1933
1934* Thu Jul 26 2001 akira yamada <akira@vinelinux.org>
1935- 1.6.4-0vl3
1936- added ruby-1.6.4-10[345].patch and ruby-1.6.4-501.patch.
1937    - tilde expansion problem and PR#158.
1938- some documents moved to libruby.rpm from ruby.rpm.
1939- stopped using %%configure macros, because it breaks
1940  Config::CONFIG["libdir"] variable: %%configure sets
1941  it to "/usr/lib" but it should be
1942  "$(exec_prefix)/lib" for some packages which uses
1943  ruby.
1944
1945* Tue Jul 17 2001 akira yamada <akira@vinelinux.org>
1946- 1.6.4-0vl2
1947- added ruby-1.6.4-10[12].patch.
1948    - fixed a bug around order of "$:".
1949    - updated config.{guess,sub}.
1950    - eval.c bug.
1951    - marshal version 4.6.
1952
1953* Mon Jun 04 2001 akira yamada <akira@vinelinux.org>
1954- 1.6.4-0vl1
1955- upgrade to nwe upstream version 1.6.4.
1956
1957* Mon Apr 02 2001 akira yamada <akira@vinelinux.org>
1958- applied patch:
1959  - fixed method cache bug. etc. (Patch103, Patch104)
1960
1961* Tue Mar 27 2001 akira yamada <akira@vinelinux.org>
1962- applied patch:
1963  - fixed marshal for bignum bug.
1964  - fixed scope of constant variables bug.
1965
1966* Tue Mar 20 2001 akira yamada <akira@vinelinux.org>
1967- upgraded to new upstream version 1.6.3.
1968
1969* Fri Feb 09 2001 akira yamada <akira@vinelinux.org>
1970- fixed bad group for libruby.
1971- Applied patch: upgraded to cvs version (2001-02-08):
1972  fixed minor bugs.
1973
1974* Thu Jan 18 2001 akira yamada <akira@vinelinux.org>
1975- Applied patch: upgraded to cvs version (2001-01-15):
1976  fixed minor bugs(e.g. ruby makes extention librares too large...).
1977
1978* Wed Jan 10 2001 akira yamada <akira@vinelinux.org>
1979- Applied patch: upgraded to cvs version (2001-01-09):
1980  fixed minor bugs.
1981
1982* Sat Dec 30 2000 akira yamada <akira@vinelinux.org>
1983- Applied bug fix patch.
1984
1985* Mon Dec 25 2000 akira yamada <akira@vinelinux.org>
1986- Updated to new upstream version 1.6.2.
1987
1988* Fri Dec 22 2000 akira yamada <akira@vinelinux.org>
1989- Removed ruby_cvs.2000122019.patch, added ruby_cvs.2000122215.patch
1990  (upgraded ruby to latest cvs version, 1.6.2-preview4).
1991
1992* Wed Dec 20 2000 akira yamada <akira@vinelinux.org>
1993- Removed ruby_cvs.2000121413.patch, added ruby_cvs.2000122019.patch
1994  (upgraded ruby to latest cvs version).
1995- new package: libruby
1996
1997* Thu Dec 14 2000 akira yamada <akira@vinelinux.org>
1998- Removed ruby_cvs.2000101901.patch, added ruby_cvs.2000121413.patch
1999  (upgraded ruby to latest cvs version).
2000- Removed ruby-dev.11262.patch, ruby-dev.11265.patch,
2001  and ruby-dev.11268.patch (included into above patch).
2002
2003* Sun Nov 12 2000 MACHINO, Satoshi <machino@vinelinux.org> 1.6.1-0vl9
2004- build on gcc-2.95.3
2005
2006* Thu Oct 19 2000 akira yamada <akira@vinelinux.org>
2007- Added ruby-dev.11268.patch.
2008
2009* Thu Oct 19 2000 akira yamada <akira@vinelinux.org>
2010- Removed ruby_cvs.2000101117.patch and added ruby_cvs.2000101901.patch
2011  (upgraded ruby to latest cvs version).
2012- Added ruby-dev.11262.patch.
2013- Added ruby-dev.11265.patch.
2014 
2015* Wed Oct 11 2000 akira yamada <akira@vinelinux.org>
2016- Removed ruby_cvs.2000100313.patch and added ruby_cvs.2000101117.patch
2017  (upgraded ruby to latest cvs version).
2018
2019* Mon Oct 09 2000 akira yamada <akira@vinelinux.org>
2020- Removed ruby_cvs.2000100313.patch and added ruby_cvs.2000100313.patch
2021  (upgraded ruby to latest cvs version).
2022
2023* Tue Oct 03 2000 akira yamada <akira@vinelinux.org>
2024- Removed ruby_cvs.2000100218.patch and added ruby_cvs.2000100313.patch
2025  (upgraded ruby to latest cvs version).
2026
2027* Mon Oct 02 2000 akira yamada <akira@vinelinux.org>
2028- Removed ruby_cvs.2000092718.patch and added ruby_cvs.2000100218.patch
2029  (upgraded ruby to latest cvs version).
2030
[7459]2031* Wed Sep 27 2000 akira yamada <akira@vinelinux.org>
[521]2032- Updated to upstream version 1.6.1.
2033- Removed ruby_cvs.2000082901.patch and added ruby_cvs.2000092718.patch
2034  (upgraded ruby to latest cvs version).
2035
2036* Tue Aug 29 2000 akira yamada <akira@redhat.com>
2037- Updated to version 1.4.6.
2038- removed ruby-dev.10123.patch(included into ruby-1.4.6).
2039- Added ruby_cvs.2000082901.patch(upgraded ruby to latest cvs version).
2040
2041* Tue Jun 27 2000 akira yamada <akira@redhat.com>
2042- Updated manuals to version 1.4.5.
2043
2044* Sun Jun 25 2000 akira yamada <akira@redhat.com>
2045- Added ruby-dev.10123.patch.
2046
2047* Sat Jun 24 2000 akira yamada <akira@redhat.com>
2048- Updated to version 1.4.5.
2049- Removed ruby_cvs.2000062401.patch(included into ruby-1.4.5).
2050
2051* Thu Jun 22 2000 akira yamada <akira@redhat.com>
2052- Updated to version 1.4.4(06/22/2000 CVS).
2053- Removed ruby-dev.10054.patch(included into ruby_cvs.patch).
2054
2055* Thu Jun 22 2000 akira yamada <akira@redhat.com>
2056- Renamed to ruby_cvs20000620.patch from ruby_cvs.patch.
2057
2058* Tue Jun 20 2000 akira yamada <akira@redhat.com>
2059- Updated to version 1.4.4(06/20/2000 CVS).
2060- Removed ruby-list.23190.patch(included into ruby_cvs.patch).
2061- Added ruby-dev.10054.patch.
2062
[7459]2063* Thu Jun 15 2000 akira yamada <akira@redhat.com>
[521]2064- Updated to version 1.4.4(06/12/2000 CVS).
2065- Added manuals and FAQs.
2066- Split into ruby, ruby-devel, ruby-tcltk, ruby-docs, irb.
2067
2068* Tue Jun 13 2000 Mitsuo Hamada <mhamada@redhat.com>
2069- Updated to version 1.4.4
2070
2071* Wed Dec 08 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2072- Updated to version 1.4.3
2073
2074* Mon Sep 20 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2075- Updated to version 1.4.2 (Sep 18)
2076
2077* Fri Sep 17 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2078- Updated to version 1.4.2
2079
2080* Tue Aug 17 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2081- Updated to version 1.4.0
2082
2083* Fri Jul 23 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2084- 2nd release
2085- Updated to version 1.2.6(15 Jul 1999)
2086- striped %{prefix}/bin/ruby
2087
2088* Mon Jun 28 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2089- Updated to version 1.2.6(21 Jun 1999)
2090
2091* Wed Apr 14 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2092- Updated to version 1.2.5
2093
2094* Fri Apr 09 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2095- Updated to version 1.2.4
2096
2097* Fri Dec 25 1998 Toru Hoshina <hoshina@best.com>
2098- Version up to 1.2 stable.
2099
2100* Fri Nov 27 1998 Toru Hoshina <hoshina@best.com>
2101- Version up to 1.1c9.
2102
2103* Thu Nov 19 1998 Toru Hoshina <hoshina@best.com>
2104- Version up to 1.1c8, however it appear short life :-P
2105
2106* Fri Nov 13 1998 Toru Hoshina <hoshina@best.com>
2107- Version up.
2108
[7459]2109* Tue Sep 22 1998 Toru Hoshina <hoshina@best.com>
[521]2110- To make a libruby.so.
2111
2112* Mon Sep 21 1998 Toru Hoshina <hoshina@best.com>
2113- Modified SPEC in order to install libruby.a so that it should be used by
2114  another ruby entention.
2115- 2nd release.
2116
2117* Mon Mar 9 1998 Shoichi OZAWA <shoch@jsdi.or.jp>
2118- Added a powerPC arch part. Thanks, MURATA Nobuhiro <nob@makioka.y-min.or.jp>
Note: See TracBrowser for help on using the repository browser.