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

Revision 8794, 83.0 KB checked in by daisuke, 10 years ago (diff)

ruby:

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