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

Revision 9953, 83.9 KB checked in by daisuke, 8 years ago (diff)

ruby: update to 2.2.4

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