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

Revision 12099, 85.1 KB checked in by tomop, 5 years ago (diff)

ruby-2.4.6-15

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