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

Revision 9101, 83.1 KB checked in by daisuke, 9 years ago (diff)

ruby: update to 2.1.5

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