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

Revision 10475, 84.0 KB checked in by daisuke, 8 years ago (diff)

ruby: 2.2.4 (merge忘れ)

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 12
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 Mar 20 2016 Daisuke SUZUKI <daisuke@vinelinux.org> 2.2.4-12
988- rebuild with openssl-1.0.2
989
990* Sun Jan 10 2016 Daisuke SUZUKI <daisuke@vinelinux.org> 2.2.4-11
991- update to 2.2.4
992
993* Mon Jan  5 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 2.2.3-10
994- update to 2.2.3
995
996* Wed Nov 19 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.1.5-9
997- update to 2.1.5
998
999* Sat Jul 12 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.1.2-8
1000- add R: rubygem(json) to rubygem-rdoc
1001- fix json ext module path
1002
1003* Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.2-7
1004- rebuild with libffi-3.0.13
1005
1006* Fri Jun 27 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.1.2-6
1007- use ruby abi version for load_path
1008  - remove --with-ruby-version=''
1009  - update operating_system.rb
1010
1011* Wed Jun 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2.1.2-5
1012- update to 2.1.2
1013
1014* Wed May 21 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0.481-4
1015- update to 2.0.0-p452
1016
1017* Thu Apr 10 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0.451-3
1018- update to 2.0.0-p451
1019
1020* Sat Dec 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.0.353-2
1021- fix macros.ruby
1022
1023* Tue Dec 03 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0.353-1
1024- update to 2.0.0-p353
1025- change ruby(abi) -> ruby(release)
1026
1027* Mon Feb 25 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.392-10
1028- update to 1.9.3-p392
1029
1030* Tue Feb 12 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.385-9
1031- update to 1.9.3-p385
1032
1033* Mon Jan 21 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.374-7
1034- update to 1.9.3-p374
1035
1036* Mon Jan  7 2013 IWAI, Masaharu <iwai@alib.jp> 1.9.3.362-6
1037- build with Tcl/Tk 8.5.7-1
1038
1039* Wed Dec 26 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.362-5
1040- update to 1.9.3-p362
1041
1042* Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.327-4
1043- remove ruby_abi from gem_dir
1044
1045* Sun Nov 11 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.327-3
1046- update to 1.9.3-p327
1047- add patch10 to skip network related test
1048- add patch11 to skip test_str_crypt (upstream bug)
1049
1050* Fri Oct 26 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.286-2
1051- fix gem_extdir to include ruby_abi number
1052- fix macros.ruby to include ruby_abi number
1053- include site_ruby dir
1054
1055* Tue Oct 23 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.3.286-1
1056- update to 1.9.3-p286
1057- rebase with fedora package
1058  - change filesystem structure compatible with Vine ruby package
1059  - rename rubygems to ruby-rubygems
1060  - modify ruby filesystem structure
1061    - /usr{,/local}/share/ruby for arch-independent files
1062    - /usr{,/local}/lib{,64}/ruby for arch-dependent files
1063    - move gems to /usr/share/gems, /usr/lib{,64}/gems
1064  - merge rubygems, rake to ruby sub-package
1065  - add subpackages for ruby standard gems
1066
1067* Sat Jun 30 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.1-1
1068- update to 1.8.7-p370
1069
1070* Sun May 06 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.358-1
1071- update to 1.8.7-p358
1072- add patch1100 to build with glibc-2.14
1073
1074* Mon Feb 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.334-1
1075- update to 1.8.7-p334
1076
1077* Tue Jan 18 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.330-1
1078- update to 1.8.7-p330
1079- change License tag (Ruby or GPLv2)
1080
1081* Tue Feb 02 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.249-1
1082- update to 1.8.7-p249
1083- rebuild with db4-4.8.0
1084- drop unneccesary patches: 809, 1001, 1002, 1003, 1004
1085
1086* Tue Sep 08 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.174-3
1087- move noarch ruby libraries to /usr/lib/ruby.
1088  - add Patch960
1089    - add --with-ruby-prefix=%%{_prefix}/lib
1090- add deprecated search path for 64bit arch.
1091  - --with-search-path=%%{_libdir}/ruby/%%{rubyxver}
1092
1093* Wed Aug 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.174-2
1094- import Patch100[12345] from debian package
1095  * Added debian/patches/090811_thread_and_select.dpatch:
1096    threads may hangup when IO.select called from two or more threads.
1097  * Added debian/patches/090812_finalizer_at_exit.dpatch:
1098    finalizers should be run at exit (Closes: #534241)
1099  * Added debian/patches/090812_class_clone_segv.dpatch:
1100    avoid segv when an object cloned.  (Closes: #533329)
1101  * Added debian/patches/090812_eval_long_exp_segv.dpatch:
1102    fix segv when eval a long expression.  (Closes: #510561)
1103  * Added debian/patches/090812_openssl_x509_warning.dpatch:
1104    suppress warning from OpenSSL::X509::ExtensionFactory.  (Closes: #489443)
1105
1106* Tue Jun 16 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.174-1
1107- new upstream release 1.8.7-p174
1108 - fix CVE-2009-1904
1109   http://www.ruby-lang.org/en/news/2009/06/09/dos-vulnerability-in-bigdecimal/
1110
1111* Mon Jun 01 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.7.160-1
1112- new upstream version 1.8.7-p160.
1113- drop unneccesary patches: Patch807, Patch1010
1114
1115* Mon Sep 22 2008 NAKAMURA Kenta <kenta@vinelinux.org> 1.8.7.72-2
1116- updated Patch950: ruby-1.8.7-p72-multilib.patch
1117
1118* Thu Sep 11 2008 akira yamada <akira@vinelinux.org> 1.8.7.72-1
1119- new upstream version 1.8.7-p72.
1120- droped unnecessary patches: Patch802.
1121
1122* Thu Sep 11 2008 akira yamada <akira@vinelinux.org> 1.8.6.287-1
1123- new upstream version 1.8.6-p287.
1124- droped unnecessary patches: Patch805, Patch1000.
1125- updated Patch808 for 1.8.6-p287.
1126- added Patch809: rcov may crash because of backwards incompatibility.
1127  (backported r14826:15141 of trunk).
1128- added Patch1010 to fix CVE-2008-3790.
1129
1130* Sat Sep  6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.6.111-1
1131- applied new versioning policy
1132- spec in UTF-8
1133- removed BuildRequires: XOrg-devel
1134
1135* Wed Oct 24 2007 akira yamada <akira@vinelinux.org> 1.8.6.111-0vl2
1136- added ruby-1.8.6.111-rexml-document-transitive.patch:
1137  - fixed: Document#write undefined local variable or method `transitive'.
1138
1139* Tue Oct 23 2007 akira yamada <akira@vinelinux.org> 1.8.6.111-0vl1
1140- new upstream version 1.8.6.111.
1141- added ruby-1.8.6.111-CVE-2007-5162.patch:
1142  - security fixes for CVE-2007-5162.  It is backported r13657 from ruby_1_8
1143    branch.
1144- added ruby-1.8.6.111-ruby-bugs-11507.patch:
1145  - ConditionVariable#wait may raise "not owner" exceptions.
1146- added ruby-1.8.6.111-sync_try_lock_always_fail.patch:
1147  - Sync#try_lock always fails due to wrong variable name.
1148
1149* Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.6-0vl4
1150- rebuild with new openssl
1151
1152* Thu May 10 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.6-0vl3
1153- rebuilt with new toolchain and db4-4.3.x
1154
1155* Sun Mar 25 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.8.6-0vl2
1156- modified emacsen-common path
1157
1158* Mon Mar 19 2007 akira yamada <akira@vinelinux.org> 1.8.6-0vl1
1159- new upstream version 1.8.6.
1160
1161* Mon Dec 04 2006 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.8.5-0vl1.1
1162- add pacth1000 for fix cgi.rb issue (JVN#84798830)
1163
1164* Wed Nov 1 2006 akira yamada <akira@ruby-lang.org> 1.8.5-0vl1
1165- new upstream version 1.8.5.
1166- added ruby-1.8.5-rexml_encoding.patch:
1167  - REXML should accept UTF-16.  [ruby-list:42737]
1168- added ruby-1.8.5-rdoc.patch:
1169  - Don't unescape HTML in HtmlFormatter.  Submitted by Kent Sibilev <ksruby
1170    at gmail.com>.  [ruby-core:08392].
1171  - lib/rdoc/generators/ri_generator.rb: do not chdir twice.
1172- added ruby-1.8.5-hash_memory_reak.patch:
1173  - hash.c (rb_hash_s_create): fixed memory leak, based on the patch by Kent
1174    Sibilev <ksruby at gmail.com>.  fixed: [ruby-talk:211233]
1175- added ruby-1.8.5-top_cref.patch:
1176  - eval.c (ruby_init): rename top_cref to ruby_top_cref and export, along
1177    with ruby_cref, for use by the sandbox. [ruby-core:08762]
1178- added ruby-1.8.5-tcltk.patch:
1179  - ext/tk/lib/tkextlib/blt.rb: double dashes (--) option doesn't work
1180    properly on some versions of BLT (wrong description on the manual of
1181    `blt::bgexec'?).
1182  - ext/tk/lib/tk/font.rb: TkFont#current_configinfo() doesn't work on
1183    Tcl/Tk8.x.
1184  - ext/tk/lib/tk.rb: update RELEASE_DATE.
1185- added ruby-1.8.5-acl.patch:
1186  - patterns which include '*' should not cause getaddress() call.
1187    [ruby-dev:29406]
1188- added ruby-1.8.5-socket.patch:
1189  - ext/socket/extconf.rb: check arpa/inet.h for ntohs.
1190  - ext/socket/socket.c: include arpa/inet.h if available.
1191  - ext/socket/socket.c (ruby_connect): sockerrlen should be socklen_t.
1192- added ruby-1.8.5-exec_vs_nullbyte.patch:
1193  - io.c (pipe_open): null character should be saved for command name.
1194    [ruby-dev:29421]
1195  - process.c (proc_spawn): ditto.
1196  - process.c (proc_spawn_n): ditto.
1197  - process.c (rb_f_system): ditto.
1198- added ruby-1.8.5-mimedec.patch:
1199  - CGI#out should not decode base64 strings.  [ruby-dev:29284]
1200  - Kconv::toeuc should decode base64 strings. (reverted to old behaviour for
1201    compatibility.)  [ruby-dev:29505]
1202  - corrected regexp for EUC-JP (Kconv::RegexpEucjp).  [ruby-dev:29344]
1203- added ruby-1.8.5-strftime_nullbyte.patch:
1204  - Time#strftime should save null character.  [ruby-dev:29422]
1205- added ruby-1.8.5-dbm_extconf.patch:
1206  - ext/dbm/extconf.rb: create makefile according to the result of check for
1207    dbm header.  fixed: [ruby-dev:29445]
1208  - ext/dbm/extconf.rb: allow multiple candidates for dbm-type.
1209- added ruby-1.8.5-check_sticky_bit.patch:
1210  - file.c (path_check_0): check if sticky bit is set on parent directories
1211    for executable path.  fixed: [ruby-dev:29415]
1212  - Fix documentation submitted by Rick Ohnemus.  ruby-Bugs-5529.
1213    [ruby-core:08725]
1214- added ruby-1.8.5-float_hash.patch:
1215  - improve hash collision of Float objects.  [ruby-dev:29352]
1216- added ruby-1.8.5-time_vardecl.patch:
1217  - time.c (time_to_s): variable declaration after an execution statement.
1218- added ruby-1.8.5-bignum.patch:
1219  - numeric.c (fix_plus): addition in Fixnum will never overflow long.  a
1220    patch from Ondrej Bilka <neleai at seznam.cz>.  [ruby-core:08794]
1221  - numeric.c (fix_minus): ditto.
1222  - bignum.c (rb_big_pow): eagerly truncate resulting bignum.
1223    [ruby-core:08794]
1224- added ruby-1.8.5-migration_macro.patch:
1225  - ruby.h (RSTRING_PTR): add migration macro.
1226  - ruby.h (RARRAY_PTR): ditto.
1227- added ruby-1.8.5-webrick_cookie.patch:
1228  - lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): new method to
1229    parse multiple cookies per Set-Cookie header.  Thanks to Aaron Patterson
1230    <aaron_patterson at speakeasy.net>.  [ruby-core:08802]
1231- added ruby-1.8.5-suppress_warnings.patch:
1232  - mkconfig.rb, ext/extmk.rb, lib/mkmf.rb: suppress warnings with $VERBOSE.
1233  - ext/extmk.rb: Proc#call does not pass the block in 1.8.
1234  - Makefile.in, win32/Makefile.sub (MINIRUBY): append MINIRUBYOPT.
1235- added ruby-1.8.5-pstore_binmode.patch:
1236  - lib/pstore.rb: open all in binary mode, and get rid of the quirk of
1237    msvcrt.  fixed: [ruby-dev:29518]
1238- added ruby-1.8.5-testunit_rescue.patch:
1239  - Rescue Exception in Test::Unit::TestCase#run.  [ruby-core:08783]
1240- added ruby-1.8.5-prevent_loading_twice.patch:
1241  - eval.c (rb_require_safe): prevent loading twice from extensions.  fixed:
1242    [ruby-dev:29523]
1243- added ruby-1.8.5-prohibit_intern_tainted_string.patch:
1244  - string.c (rb_str_intern): prohibit interning tainted string.
1245- added ruby-1.8.5-ruby_mode.patch:
1246  - misc/ruby-mode.el (ruby-parse-partial): better here-doc support.  a patch
1247    from Marshall T. Vandegrift <llasram at gmail.com>.  [ruby-core:08804]
1248- added ruby-1.8.5-readme_ext.patch:
1249  - README.EXT: English adjustment.  [ruby-core:08851] [ruby-core:08852]
1250    [ruby-core:08855]
1251- added ruby-1.8.5-check_safe_level_for_str_intern.patch:
1252  - string.c (rb_str_intern): raise SecurityError only when $SAFE level is
1253    greater than zero.  [ruby-core:08862]
1254  - parse.y (rb_interned_p): new function to check if a string is already
1255    interned.
1256  - object.c (str_to_id): use rb_str_intern().
1257- added ruby-1.8.5-pty.patch:
1258  - ext/pty/pty.c (establishShell): parent pid is not used.
1259  - ext/pty/pty.c (freeDevice): not used.
1260  - ext/pty/pty.c (get_device_once): removed garbage right brace.
1261  - ext/pty/pty.c (establishShell): remove remaining unused line.
1262- added ruby-1.8.5-imap_extraspace.patch:
1263  - net/imap can accept extra space in server responses.  The patch from Tom
1264    Soderlund.
1265- added ruby-1.8.5-rdoc_nameerror.patch:
1266  - rdoc/ri/ri_options.rb should require 'rdoc/ri/ri_paths'.
1267- added ruby-1.8.5-gdbm_docs.patch and updated ruby-1.8.5-.document.patch:
1268  - added GDBM documents.
1269- added ruby-1.8.5-etc_uid_t.patch:
1270  - etc.c should use uid_t instead of int.  [ruby-core:08897]
1271- added ruby-1.8.5-cgi_empty_content.patch:
1272  - invalid multipart data can make cgi.rb infinite loop and CPU consumption.
1273    (CVE-2006-5467)
1274- added ruby-1.8.5-sandbox.patch:
1275  - added Thread#kill!.  [ruby-core:08768]
1276- added ruby-1.8.5-update_docs.patch:
1277  - small fixes and updates for rdocs.
1278- added ruby-1.8.5-array.patch:
1279  - fixed a potential leaks caused by shift.  [ruby-talk:216055]
1280    [ruby-core:08922] [ruby-list:42907]
1281- added ruby-1.8.5-dir_checkdir.patch:
1282  - internal existence test for "/" fails anytime. [ruby-core:08913]
1283- added ruby-1.8.5-mkmf.patch:
1284  - set default $LDFLAGS.  [ruby-talk:216256]
1285  - check function pointer first and macro next.  [ruby-core:08949]
1286  - fixed the bug of handling COMMON_MACROS.
1287- added ruby-1.8.5-jcode.patch:
1288  - succ! in jcode.rb doesn't work on $KCODE == 'n'.  [ruby-talk:216845]
1289- added ruby-1.8.5-eval.patch:
1290  - check protected visibility based on real self, not ruby_frame->self.
1291    [ruby-talk:217822]
1292- added ruby-1.8.5-include_module.patch:
1293  - remove unnecessary check.  [ruby-talk:218402]
1294- added ruby-1.8.5-bignum_shift.patch:
1295  - a bug in right shift of negative bignums.  [ruby-core:09020]
1296- added ruby-1.8.5-rexml_enc.patch:
1297  - spaces are allowed around equal sign.  [ruby-core:09032]
1298- added ruby-1.8.5-wrong_id_check.patch:
1299  - wrong id check.  [ruby-core:09158]
1300  - typo fixed.  [ruby-core:09168]
1301- added ruby-1.8.5-rb_warning.patch:
1302  - some error message may contain format specifiers.  [ruby-dev:29657]
1303- added ruby-1.8.5-parse.y.patch.patch:
1304  - no need to re-create NODE_SELF() again.  [ruby-core:09177]
1305  - use particular enums.  [ruby-core:09221]
1306- added ruby-1.8.5-signal.patch:
1307  - handle SIGTERM.  [ruby-list:42895]
1308  - don't set SA_RESTART.  a backport from the HEAD.  [ruby-talk:220937]
1309    [ruby-talk:147220]
1310- added ruby-1.8.5-string_tainted.patch:
1311  - should be infected with only original string, but not the shared string.
1312    [ruby-core:09152]
1313  - strnig.c (rb_str_new4): keep shared string untainted when orignal string
1314    is tainted.  [ruby-dev:29672]
1315- added ruby-1.8.5-configure_alloca.patch:
1316  - alloca is broken; use C_ALLOCA instead.  [ruby-dev:29416]
1317- added ruby-1.8.5-openssl.patch:
1318  - ossl_pkcs7_verify, ossl_spki_initialize: should clear error.
1319  - Use digest/md5 instead of obsolete md5.
1320- added ruby-1.8.5-imap_nomodseq.patch:
1321  - net/imap chokes on NOMODSEQ response. [ruby-Bugs#6026]
1322- added ruby-1.8.5-soap.patch:
1323  - huge memory usage with the Ebay API.
1324    <http://dev.ctor.org/soap4r/ticket/224>
1325- applied debian/patches/149_bignum_to_s.patch
1326  - should preserve leading zero information for negative %b and %x.
1327    [ruby-talk:221347]
1328- applied debian/patches/150_time_dup.patch
1329  - duplicate the class of original time.  [ruby-core:09357]
1330- applied debian/patches/151_super.patch
1331  - fixed bug of zsuper with both of opt and rest.  [ruby-list:42928]
1332- applied debian/patches/152_dir_glob.patch
1333  - get rid of possible memory leak.
1334
1335* Tue Sep 12 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.4-0vl5
1336- changed ruby-mode Group to Appliations/Editors/Emacs <BTS:VineLinux:163>
1337- changed ruby-doc Group to Appliations/Documentation  <BTS:VineLinux:163>
1338- changed libruby Group to System Environment/Libraries
1339- rebuilt with openssl-0.9.7k
1340
1341* Sat Jul 29 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.8.4-0vl4
1342- x86_64 architecture support
1343  - added ruby-1.8.4-multilib.patch
1344  - added ruby-1.8.4-tcltk-multilib.patch
1345  - modified emacsen-common path
1346
1347* Fri Jul 14 2006 akira yamada <akira@vinelinux.org> 1.8.4-0vl3
1348- added ruby-1.8.4-135.patch:
1349  - should check if chars are multibyte for regexp-i option.
1350  [ruby-dev:28598] [ruby-list:42096]
1351- added ruby-1.8.4-136.patch:
1352  - jcode.rb breaks String#tr_s.  [ruby-list:42090]
1353- added ruby-1.8.4-137.patch:
1354  - Array#pack supports CRLF newlines.  [ruby-dev:28601]
1355- added ruby-1.8.4-138.patch:
1356  - should initialize variables first.  [ruby-core:07785] [ruby-core:07810]
1357  - avoid accessing uninitialized array element.  [ruby-core:07809]
1358- added ruby-1.8.4-139.patch:
1359  - Numeric#div should use floor rather than Interger.  [ruby-dev:28589]
1360  - the first element of Float#divmod should be an integer.
1361    [ruby-dev:28589]
1362- added ruby-1.8.4-140.patch:
1363  - avoids memory leak of YAML.  [ruby-core:7808]
1364- added ruby-1.8.4-141.patch:
1365  - fixes out of bounds array access.  [ruby-core:07823]
1366- added ruby-1.8.4-142.patch:
1367  - use AF_INET6 for nameservers containing colons.
1368- added ruby-1.8.4-143.patch:
1369  - should not modify untainted objects in safe levels higher than 3.
1370  - should not allow modifying literal regexps.
1371- added ruby-1.8.4-144.patch:
1372  - should not close untainted dir stream in $SAVE >= 4.
1373  - should not call a vararg function rb_sys_warning() indirectly.
1374    [ruby-core:07886]
1375- added ruby-1.8.4-145.patch:
1376  - should round for usec floating number.  [ruby-core:07896]
1377- added ruby-1.8.4-146.patch:
1378  - constant in Fixnum access with instance_eval dumps core.
1379    [ruby-dev:28327]
1380  - inspect for overriden method.  [ruby-dev:28636]
1381  - set_trace_func dumps core.  [ruby-dev:28632]
1382  - set_trace_func: binding has wrong self value for return events.
1383    [ruby-core:07928]
1384- added ruby-1.8.4-147.patch:
1385  - fixed typo of openssl/ssl.rb.
1386- added ruby-1.8.4-148.patch:
1387  - fixed memory leak and alignment bug of the dl library.  [ruby-dev:28665]
1388- added ruby-1.8.4-149.patch:
1389  - new method: IO#read_nonblock, IO#write_nonblock,
1390    Socket#connect_nonblock, Socket#accept_nonblock and
1391    Socket#recvfrom_nonblock.  [ruby-core:7917]
1392  - use rb_read_pending instead of rb_io_read_pending.  [ruby-dev:28663]
1393  - new method: IPSocket#recvfrom_nonblock, TCPServer#accept_nonblock,
1394    UNIXServer#accept_nonblock.
1395  - reject non-AF_UNIX sockaddr.  [ruby-dev:28691]
1396- added ruby-1.8.4-mkconfig.rb.patch:
1397  - mkconfig.rb should remove "|#_!!_#|" and unquote commas generated by
1398    autoconf > 2.59 (CVS).
1399
1400* Wed May 10 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.4-0vl2
1401- dirty fix to rb_arch macro for ppc
1402  (_target_cpu should be powerpc, but rpm macro will translate to ppc anyhow)
1403  this fix will be removed after rpm-4.4 macro issue is cleared up.
1404
1405* Sun Apr 23 2006 akira yamada <akira@vinelinux.org> 1.8.4-0vl1
1406- new upstream version 1.8.4.
1407- updated ruby-refm-rdp.
1408- applied following bug-fix-patches.
1409- added ruby-1.8.4-100.patch:
1410  - fixed a bug in constant reference during instance_eval for some type of
1411    objects.  [yarv-dev:707]
1412- added ruby-1.8.4-101.patch:
1413  - allow dynamic symbols (:"...") to undef and alias.  [ruby-dev:28105]
1414- added ruby-1.8.4-102.patch:
1415  - (openssl) treat wildcard character in commonName.  [ruby-dev:28121]
1416  - (openssl) should use "rb_str_new(0, 0)" to make empty string.
1417- added ruby-1.8.4-103.patch:
1418  - callcc or thread may leak memory  [ruby-Bugs:1364] [ruby-dev:28154]
1419    [ruby-dev:28172]
1420  - mark objects refered from aborting threads.  [ruby-dev:28190]
1421- added ruby-1.8.4-104.patch:
1422  - avoid a GC problem with RUBY_ALWAYS_GC= ./ruby -e ''.
1423  - declare rb_gc_abort_threads.
1424- added ruby-1.8.4-105.patch:
1425  - should not recycle scope object used in a thread.  [ruby-dev:28177]
1426- added ruby-1.8.4-106.patch (urgency medium):
1427  - get rid of segfault on syntax error.  [ruby-core:07070]
1428- added ruby-1.8.4-107.patch:
1429  - fixed typo in webrick/httpservlet/filehandler.rb: fixed typo.
1430    [ruby-core:7075]
1431- added ruby-1.8.4-108.patch (urgency medium):
1432  - YAML loading of quoted Symbols broken.  [ruby-Bugs:2535]
1433  - YAML could not load Bignum in ruby 1.8.3/1.8.4.  [ruby-core:6115]
1434  - YAML could not dump Subclass of Numeric properly.  [ruby-core:7047]
1435  - should be able to load "!ruby/object:Bignum" syntax 1.8.3 dumped.
1436    [ruby-core:6159]
1437  - workaround for SEGV.  ex: YAML.load("!map:B {}").  [ruby-core:7217]
1438  - fixed a typo in yaml.rb.  [ruby-talk:165285] [ruby-core:6995]
1439  - YAML should output complex key mark even if map's key is empty seq/map.
1440    [ruby-core:7129]
1441- added ruby-1.8.4-109.patch:
1442  - fixed possibility of memmory corruption.
1443- added ruby-1.8.4-111.patch:
1444  - don't clobber %l7 of SPARC if enable-shared.
1445  - workaround for FreeBSD/i386 getcontext/setcontext bug.  [ruby-dev:28263]
1446- added ruby-1.8.4-112.patch:
1447  - FileUtils#mv should remove file after copying.  [ruby-dev:28223]
1448- added ruby-1.8.4-113.patch:
1449  - avoids compile error (use system routine if provided).
1450    [ruby-core:07195]
1451- added ruby-1.8.4-114.patch:
1452  - need not to protect $SAFE value.  [ruby-core:07177]
1453- added ruby-1.8.4-115.patch:
1454  - (2**32).to_s(2) fails with exception where sizeof(int) == 4 <
1455    sizeof(long). [ruby-core:7300] [ruby-Bugs:3438]
1456- added ruby-1.8.4-116.patch:
1457  - PStore#fetch should return default value if name is not found.
1458    [ruby-core:7304]
1459- added ruby-1.8.4-117.patch:
1460  - defined RSTRUCT_LEN and RSTRUCT_PTR for source level compatibility with
1461    ruby 1.9.
1462  - alias RbConfig for Config for compatibility with ruby 1.9.
1463- added ruby-1.8.4-118.patch:
1464  - should not access ruby objects in finalizer of Zlib.  [ruby-dev:28286]
1465- added ruby-1.8.4-119.patch:
1466  - no need to push ruby_class.  [ruby-dev:28176] [ruby-dev:28580]
1467  - check if ruby_cbase is nil (during instance_eval for objects cannot have
1468    singleton classes, e.g. fixnums and symbols).  [ruby-dev:28178]
1469    [ruby-dev:28580] [ruby-dev:28582]
1470  - argument update propagation.  [ruby-dev:28044]
1471  - avoid unnecessary extra argument.  [ruby-core:07366] [ruby-dev:28583]
1472    [ruby-dev:28583]
1473- added ruby-1.8.4-120.patch:
1474  - support non 32bit time_t environments.
1475- added ruby-1.8.4-121.patch:
1476  - zsuper (with define_method) dumps core.  [ruby-dev:28181]
1477- added ruby-1.8.4-122.patch:
1478  - should no singleton classes for true, false, and nil.  [ruby-dev:28186]
1479- added ruby-1.8.4-124.patch:
1480  - sleep should always sleep for specified amount of time.
1481    [ruby-talk:180067]
1482- added ruby-1.8.4-125.patch:
1483  - unpack("l") did not work where sizeof(long) != 4.  [ruby-talk:180024]
1484  - fixed integer overflow on template "w" of pack.  [ruby-talk:180126]
1485- added ruby-1.8.4-126.patch:
1486  - removed unnecessary MY_FILE_NAME constant.  [ruby-core:07376]
1487- added ruby-1.8.4-127.patch:
1488  - odd break behavior.  [ruby-talk:180420]
1489- added ruby-1.8.4-128.patch:
1490  - unexpected syntax error.  [ruby-talk:180648]
1491- added ruby-1.8.4-129.patch:
1492  - fixed that irb can't parse /\^/. [ruby-dev:28404] [ruby-Bugs:3302]
1493  - rdoc could not handle /\^/.  [ruby-talk:181631] [ruby-dev:28404]
1494- added ruby-1.8.4-130.patch:
1495  - symbols overlap ordinary objects.  [ruby-core:07414]
1496  - heap_slots may overflow.
1497  - align VALUE with sizeof(RVALUE) globally.  [ruby-talk:178364]
1498    [ruby-core:7305]
1499- added ruby-1.8.4-131.patch:
1500    - should not re-schedule output from KILLED thread.
1501- added ruby-1.8.4-133.patch:
1502  - reports aliased method names in a generated backtrace.  [ruby-dev:28471]
1503  - insecure calling should be checked for non NODE_SCOPE method invocations
1504    too.
1505  - should preserve the current safe level as well as method definition.
1506- added ruby-1.8.4-134.patch:
1507  - (bignum) second operand may be too big even if it's a Fixnum.
1508    [ruby-talk:187984]
1509- libruby1.8-dbg: applied a patch from Matthew Palmer to provide detached
1510  symbols.
1511
1512* Wed Nov  9 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.1-0vl22
1513- added BuildRequires: zlib-devel
1514
1515* Sat Jul  2 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.8.1-0vl21
1516- rebuild for VineSeed
1517- rename BuildRequires: XFree86-devel to XOrg-devel
1518
1519* Thu Jun 23 2005 akira yamada <akira@vinelinux.org> 1.8.1-0vl20.1
1520- added ruby-1.8.2pre2-xmlrpc-util.rb.patch:
1521  - fixed arbitrary command execution on XMLRPC server.
1522    (CAN-2005-1992) [ruby-core:5237]
1523
1524* Wed Nov 03 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.1-0vl20
1525- increased release number to avoid discrepancy against 3.0/errata package
1526
1527* Wed Nov 03 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl19
1528- updated and enabled ruby-1.8.2pre2-cvs-update-104.patch.
1529- added ruby-1.8.2pre2-io-open.patch:
1530  - (important) additional changes for "open dumps core again^2."
1531    [ruby-dev:24656]
1532- added ruby-1.8.2pre2-array-uniq.patch:
1533  - Array#uniq should not freeze elements.  [ruby-dev:24695]
1534
1535* Wed Nov 03 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl18
1536- added ruby-1.8.2pre2-cvs-update-104.patch:
1537  - (important) Enumerable#grep dumps core.  [ruby-dev:24671]
1538  - (important) open dumps core again^2.  [ruby-dev:24656]
1539- added ruby-1.8.2pre2-ostruct-revert.patch and removed
1540  ruby-1.8.2pre2-ostruct-marshal.patch:
1541  - reverted lib/ostruct.rb.
1542
1543* Sun Oct 31 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl17
1544- added ruby-1.8.2pre2-cvs-updates-103.patch:
1545  - (important) temporarily frozen string causes core dump.  [ruby-dev:24552]
1546- removed ruby-1.8.2pre2-cgi.rb-macie.patch,
1547  ruby-1.8.2pre2-ostruct-marshal.patch,
1548  ruby-1.8.2pre2-zlib-flush_next_in.patch and
1549  ruby-1.8.2pre2-ruby_finalize_1-segv.patch: they ware included into the
1550  above patch.
1551
1552* Sat Oct 30 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl16
1553- added ruby-1.8.2pre2-eval.c-memory-leak.patch:
1554  - (important) another memory leak in ruby_1_8.  [ruby-core:03619]
1555- added ruby-1.8.2pre2-io-path.patch:
1556  - (important) IO#path may cause segv.  [ruby-talk:118234]
1557- added ruby-1.8.2pre2-enum-sort_by.patch:
1558  - (important) Enumerable#sort_by dumps core again^4.  [ruby-dev:24642]
1559
1560* Fri Oct 29 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl15
1561- added ruby-1.8.2pre2-cvs-updates-100.patch:
1562  - minor bug fix.
1563- added ruby-1.8.2pre2-cvs-updates-101.patch:
1564  - (important) "IO.allocate.reopen('/nothing')" on irb causes SEGV.
1565    [ruby-core:03288]
1566  - YAML fails to load/dump non-printable characters.  [ruby-core:03280]
1567    [ruby-core:03286]
1568  - Bug#265429: IO.select() mysteriously hangs [ruby-dev:24072]
1569    [ruby-dev:24075]
1570  - Pathological slowdown in 1.8  [ruby-core:02662]
1571- added ruby-1.8.2pre2-cvs-updates-102.patch:
1572  - (important) fixed some segmentation fault bugs listed in
1573    - <URL:http://jp.rubyist.net/magazine/?0002-RubyCore>.
1574    - raise dumps core.  [ruby-dev:24519]
1575    - unpack("p") dumps core.  [ruby-dev:24594]
1576    - Enumerable#sort_by dumps core again.  [ruby-dev:24386]
1577    - Enumerable#sort_by dumps core again(2).  [ruby-dev:24399]
1578    - A class of return value of Array#*.  [ruby-dev:24526]
1579    - Zlib::Deflate#deflate causes core dump.  [ruby-dev:24530]
1580  - PStore#transaction may raise Errno::ENOENT.  [ruby-dev:24561]
1581  - String#include? ?\x80.  [ruby-dev:24558]
1582  - httpresponse.rb: ensure to close @body.
1583  - (important) fixed memory leak.  [ruby-core:03549]
1584  - Zlib::GzipReader#ungetc does not work correctly.
1585  - (important) core dump with binding, eval, instance_eval and class
1586    variable.  [ruby-dev:24120]
1587- added ruby-1.8.2pre2-cgi.rb-macie.patch:
1588  - cgi.rb: workaround for Mac IE.  [ruby-list:40136]
1589- added ruby-1.8.2pre2-ostruct-marshal.patch:
1590  - ostruct.rb: OpenStruct can't be dumped.  [ruby-dev:24625]
1591- added ruby-1.8.2pre2-zlib-flush_next_in.patch:
1592  - (important) Zlib::Deflate#flush_next_in causes core dump.
1593    [ruby-dev:24621]
1594- added ruby-1.8.2pre2-ruby_finalize_1-segv.patch:
1595  - (important) raising zlib dumps core again.  [ruby-dev:24627]
1596- removed ruby-1.8.2pre2-cgi-session-filename.patch and
1597  ruby-1.8.2pre2-cgi.rb-infinity-loop.patch: they ware included into the
1598  above patch.
1599
1600* Fri Oct 29 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl14
1601- added ruby-1.8.2pre2-cgi-session-filename.patch:
1602  - (important) CGI::Session::FilesStore and CGI::Session::PStore should not
1603    use a session id as a filename.
1604- added ruby-1.8.2pre2-cgi.rb-infinity-loop.patch:
1605  - (security) cgi.rb: avoids infinity loop.
1606
1607* Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.1-0vl13
1608- rebuilt with db4-4.2.25
1609
1610* Fri Jul 30 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl12
1611- new upstream source, ruby-1.8.2-preview2.
1612- removed patches which is included into upstream:
1613  ruby-1.8.2pr1-sleep.patch, ruby-1.8.2pr1-version.h.patch,
1614  ruby-1.8.2pr1-yaml-rubytypes.rb.patch, ruby-1.8.2pr1-ruby-mode.patch,
1615  ruby-1.8.2pr1-yaml-load-exception.patch,
1616  ruby-1.8.2pr1-config.guess-revert.patch, ruby-1.8.2pr1-callcc.patch,
1617  ruby-1.8.2pr1-net-imap.patch, ruby-1.8.2pr1-uri-ldap.patch,
1618  ruby-1.8.2pr1-use-NULL.patch, ruby-1.8.2pr1-cgi-session.patch and
1619  ruby-1.8.2pr1-run-final.patch.
1620- renamed to ruby-1.8.2pre2-delegate.rb.patch from
1621  ruby-1.8.2pr1-delegate.rb.patch.
1622
1623* Wed Jul 28 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl11
1624- enabled Patch811(ruby-1.8.2pr1-cgi-session.patch).
1625- added a patch:
1626  - ruby-1.8.2pr1-run-final.patch: ObjectSpace.define_finalizer may cause
1627    Segmentation falult.  [ruby-dev:23957]
1628
1629* Wed Jul 21 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl10
1630- new upstream source, ruby-1.8.2-preview1.
1631- removed patches which included into upstream:
1632  ruby-1.8.1-{100..108}-cvs-updates.patch,
1633  ruby-1.8.1-ia64-stack-limit-hack.patch,
1634  ruby-1.8.1-zlib_64bit_gzfile_get32.patch,
1635  ruby-1.8.1-rdoc-parse.rb.patch.
1636- updated patches:
1637  - ruby-1.8.1-sleep.patch -> ruby-1.8.2pr1-sleep.patch
1638  - ruby-1.8.1-yaml-rubytypes.rb.patch -> ruby-1.8.2pr1-yaml-rubytypes.rb.patch
1639  - ruby-1.8.1-ruby-mode.patch -> ruby-1.8.2pr1-ruby-mode.patch
1640  - ruby-1.8.1-delegate.rb.patch -> ruby-1.8.2pr1-delegate.rb.patch
1641  - ruby-1.8.1-config.guess-revert.patch -> ruby-1.8.2pr1-config.guess-revert.patch
1642  - ruby-1.8.1-ri-pager.patch -> ruby-1.8-ri-pager.patch
1643- added patches:
1644  - ruby-1.8.2pr1-version.h.patch: added some constans.
1645  - ruby-1.8.2pr1-yaml-load-exception.patch: YAML.load
1646    couldn't load Exception objects.  [ruby-talk:104405]
1647  - ruby-1.8.2pr1-callcc.patch: callcc method may cause unknown data type
1648    bug.  [ruby-talk:106657]
1649  - ruby-1.8.2pr1-net-imap.patch: wait command continuation requests before
1650    sending octet data of literals.
1651  - ruby-1.8.2pr1-uri-ldap.patch: method hierarchical? in uri/ldap.rb should
1652    be in URI::LDAP.
1653  - ruby-1.8.2pr1-use-NULL.patch: use NULL instead of 0.
1654  - ruby-1.8.2pr1-cgi-session.patch: sets the permission of the session data
1655    file to 0600.  [ruby-dev:23952]
1656
1657* Wed Jun 23 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl9
1658- added ruby-1.8.1-rdoc-parse.rb.patch:
1659    - [ruby-talk:104190] %r{...} is a regular expression but RDoc prints it
1660      as %{...}.
1661- added ruby-1.8.1-config.guess-revert.patch:
1662    - [ruby-dev:23753] revert to original config.guess
1663      <URL:ftp://ftp.gnu.org/pub/gnu/config/config.guess>.
1664
1665* Tue Jun 22 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl8
1666- added ruby-1.8.1-yaml-rubytypes.rb.patch:
1667    - backported from CVS HEAD.
1668
1669* Tue Jun 22 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl7
1670- added ruby-1.8.1-106-cvs-updates.patch:
1671    - [ruby-dev:23550] Socket.new(Socket::AF_INET, Socket::SOCK_STREAM, 0)
1672      dumps core.
1673    - [ruby-core:02793] ruby -e 'a[*b]+=c' dups core.
1674    - [ruby-dev:23487] core dump by delete_if on 1.8
1675    - options for Net::Telnet::login can take regexps for login prompt
1676      and/or password prompt.
1677- added ruby-1.8.1-107-cvs-updates.patch:
1678    - upgraded to stable-snapshot (2004-06-05).
1679- added debian/patches/108_cvs_updates.patch:
1680    - [ruby-dev:22631] should not dump singleton class.
1681    - limit safe level.
1682    - [ruby-dev:23713] allow changing $SAFE.
1683- added ruby-1.8.1-820_zlib_64bit_gzfile_get32.patch:
1684    - the value in gzfile_get32 can accidentally be sign extended on 64 bit
1685      systems.  Thanks to Matthew Mueller.  (see Debian Bug#255442)
1686- removed ruby-1.8.1-time.c.patch, ruby-1.8.1-find.rb.patch,
1687  ruby-1.8.1-telnet.rb.patch, ruby-1.8.1-yaml.patch,
1688  ruby-1.8.1-proc_eq.patch, ruby-1.8.1-misc-escape.patch and
1689  ruby-1.8.1-parse.y-reverse.patch.  they ware included into the above
1690  patch.
1691- updated SOURCE2.  [VineSeed:09109]
1692- removed unusable "Prefix:".
1693
1694* Fri Feb 06 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl6
1695- configure with --with-bundled-{sha1,md5,rmd160}.  it free libruby1.8 from
1696  libssl.
1697- added ruby-1.8.1-105-cvs-updates.patch:
1698  - "undef" for methods does not work. [ruby-list:39058]
1699  - blocks in "#{}" makes syntax error. [ruby-list:39061]
1700  - Net::IMAP accepts 8-bit characters in quoted strings for Novell
1701    GroupWise Internet Agent.
1702  - Socket#recvfrom makes an invalid argument error in non-blocking mode.
1703    [ruby-talk:89962]
1704  - util.c (mblen): fix overrun. (DJGPP ONLY)  [ruby-dev:22672]
1705  - delegate.rb should use Kernel::raise for Thread.  [ruby-dev:22681]
1706    [ruby-dev:22684]
1707  - delegate.rb should not delegate singleton_method_added.
1708    [ruby-dev:22685]
1709- added ruby-1.8.1-find.rb.patch:
1710  - Find.find raises SecurityError in $SAFE>=1. [ruby-dev:22641]
1711  - Find.find("xyz") will yield "xyz" even if no such file exists.
1712    [ruby-core:02319]
1713- added ruby-1.8.1-telnet.rb.patch:
1714  - net/telnet.rb accepts "Login" prompt.
1715- added ruby-1.8.1-yaml.patch:
1716  - syck library does not dump tv_usec correctly. [ruby-core:02305]
1717  - syck cannot dump a Range of strings. [ruby-core:02306]
1718- added ruby-1.8.1-ruby-mode.patch:
1719  - font-lock could not treat %"..." correctry. [ruby-dev:22705]
1720- added ruby-1.8.1-proc_eq.patch:
1721  - Proc with empty body may not be equal.  [ruby-dev:22590]
1722    [ruby-dev:22594][ruby-dev:22602]
1723- added ruby-1.8.1-misc-escape.patch:
1724  - Here-document in lib/rexml/encodings/ISO-8859-1.rb requires quotation,
1725    as in US-ASCII.rb.  [ruby-talk:88650]
1726  - avoid warnings in rdoc/parsers/parse_c.rb.
1727
1728* Thu Jan 22 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.8.1-0vl5
1729- changed the arguments when generating RI (in the %%install section)
1730  against "ppc vs powerpc" issue (thanks Akira Yamada-san for helping)
1731
1732* Wed Jan 21 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl4
1733- added ruby-1.8.1-104-cvs-updates.patch:
1734  - removed O_NONBLOCK for a socket used by DRb.
1735  - Net::IMAP accepts an NIL-envelope.
1736
1737* Tue Jan 20 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl3
1738- added ruby-1.8.1-103-cvs-updates.patch:
1739  - io.c: initializer of lineno should be "INT2FIX(0)".
1740  - disabled optimization on ia64.  (-O1/2 makes ruby unusable.)
1741- added ruby-1.8.1-ia64-stack-limit-hack.patch:
1742  - disable IA64_MAGIC_STACK_LIMIT trick when optimization is disabled.
1743    [ruby-dev:22650]
1744
1745* Mon Jan 19 2004 akira yamada <akira@vinelinux.org> 1.8.1-0vl2
1746- added ruby-1.8.1-101-cvs-updates.patch:
1747  - StringIO.new.sysread should raise EOFError.  [ruby-core:2078]
1748  - don't increment lineno when gzfile_read_all returns "".  [ruby-core:2078]
1749  - ARGF.readline should raise EOFError at EOF.  [ruby-dev:22458]
1750  - both of ARGF.read and ARGF.read(nil) should concatenate input files when
1751    length argument is nil.  [ruby-dev:22450]
1752  - ARGF.lineno should return 0 even if ARGF have not been read.
1753    [ruby-dev:22460]
1754  - ARGF.each_byte should return self.  [ruby-dev:22465]
1755  - ARGF.eof? should not have any side effect.  [ruby-dev:22469]
1756  - should not abort when module_function is called for undefined method.
1757    [ruby-dev:22498]
1758  - ARGF.read(n) makes an error when it gets EOF.  [ruby-bugs-ja:PR#585]
1759  - synchronized with date2 library version 3.5.  it includes fixes for
1760    [ruby-talk:90063].
1761- added ruby-1.8.1-102-cvs-updates.patch:
1762  - documents of methods of IO is missing.
1763- added ruby-1.8.1-sleep.patch:
1764  - sleep is broken with --enable-pthread.  [ruby-core:2133]
1765    [ruby-core:2137]
1766- added ruby-1.8.1-time.c.patch:
1767  - Time#usec should not return neither a negative number nor a number which
1768    is larger than 1000000.  [ruby-dev:22614], [ruby-dev:22617]
1769- added ruby-1.8.1-ri-pager.patch:
1770  - changed pager search order: ENV['PAGER'], pager, ...
1771- put datafiles of ri into rdoc package.
1772
1773* Sat Dec 27 2003 akira yamada <akira@vinelinux.org> 1.8.1-0vl1
1774- new upstream version.
1775- applied bugfix patch.  ruby-1.8.1-100-cvs-updates.patch:
1776  - Kernel::require searches actual file name once when no extension
1777    specified.
1778  - fixes Ruby/Tk crash bug. (but does not fix block bug.) [ruby-talk:88830]
1779  - Array#pack checks sign for "i" and "I".  [ruby-dev:22427]
1780  - IO::readlines should return lines when record-separater is nil.
1781    [ruby-core:02077][ruby-core:02078]
1782  - ARGF.read accepts "nil" for argument.  [ruby-dev:22433]
1783- updated ruby-refm-rdp-1.6.8-ja-html.tar.gz.
1784- added ruby-mode-init.el.
1785- updated ruby-mode-install.sh and ruby-mode-remove.sh.
1786
1787* Mon Dec 08 2003 akira yamada <akira@vinelinux.org> 1.8.0-0vl5
1788- updated ruby-1.8.1pr3-cvs-updates.patch.
1789
1790* Sat Dec 06 2003 akira yamada <akira@vinelinux.org> 1.8.0-0vl3
1791- updated to Ruby 1.8.1-preview3.
1792- applied patches from the CVS.
1793
1794* Thu Oct 16 2003 akira yamada <akira@vinelinux.org> 1.8.0-0vl2
1795- libruby obsoletes drb, erb, ruby-csv, ruby-optparse, ruby-rexml,
1796  ruby-strscan, rubyunit and racc-runtime.
1797
1798* Mon Oct 06 2003 akira yamada <akira@vinelinux.org> 1.8.0-0vl1
1799- new upstream version.
1800- applied patches from the CVS.
1801- new sub-package: ruby-openssl.
1802
1803* Mon Mar 31 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.6.8-0vl2
1804- rebuild with tcltk-8.4.2
1805
1806* Tue Jan 21 2003 akira yamada <akira@vinelinux.org> 1.6.8-0vl1
1807- new upstream version.
1808- applied a patch:
1809    - [ruby-dev:18702] [PATCH] .rb/.so with same feature name
1810- build with db4-devel.  (dbm.so is linked with libdb-4.0.so.)
1811
1812* Tue Mar 19 2002 akira yamada <akira@vinelinux.org> 1.6.7-0vl5
1813- applied bug fix patch:
1814    - ruby-dev#16462: preserve reference for GC, but link should be cut.
1815      (ruby-dev#16411: block local var.)
1816    - RUBY_RELEASE_DATE "2002-03-19"
1817  (ruby-1.6.7-103.patch)
1818
1819* Sun Mar 17 2002 akira yamada <akira@vinelinux.org> 1.6.7-0vl4
1820- applied bug fix patch:
1821    - ruby-dev#16274: patch for 'wm state' (tk.rb)
1822    - PR#206ja: SEGV handle EXIT
1823    - updated NEWS
1824    - RUBY_RELEASE_DATE "2002-03-14"
1825  (ruby-1.6.7-100.patch)
1826    - ruby-list#34313: singleton should not be Marshal.dump'ed
1827    - ruby-dev#16411: block local var
1828    - RUBY_RELEASE_DATE "2001-03-15"
1829  (ruby-1.6.7-101.patch)
1830    - handling multibyte chars is partially broken.
1831    - RUBY_RELEASE_DATE "2002-03-18"
1832  (ruby-1.6.7-102.patch)
1833- removed ruby-1.6.7-500-marshal-proc.patch and
1834  ruby-1.6.7-501-class-var.patch.  they are included (or rewrited) into the
1835  above patch.
1836- updated refm. (ruby-refm-rdp-1.6.7-ja-html.zip)
1837- prefixed %%lang(ja) to %%doc for Japanese documents.
1838
1839* Fri Mar 08 2002 akira yamada <akira@vinelinux.org> 1.6.7-0vl3
1840- applied patch501.
1841
1842* Fri Mar 08 2002 akira yamada <akira@vinelinux.org> 1.6.7-0vl2
1843- updated refm. (ruby-refm-rdp-1.6.7-jp-html.zip)
1844
1845* Sun Mar 03 2002 akira yamada <akira@vinelinux.org> 1.6.7-0vl1
1846- new upstream version.
1847    - uri library is included.
1848    - time.rb is new.
1849    - some bugs are fixed.
1850- added ruby-refm-rdp-1.6.6-jp-html.zip.
1851- applied bug fix patch:
1852    - ruby-dev#16178: Marshal::dump shuld call Proc#call.
1853    (ruby-1.6.7-500-marshal-proc.patch)
1854    - ruby-talk#35157: class vars broken in 1.6.7
1855    (ruby-1.6.7-501-class-var.patch)
1856- removed: ruby-1.6.6-10[12].patch, ruby-1.6.6-502-net_pop.patch.
1857
1858* Mon Feb 04 2002 akira yamada <akira@vinelinux.org> 1.6.6-0vl5
1859- applied bug fix patch:
1860    - ruby-dev#15684: reject prefix followed by spaces only.
1861    - PR#183: SEGV on remove_class_variable
1862    (ruby-1.6.6-101.patch)
1863    - PR#184: Net::APOP.auth_only is not usable
1864    (ruby-1.6.6-502-net_pop.patch)
1865- removed ruby-1.6.6-502-net_pop.patch. it is included by
1866  101_ruby-1.6.6.patch.
1867- site_ruby moved to under /usr/local/lib.
1868- added db1-devel to BuildRequires.
1869
1870* Wed Jan 09 2002 akira yamada <akira@vinelinux.org> 1.6.6-0vl4
1871- added a bug fix patch: ruby-1.6.6-501-ruby-mode.patch
1872    - ruby-talk#30479: ruby-mode.el disables font-lock coloring
1873
1874* Tue Jan 08 2002 akira yamada <akira@vinelinux.org> 1.6.6-0vl3
1875- added a bug fix patch: ruby-1.6.6-100.patch
1876    - ruby-talk#30203: Ruby 1.6.6 bug and fix
1877    - ruby-list#33047: regex bug
1878    - PR#230: problem with -d in 1.6.6
1879- removed patches: ruby-900-XXX-strtod.patch ruby-503-weakref.rb.patch.
1880  included into ruby-1.6.6-100.patch.
1881
1882* Fri Jan 04 2002 akira yamada <akira@vinelinux.org> 1.6.6-0vl2
1883- added a patch:
1884    - ruby-1.6.6-901-sparc.patch: PR#225: sparc linux needs different
1885      FLUSH_REGISTER_WINDOWS
1886- renamed to ruby-mode from ruby-mode-el.
1887
1888* Wed Dec 26 2001 akira yamada <akira@vinelinux.org> 1.6.6-0vl1
1889- new upstream version.
1890
1891* Sun Nov 18 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.6.5-0vl3
1892- rebuilt with new tcl/tk packages
1893- added patches: ruby-900-XXX-strtod.patch ruby-503-weakref.rb.patch
1894
1895* Wed Oct 10 2001 akira yamada <akira@vinelinux.org> 1.6.5-0vl2
1896- applied bug fix patch from upstrem cvs repository.
1897    - ruby-dev#14810, ruby-dev#14813 (ruby-1.6.5-100.patch)
1898- applied bug fix patch:
1899    - ruby-list#31570 for net/pop.rb (ruby-1.6.5-501-net-pop.rb.patch)
1900- %%{_mandir} hack.
1901- emacsen_pkg hack. (very dirty for %%_foo() in %%if-%%endif. but it is
1902  wrong of spec-specification... sigh.)
1903
1904* Wed Sep 19 2001 akira yamada <akira@vinelinux.org> 1.6.5-0vl1
1905- new upstream version.
1906- add XFree86-devel to BuildRequires. (tk.h requires X11/Xlib.h.)
1907
1908* Mon Sep 03 2001 akira yamada <akira@vinelinux.org> 1.6.4-0vl8
1909- removed files related on emacsen-common from libruby.
1910- updated upstream URLs.
1911
1912* Tue Aug 07 2001 akira yamada <akira@vinelinux.org>
1913- 1.6.4-0vl7
1914- added ruby-1.6.4-108.patch.
1915    - fixed: causes segv to mod_ruby.
1916    - do not recurse if method_missing is undefined.
1917    - m68k work around.
1918
1919* Fri Aug 03 2001 akira yamada <akira@vinelinux.org>
1920- 1.6.4-0vl5
1921- new sub-package ruby-mode-el. it provides ruby-mode for emacsen.
1922
1923* Wed Aug 01 2001 akira yamada <akira@vinelinux.org>
1924- 1.6.4-0vl4
1925- added ruby-1.6.4-10[67].patch.
1926- remove ruby-1.6.4-501.patch. (fixed on upstream.)
1927    - marshal verbose warning bug.
1928    - ruby-1.6-2001.07.31.
1929- packages except libruby and irb requires libruby = %%{version}-%%{release}.
1930- irb requires ruby = %%{version}-%%{release}.
1931
1932* Thu Jul 26 2001 akira yamada <akira@vinelinux.org>
1933- 1.6.4-0vl3
1934- added ruby-1.6.4-10[345].patch and ruby-1.6.4-501.patch.
1935    - tilde expansion problem and PR#158.
1936- some documents moved to libruby.rpm from ruby.rpm.
1937- stopped using %%configure macros, because it breaks
1938  Config::CONFIG["libdir"] variable: %%configure sets
1939  it to "/usr/lib" but it should be
1940  "$(exec_prefix)/lib" for some packages which uses
1941  ruby.
1942
1943* Tue Jul 17 2001 akira yamada <akira@vinelinux.org>
1944- 1.6.4-0vl2
1945- added ruby-1.6.4-10[12].patch.
1946    - fixed a bug around order of "$:".
1947    - updated config.{guess,sub}.
1948    - eval.c bug.
1949    - marshal version 4.6.
1950
1951* Mon Jun 04 2001 akira yamada <akira@vinelinux.org>
1952- 1.6.4-0vl1
1953- upgrade to nwe upstream version 1.6.4.
1954
1955* Mon Apr 02 2001 akira yamada <akira@vinelinux.org>
1956- applied patch:
1957  - fixed method cache bug. etc. (Patch103, Patch104)
1958
1959* Tue Mar 27 2001 akira yamada <akira@vinelinux.org>
1960- applied patch:
1961  - fixed marshal for bignum bug.
1962  - fixed scope of constant variables bug.
1963
1964* Tue Mar 20 2001 akira yamada <akira@vinelinux.org>
1965- upgraded to new upstream version 1.6.3.
1966
1967* Fri Feb 09 2001 akira yamada <akira@vinelinux.org>
1968- fixed bad group for libruby.
1969- Applied patch: upgraded to cvs version (2001-02-08):
1970  fixed minor bugs.
1971
1972* Thu Jan 18 2001 akira yamada <akira@vinelinux.org>
1973- Applied patch: upgraded to cvs version (2001-01-15):
1974  fixed minor bugs(e.g. ruby makes extention librares too large...).
1975
1976* Wed Jan 10 2001 akira yamada <akira@vinelinux.org>
1977- Applied patch: upgraded to cvs version (2001-01-09):
1978  fixed minor bugs.
1979
1980* Sat Dec 30 2000 akira yamada <akira@vinelinux.org>
1981- Applied bug fix patch.
1982
1983* Mon Dec 25 2000 akira yamada <akira@vinelinux.org>
1984- Updated to new upstream version 1.6.2.
1985
1986* Fri Dec 22 2000 akira yamada <akira@vinelinux.org>
1987- Removed ruby_cvs.2000122019.patch, added ruby_cvs.2000122215.patch
1988  (upgraded ruby to latest cvs version, 1.6.2-preview4).
1989
1990* Wed Dec 20 2000 akira yamada <akira@vinelinux.org>
1991- Removed ruby_cvs.2000121413.patch, added ruby_cvs.2000122019.patch
1992  (upgraded ruby to latest cvs version).
1993- new package: libruby
1994
1995* Thu Dec 14 2000 akira yamada <akira@vinelinux.org>
1996- Removed ruby_cvs.2000101901.patch, added ruby_cvs.2000121413.patch
1997  (upgraded ruby to latest cvs version).
1998- Removed ruby-dev.11262.patch, ruby-dev.11265.patch,
1999  and ruby-dev.11268.patch (included into above patch).
2000
2001* Sun Nov 12 2000 MACHINO, Satoshi <machino@vinelinux.org> 1.6.1-0vl9
2002- build on gcc-2.95.3
2003
2004* Thu Oct 19 2000 akira yamada <akira@vinelinux.org>
2005- Added ruby-dev.11268.patch.
2006
2007* Thu Oct 19 2000 akira yamada <akira@vinelinux.org>
2008- Removed ruby_cvs.2000101117.patch and added ruby_cvs.2000101901.patch
2009  (upgraded ruby to latest cvs version).
2010- Added ruby-dev.11262.patch.
2011- Added ruby-dev.11265.patch.
2012 
2013* Wed Oct 11 2000 akira yamada <akira@vinelinux.org>
2014- Removed ruby_cvs.2000100313.patch and added ruby_cvs.2000101117.patch
2015  (upgraded ruby to latest cvs version).
2016
2017* Mon Oct 09 2000 akira yamada <akira@vinelinux.org>
2018- Removed ruby_cvs.2000100313.patch and added ruby_cvs.2000100313.patch
2019  (upgraded ruby to latest cvs version).
2020
2021* Tue Oct 03 2000 akira yamada <akira@vinelinux.org>
2022- Removed ruby_cvs.2000100218.patch and added ruby_cvs.2000100313.patch
2023  (upgraded ruby to latest cvs version).
2024
2025* Mon Oct 02 2000 akira yamada <akira@vinelinux.org>
2026- Removed ruby_cvs.2000092718.patch and added ruby_cvs.2000100218.patch
2027  (upgraded ruby to latest cvs version).
2028
2029* Wed Sep 27 2000 akira yamada <akira@vinelinux.org>
2030- Updated to upstream version 1.6.1.
2031- Removed ruby_cvs.2000082901.patch and added ruby_cvs.2000092718.patch
2032  (upgraded ruby to latest cvs version).
2033
2034* Tue Aug 29 2000 akira yamada <akira@redhat.com>
2035- Updated to version 1.4.6.
2036- removed ruby-dev.10123.patch(included into ruby-1.4.6).
2037- Added ruby_cvs.2000082901.patch(upgraded ruby to latest cvs version).
2038
2039* Tue Jun 27 2000 akira yamada <akira@redhat.com>
2040- Updated manuals to version 1.4.5.
2041
2042* Sun Jun 25 2000 akira yamada <akira@redhat.com>
2043- Added ruby-dev.10123.patch.
2044
2045* Sat Jun 24 2000 akira yamada <akira@redhat.com>
2046- Updated to version 1.4.5.
2047- Removed ruby_cvs.2000062401.patch(included into ruby-1.4.5).
2048
2049* Thu Jun 22 2000 akira yamada <akira@redhat.com>
2050- Updated to version 1.4.4(06/22/2000 CVS).
2051- Removed ruby-dev.10054.patch(included into ruby_cvs.patch).
2052
2053* Thu Jun 22 2000 akira yamada <akira@redhat.com>
2054- Renamed to ruby_cvs20000620.patch from ruby_cvs.patch.
2055
2056* Tue Jun 20 2000 akira yamada <akira@redhat.com>
2057- Updated to version 1.4.4(06/20/2000 CVS).
2058- Removed ruby-list.23190.patch(included into ruby_cvs.patch).
2059- Added ruby-dev.10054.patch.
2060
2061* Thu Jun 15 2000 akira yamada <akira@redhat.com>
2062- Updated to version 1.4.4(06/12/2000 CVS).
2063- Added manuals and FAQs.
2064- Split into ruby, ruby-devel, ruby-tcltk, ruby-docs, irb.
2065
2066* Tue Jun 13 2000 Mitsuo Hamada <mhamada@redhat.com>
2067- Updated to version 1.4.4
2068
2069* Wed Dec 08 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2070- Updated to version 1.4.3
2071
2072* Mon Sep 20 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2073- Updated to version 1.4.2 (Sep 18)
2074
2075* Fri Sep 17 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2076- Updated to version 1.4.2
2077
2078* Tue Aug 17 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2079- Updated to version 1.4.0
2080
2081* Fri Jul 23 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2082- 2nd release
2083- Updated to version 1.2.6(15 Jul 1999)
2084- striped %{prefix}/bin/ruby
2085
2086* Mon Jun 28 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2087- Updated to version 1.2.6(21 Jun 1999)
2088
2089* Wed Apr 14 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2090- Updated to version 1.2.5
2091
2092* Fri Apr 09 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
2093- Updated to version 1.2.4
2094
2095* Fri Dec 25 1998 Toru Hoshina <hoshina@best.com>
2096- Version up to 1.2 stable.
2097
2098* Fri Nov 27 1998 Toru Hoshina <hoshina@best.com>
2099- Version up to 1.1c9.
2100
2101* Thu Nov 19 1998 Toru Hoshina <hoshina@best.com>
2102- Version up to 1.1c8, however it appear short life :-P
2103
2104* Fri Nov 13 1998 Toru Hoshina <hoshina@best.com>
2105- Version up.
2106
2107* Tue Sep 22 1998 Toru Hoshina <hoshina@best.com>
2108- To make a libruby.so.
2109
2110* Mon Sep 21 1998 Toru Hoshina <hoshina@best.com>
2111- Modified SPEC in order to install libruby.a so that it should be used by
2112  another ruby entention.
2113- 2nd release.
2114
2115* Mon Mar 9 1998 Shoichi OZAWA <shoch@jsdi.or.jp>
2116- Added a powerPC arch part. Thanks, MURATA Nobuhiro <nob@makioka.y-min.or.jp>
Note: See TracBrowser for help on using the repository browser.