Re: rpm spec files for ruby

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, September 7, 2007 10:50, James B. Byrne wrote:
> If anything useful comes of this I will report back here.
>

I have run through the build process for ruby-1.8.6 and I am down to this
when I run rpmbuild -bi ruby-1.8.6-jbb.spec

Is any of this serious?

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.21904 (%doc)
    File listed twice: /usr/lib/ruby
    File listed twice: /usr/lib/ruby/1.8
    File listed twice: /usr/lib/ruby/site_ruby
    File listed twice: /usr/lib/ruby/site_ruby/1.8
    File listed twice: /usr/lib/ruby/site_ruby/1.8/i386-linux
    File listed twice: /usr/lib/ruby/1.8/tk/button.rb
    File listed twice: /usr/lib/ruby/1.8/tk/button.rb
    File listed twice: /usr/lib/ruby/1.8/tk/checkbutton.rb
    File listed twice: /usr/lib/ruby/1.8/tk/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tk/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tk/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tk/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tk/entry.rb
    File listed twice: /usr/lib/ruby/1.8/tk/frame.rb
    File listed twice: /usr/lib/ruby/1.8/tk/label.rb
    File listed twice: /usr/lib/ruby/1.8/tk/label.rb
    File listed twice: /usr/lib/ruby/1.8/tk/labelframe.rb
    File listed twice: /usr/lib/ruby/1.8/tk/listbox.rb
    File listed twice: /usr/lib/ruby/1.8/tk/menubar.rb
    File listed twice: /usr/lib/ruby/1.8/tk/panedwindow.rb
    File listed twice: /usr/lib/ruby/1.8/tk/panedwindow.rb
    File listed twice: /usr/lib/ruby/1.8/tk/radiobutton.rb
    File listed twice: /usr/lib/ruby/1.8/tk/scrollbar.rb
    File listed twice: /usr/lib/ruby/1.8/tk/spinbox.rb
    File listed twice: /usr/lib/ruby/1.8/tk/spinbox.rb
    File listed twice: /usr/lib/ruby/1.8/tk/toplevel.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/ICONS/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/bitmap.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/tabnotebook.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/tabset.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/tile.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/tile/button.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/tile/button.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/tile/checkbutton.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/tile/frame.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/tile/label.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/tile/label.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/tile/radiobutton.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/tile/scrollbar.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/tile/toplevel.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/tree.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/treeview.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/blt/watch.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/bitmap.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/button.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/button.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/buttonbox.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/combobox.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/entry.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/label.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/label.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/labelframe.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/listbox.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/notebook.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/panedwindow.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/panedwindow.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/panelframe.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/spinbox.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/spinbox.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/tree.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/bwidget/widget.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itcl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/itk/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/buttonbox.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/combobox.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/datefield.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/menubar.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/notebook.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/panedwindow.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/panedwindow.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/tabnotebook.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/tabset.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/iwidgets/watch.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/datefield.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/ico.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/panelframe.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/style.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tcllib/widget.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tclx/tclx.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/dialog.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/style.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tile/treeview.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkDND/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkHTML/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/ico.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tkimg/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktable/tktable.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/tktrans/tktrans.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/treectrl/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/trofs/trofs.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/spinbox.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/vu/spinbox.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/setup.rb
    File listed twice: /usr/lib/ruby/1.8/tkextlib/winico/winico.rb

My spec file contents are:

( all I did with the spec file from ruby-1.8.5 for el4 is remove the
patches and add --prefix=/usr to configure in %build )

%define manver		1.4.6
%define	rubyxver	1.8
%define	sitedir		%{_libdir}/ruby/site_ruby
%define	sitedir2	%{_prefix}/lib/ruby/site_ruby

Name:		ruby
Version:	1.8.6
Release:	1%{?dist}
License:	Ruby License/GPL - see COPYING
URL:		http://www.ruby-lang.org/
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:	readline readline-devel ncurses ncurses-devel gdbm
gdbm-devel glibc-devel tcl-devel tk-devel xorg-x11-devel xorg-x11-libs
autoconf gcc unzip openssl-devel db4-devel byacc
%ifnarch ppc64
BuildRequires:	emacs
%endif

Source0:	ftp://ftp.ruby-lang.org/pub/%{name}/%{name}-%{version}.tar.gz
##Source1:	ftp://ftp.ruby-lang.org/pub/%{name}/doc/%{name}-man-%{manver}.tar.gz
Source1:	%{name}-man-%{manver}.tar.bz2
Source2:	http://www7.tok2.com/home/misc/files/%{name}/%{name}-refm-rdp-1.8.1-ja-html.tar.gz
##Source3:	ftp://ftp.ruby-lang.org/pub/%{name}/doc/rubyfaq-990927.tar.gz
Source3:	rubyfaq-990927.tar.bz2
##Source4:	ftp://ftp.ruby-lang.org/pub/%{name}/doc/rubyfaq-jp-990927.tar.gz
Source4:	rubyfaq-jp-990927.tar.bz2
Source5:	irb.1
Source10:	ruby-mode-init.el

##Patch1:		ruby-1.8.2-deadcode.patch
##Patch2:		ruby-1.8.5-hash-memory-leak.patch
##Patch3:		ruby-1.8.5-cgi-CVE-2006-5467.patch
##Patch20:	ruby-rubyprefix.patch
##Patch21:	ruby-deprecated-sitelib-search-path.patch
##Patch22:	ruby-deprecated-search-path.patch
##Patch23:	ruby-multilib.patch
##Patch24:	ruby-tcltk-multilib.patch
##Patch25:	ruby-fix-autoconf-magic-code.patch

Summary:	An interpreter of object-oriented scripting language
Group:		Development/Languages
Requires:	%{name}-libs = %{version}-%{release}

%description
Ruby is an interpretive, dynamically typed, completely object based
programming language idealy suited for quick and (relatively) painless
development.  It has many features to process text files and to do
system management tasks (as in Perl).  Ruby syntax is based on the
principle of least surprise, is simple, straight-forward, and easily
extensible using its own "gem" package manager.

Ruby was gifted to the world by Yukihiro (matz) Matsumoto in 1995.


%package libs
Summary:	Libraries necessary to run Ruby.
Group:		Development/Libraries
Provides:	ruby(abi) = %{rubyxver}
Provides:	libruby
Obsoletes:	libruby

%description libs
This package includes the libruby, necessary to run Ruby.


%package devel
Summary:	A Ruby development environment.
Group:		Development/Languages
Requires:	%{name}-libs = %{version}-%{release}

%description devel
Header files and libraries for building a extension library for the
Ruby or an application embedded Ruby.


%package tcltk
Summary:	Tcl/Tk interface for scripting language Ruby.
Group:		Development/Languages
Requires:	%{name}-libs = %{version}-%{release}

%description tcltk
Tcl/Tk interface for the object-oriented scripting language Ruby.


%package irb
Summary:	The Interactive Ruby.
Group:		Development/Languages
Requires:	%{name} = %{version}-%{release}
Provides:	irb
Obsoletes:	irb

%description irb
The irb is acronym for Interactive Ruby.  It evaluates ruby expression
from the terminal.


%package rdoc
Summary:	A tool to generate documentation from Ruby source files
Group:		Development/Languages
Requires:	%{name} = %{version}-%{release}
Requires:	%{name}-irb = %{version}-%{release}
Provides:	rdoc
Obsoletes:	rdoc

%description rdoc
The rdoc is a tool to generate the documentation from Ruby source files.
It supports some output formats, like HTML, Ruby interactive reference (ri),
XML and Windows Help file (chm).


%package docs
Summary:	Manuals and FAQs for scripting language Ruby.
Group:		Documentation

%description docs
Manuals and FAQs for the object-oriented scripting language Ruby.


%ifnarch ppc64
%package mode
Summary:	Emacs Lisp ruby-mode for the scripting language Ruby
Group:		Applications/Editors
Requires:	emacs-common

%description mode
Emacs Lisp ruby-mode for the object-oriented scripting language Ruby.
%endif


%package ri
Summary:	Ruby interactive reference
Group:		Documentation
Requires:	%{name} = %{version}-%{release}
Requires:	%{name}-rdoc = %{version}-%{release}
Provides:	ri
Obsoletes:	ri

%description ri
ri is a command line tool that displays descriptions of built-in
Ruby methods, classes and modules. For methods, it shows you the calling
sequence and a description. For classes and modules, it shows a synopsis
along with a list of the methods the class or module implements.


%prep
%setup -q -c -a 1 -a 3 -a 4
mkdir -p ruby-refm-ja
pushd ruby-refm-ja
tar fxz %{SOURCE2}
popd
pushd %{name}-%{version}
##%patch1 -p1
##%patch2 -p1
##%patch3 -p1
##%patch20 -p1
##%patch21 -p1
%ifarch ppc64 s390x sparc64 x86_64
##%patch22 -p1
##%patch23 -p1
##%patch24 -p1
%endif
#%%patch25 -p1
popd

%build
pushd %{name}-%{version}
for i in config.sub config.guess; do
	test -f %{_datadir}/libtool/$i && cp %{_datadir}/libtool/$i .
done
autoconf

rb_cv_func_strtod=no
export rb_cv_func_strtod
CFLAGS="$RPM_OPT_FLAGS -Wall"
export CFLAGS
%configure \
  --prefix=/usr \
  --with-sitedir='%{sitedir}' \
  --with-default-kcode=none \
  --with-bundled-sha1 \
  --with-bundled-md5 \
  --with-bundled-rmd160 \
  --enable-shared \
  --enable-ipv6 \
%ifarch ppc
  --disable-pthread \
%else
  --enable-pthread \
%endif
  --with-lookup-order-hack=INET \
  --disable-rpath \
  --with-ruby-prefix=%{_prefix}/lib

%ifarch ppc
cp Makefile Makefile.orig
sed -e 's/^EXTMK_ARGS[[:space:]].*=\(.*\) --$/EXTMK_ARGS=\1
--disable-tcl-thread --/' Makefile.orig > Makefile
%endif
make RUBY_INSTALL_NAME=ruby %{?_smp_mflags}
%ifarch ia64
# Miscompilation? Buggy code?
rm -f parse.o
make OPT=-O0 RUBY_INSTALL_NAME=ruby %{?_smp_mflags}
%endif
%ifnarch ppc64
make test
%endif

popd

%install
rm -rf $RPM_BUILD_ROOT

%ifnarch ppc64
%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/ruby-mode
%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
#%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/xemacs/xemacs-packages/lisp/ruby-mode
#%{__mkdir_p}
$RPM_BUILD_ROOT%{_libdir}/xemacs/xemacs-packages/lisp/site-start.d
%endif

# installing documents and exapmles...
mkdir tmp-ruby-docs
cd tmp-ruby-docs

# for ruby.rpm
mkdir ruby ruby-libs ruby-devel ruby-tcltk ruby-docs irb
cd ruby
(cd ../../%{name}-%{version} && tar cf - sample) | tar xvf -
cd ..

# for ruby-libs
cd ruby-libs
(cd ../../%{name}-%{version} && tar cf - lib/README*) | tar xvf -
(cd ../../%{name}-%{version}/doc && tar cf - .) | tar xvf -
(cd ../../%{name}-%{version} &&
 tar cf - `find ext \
  -mindepth 1 \
  \( -path '*/sample/*' -o -path '*/demo/*' \) -o \
  \( -name '*.rb' -not -path '*/lib/*' -not -name extconf.rb \) -o \
  \( -name 'README*' -o -name '*.txt*' -o -name 'MANUAL*' \)`) | tar xvf -
cd ..

# for irb
cd irb
mv ../ruby-libs/irb/* .
rmdir ../ruby-libs/irb
cd ..

# for ruby-devel
cd ruby-devel

cd ..

# for ruby-tcltk
cd ruby-tcltk
for target in tcltklib tk
do
 (cd ../ruby-libs &&
  tar cf - `find . -path "*/$target/*"`) | tar xvf -
 (cd ../ruby-libs &&
  rm -rf `find . -name "$target" -type d`)
done
cd ..

# for ruby-docs
cd ruby-docs
mkdir doc-en refm-ja faq-en faq-ja
(cd ../../ruby-man-`echo %{manver} | sed -e 's/\.[0-9]*$//'` && tar cf -
.) | (cd doc-en && tar xvf -)
(cd ../../ruby-refm-ja && tar cf - .) | (cd refm-ja && tar xvf -)
(cd ../../rubyfaq && tar cf - .) | (cd faq-en && tar xvf -)
(cd ../../rubyfaq-jp && tar cf - .) | (cd faq-ja && tar xvf -)

(cd faq-ja &&
 for f in rubyfaq-jp*.html
 do
  sed -e 's/\(<a href="rubyfaq\)-jp\(\|-[0-9]*\)\(.html\)/\1\2\3/g' \
   < $f > `echo $f | sed -e's/-jp//'`
  rm -f $f; \
 done)
# make sure that all doc files are the world-readable
find -type f | xargs chmod 0644

cd ..

# fixing `#!' paths
for f in `find . -type f`
do
  sed -e 's,^#![ 	]*\([^ 	]*\)/\(ruby\|with\|perl\|env\),#!/usr/bin/\2,' <
$f > $f.n
  if ! cmp $f $f.n
  then
    mv -f $f.n $f
  else
    rm -f $f.n
  fi
done

# done
cd ..

# installing binaries ...
make -C $RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{version}
DESTDIR=$RPM_BUILD_ROOT install

_cpu=`echo %{_target_cpu} | sed 's/^ppc/powerpc/'`

# generate ri doc
rubybuilddir=$RPM_BUILD_DIR/%{name}-%{version}/%{name}-%{version}
LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
RUBYLIB=$RPM_BUILD_ROOT%{_libdir}/ruby/%{rubyxver}:$RPM_BUILD_ROOT%{_libdir}/ruby/%{rubyxver}/$_cpu-%{_target_os}
make -C $rubybuilddir DESTDIR=$RPM_BUILD_ROOT install-doc
#DESTDIR=$RPM_BUILD_ROOT LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
$RPM_BUILD_ROOT%{_bindir}/ruby -I $rubybuilddir -I
$RPM_BUILD_ROOT%{_libdir}/ruby/%{rubyxver}/$_cpu-%{_target_os}/ -I
$rubybuilddir/lib $RPM_BUILD_ROOT%{_bindir}/rdoc --all --ri-system
$rubybuilddir

%{__mkdir_p} $RPM_BUILD_ROOT%{sitedir2}/%{rubyxver}
%{__mkdir_p} $RPM_BUILD_ROOT%{sitedir}/%{rubyxver}/$_cpu-%{_target_os}

%ifarch ppc64 s390x sparc64 x86_64
# correct archdir
mv $RPM_BUILD_ROOT%{_prefix}/lib/ruby/%{rubyxver}/$_cpu-%{_target_os}/*
$RPM_BUILD_ROOT%{_libdir}/ruby/%{rubyxver}/$_cpu-%{_target_os}/
rmdir $RPM_BUILD_ROOT%{_prefix}/lib/ruby/%{rubyxver}/$_cpu-%{_target_os}
%endif

# XXX: installing irb
install %{SOURCE5} $RPM_BUILD_ROOT%{_mandir}/man1/

%ifnarch ppc64
# installing ruby-mode
cd %{name}-%{version}
cp misc/*.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/ruby-mode

## for ruby-mode
pushd $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/ruby-mode
cat <<EOF > path.el
(setq load-path (cons "." load-path) byte-compile-warnings nil)
EOF
emacs --no-site-file -q -batch -l path.el -f batch-byte-compile *.el
rm -f path.el*
popd
install -m 644 %{SOURCE10} \
	$RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d

cd ..
%endif

# listing all files in ruby-all.files
(find $RPM_BUILD_ROOT -type f -o -type l) |
 sort | uniq | sed -e "s,^$RPM_BUILD_ROOT,," \
                   -e "s,\(/man/man./.*\)$,\1*," > ruby-all.files
egrep '(\.[ah]|libruby\.so)$' ruby-all.files > ruby-devel.files

# for ruby-tcltk.rpm
cp /dev/null ruby-tcltk.files
for f in `find %{name}-%{version}/ext/tk/lib -type f; find
%{name}-%{version}/.ext -type f -name '*.so'; find
%{name}-%{version}/ext/tk -type f -name '*.so'`
do
  egrep "tcl|tk" ruby-all.files | grep "/`basename $f`$" >>
ruby-tcltk.files || :
done

# for irb.rpm
fgrep 'irb' ruby-all.files > irb.files

# for ri
cp /dev/null ri.files
fgrep '%{_datadir}/ri' ruby-all.files >> ri.files
fgrep '%{_bindir}/ri' ruby-all.files >> ri.files

# for rdoc
cp /dev/null rdoc.files
fgrep rdoc ruby-all.files >> rdoc.files

# for ruby-libs
cp /dev/null ruby-libs.files
(fgrep    '%{_prefix}/lib' ruby-all.files;
 fgrep -h '%{_prefix}/lib' ruby-devel.files ruby-tcltk.files irb.files
ri.files rdoc.files) | egrep -v "elc?$" | \
 sort | uniq -u > ruby-libs.files

%ifnarch ppc64
# for ruby-mode
cp /dev/null ruby-mode.files
fgrep '.el' ruby-all.files >> ruby-mode.files
%else
touch ruby-mode.files
%endif

# for ruby.rpm
sort ruby-all.files \
 ruby-libs.files ruby-devel.files ruby-tcltk.files irb.files
ruby-mode.files ri.files rdoc.files |
 uniq -u > ruby.files

# for arch-dependent dir
rbconfig=`find $RPM_BUILD_ROOT -name rbconfig.rb`
export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
arch=`$RPM_BUILD_ROOT%{_bindir}/ruby -r $rbconfig -e 'printf ("%s\n",
Config::CONFIG["arch"])'`
cat <<__EOF__ >> ruby-libs.files
%%dir %%{_libdir}/ruby/%%{rubyxver}/$arch
%%dir %%{_libdir}/ruby/%%{rubyxver}/$arch/digest
__EOF__

%clean
rm -rf $RPM_BUILD_ROOT
rm -f *.files
rm -rf tmp-ruby-docs

%post libs
/sbin/ldconfig

%postun libs
/sbin/ldconfig

%files -f ruby.files
%defattr(-, root, root)
%doc %{name}-%{version}/README
%lang(ja) %doc %{name}-%{version}/README.ja
%doc %{name}-%{version}/COPYING*
%doc %{name}-%{version}/ChangeLog
%doc %{name}-%{version}/LEGAL
%doc %{name}-%{version}/ToDo
%doc %{name}-%{version}/doc/NEWS
%doc tmp-ruby-docs/ruby/*

%files devel -f ruby-devel.files
%defattr(-, root, root)
%doc %{name}-%{version}/README.EXT
%lang(ja) %doc %{name}-%{version}/README.EXT.ja

%files libs -f ruby-libs.files
%defattr(-, root, root)
%doc %{name}-%{version}/README
%lang(ja) %doc %{name}-%{version}/README.ja
%doc %{name}-%{version}/COPYING*
%doc %{name}-%{version}/ChangeLog
%doc %{name}-%{version}/LEGAL
%dir %{_libdir}/ruby
%dir %{_prefix}/lib/ruby
%dir %{_libdir}/ruby/%{rubyxver}
%dir %{_prefix}/lib/ruby/%{rubyxver}
%dir %{_prefix}/lib/ruby/%{rubyxver}/cgi
%dir %{_prefix}/lib/ruby/%{rubyxver}/net
%dir %{_prefix}/lib/ruby/%{rubyxver}/shell
%dir %{_prefix}/lib/ruby/%{rubyxver}/uri
%{sitedir}
%{sitedir2}

%files tcltk -f ruby-tcltk.files
%defattr(-, root, root)
%doc tmp-ruby-docs/ruby-tcltk/ext/*

%files rdoc -f rdoc.files
%defattr(-, root, root)
%dir %{_libdir}/ruby
%dir %{_libdir}/ruby/%{rubyxver}

%files irb -f irb.files
%defattr(-, root, root)
%doc tmp-ruby-docs/irb/*
%dir %{_prefix}/lib/ruby/%{rubyxver}/irb
%dir %{_prefix}/lib/ruby/%{rubyxver}/irb/lc
%dir %{_prefix}/lib/ruby/%{rubyxver}/irb/lc/ja

%files ri -f ri.files
%defattr(-, root, root)
%dir %{_datadir}/ri

%files docs
%defattr(-, root, root)
%doc tmp-ruby-docs/ruby-docs/*
%doc tmp-ruby-docs/ruby-libs/*

%ifnarch ppc64
%files mode -f ruby-mode.files
%defattr(-, root, root)
%doc %{name}-%{version}/misc/README
%dir %{_datadir}/emacs/site-lisp/ruby-mode
%endif

%changelog
* Mon Sep 10 2007 James B. Byrne <byrnejb@xxxxxxxxxxxxx>
- rebuild using ruby-1.8.6 sources
- configure --prefix=/usr

* Wed Nov 22 2006 Jim Perrin <jperrin@xxxxxxxxxx>
- Swapped out libX11-devel build dep for xorg build dep

* Fri Oct 27 2006 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.5-1
- security fix release.
- ruby-1.8.5-cgi-CVE-2006-5467.patch: fix a CGI multipart parsing bug that
  causes the denial of service. (#212396)
- backport fixes from devel.
  - fixed rbconfig.rb to refer to DESTDIR for sitearchdir. (#207311)
  - updates to 1.8.5
    - removed the unnecessary patches:
      ruby-1.8.4-no-eaccess.patch, ruby-1.8.4-64bit-pack.patch,
      ruby-1.8.4-fix-insecure-dir-operation.patch,
      ruby-1.8.4-fix-insecure-regexp-modification.patch,
      ruby-1.8.4-fix-alias-safe-level.patch.
    - build with --enable-pthread except on ppc.
  - ruby-1.8.5-hash-memory-leak.patch: backported from CVS to fix a memory
leak
    on Hash. [ruby-talk:211233]
  - owns sitearchdir. (#201208)

* Thu Jul 20 2006 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.4-8
- security fixes [CVE-2006-3694]
  - ruby-1.8.4-fix-insecure-dir-operation.patch:
  - ruby-1.8.4-fix-insecure-regexp-modification.patch: fixed the insecure
    operations in the certain safe-level restrictions. (#199538)
  - ruby-1.8.4-fix-alias-safe-level.patch: fixed to not bypass the certain
    safe-level restrictions. (#199543)

* Mon Jun 19 2006 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.4-7.fc5
- fixed the wrong file list again. moved tcltk library into ruby-tcltk.
  (#195872)

* Thu Jun  8 2006 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.4-5.fc5
- ruby-deprecated-search-path.patch: applied to add more search path
  for backward compatibility.
- added byacc to BuildReq.
- exclude ppc64 to make ruby-mode package. right now emacs.ppc64 isn't
provided
  and buildsys became much stricter.

* Wed May 17 2006 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.4-4.fc5
- correct sitelibdir. (#184198)
- ruby-rubyprefix.patch: moved all arch-independent modules under
/usr/lib/ruby
  and keep arch-dependent modules under /usr/lib64/ruby for 64bit archs.
  so 'rubylibdir', 'sitelibdir' and 'sitedir' in Config::CONFIG points to
  the kind of /usr/lib/ruby now. (#184199)
- ruby-deprecated-search-path.patch: added the deprecated installation paths
  to the search path for the backward compatibility.
- added a Provides: ruby(abi) to ruby-libs.
- ruby-1.8.4-64bit-pack.patch: backport patch from upstream to fix
unpack("l")
  not working on 64bit arch and integer overflow on template "w". (#189350)
- updated License tag to be more comfortable, and with a pointer to get more
  details, like Python package does. (#179933)
- clean up.

* Fri Feb 10 2006 Jesse Keating <jkeating@xxxxxxxxxx> - 1.8.4-3.2
- bump again for double-long bug on ppc(64)

* Tue Feb 07 2006 Jesse Keating <jkeating@xxxxxxxxxx> - 1.8.4-3.1
- rebuilt for new gcc4.1 snapshot and glibc changes

* Mon Feb  6 2006 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.4-3
- ruby-1.8.4-no-eaccess.patch: backported from ruby CVS to avoid conflict
  between newer glibc. (#179835)

* Wed Jan  4 2006 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.4-2
- ruby-tcltk-multilib.patch: fixed a typo.

* Tue Dec 27 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.4-1
- New upstream release.
  - fixed a missing return statement. (#140833)
  - fixed an use of uninitialized variable. (#144890)

* Fri Dec 16 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.4-0.4.preview2
- updates to 1.8.4-preview2.
- renamed the packages to ruby-* (#175765)
  - irb  -> ruby-irb
  - rdoc -> ruby-rdoc
  - ri   -> ruby-ri
- added tcl-devel and tk-devel into BuildRequires.

* Fri Dec 09 2005 Jesse Keating <jkeating@xxxxxxxxxx>
- rebuilt

* Thu Nov 10 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.4-0.3.preview1
- rebuilt against the latest openssl.

* Tue Nov  1 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.4-0.2.preview1
- build-deps libX11-devel instead of xorg-x11-devel.

* Mon Oct 31 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.4-0.1.preview1
- New upstream release.
- ruby-1.8.2-strscan-memset.patch: removed because it's no longer needed.

* Tue Oct  4 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.3-4
- moved the documents from ruby-libs to ruby-docs, which contains the arch
  specific thing and to be multilib support. (#168826)

* Mon Oct  3 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.3-3
- fixed the wrong file list. the external library for tcl/tk was included
  in ruby-libs unexpectedly.

* Mon Sep 26 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.3-2
- ruby-multilib.patch: added another chunk for multilib. (#169127)

* Wed Sep 21 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.3-1
- New upstream release.
- Build-Requires xorg-x11-devel instead of XFree86-devel.
- ruby-multilib.patch: applied for only 64-bit archs.
- ruby-1.8.2-xmlrpc-CAN-2005-1992.patch: removed. it has already been in
upstream.

* Tue Jun 21 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.2-9
- ruby-1.8.2-xmlrpc-CAN-2005-1992.patch: fixed the arbitrary command
execution
  on XMLRPC server. (#161096)

* Thu Jun 16 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.2-8
- ruby-1.8.2-tcltk-multilib.patch: applied to get tcltklib.so built.
(#160194)

* Thu Apr  7 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.2-7
- ruby-1.8.2-deadcode.patch: removed the dead code from the source. (#146108)
- make sure that all documentation files in ruby-docs are the world-
  readable. (#147279)

* Tue Mar 22 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.2-6
- ruby-1.8.2-strscan-memset.patch: fixed an wrong usage of memset(3).

* Tue Mar 15 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.2-5
- rebuilt

* Tue Jan 25 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.2-4
- fixed the wrong generation of file manifest. (#146055)
- spec file clean up.

* Mon Jan 24 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.2-3
- separated out to rdoc package.
- make the dependency of irb for rdoc. (#144708)

* Wed Jan 12 2005 Tim Waugh <twaugh@xxxxxxxxxx> - 1.8.2-2
- Rebuilt for new readline.

* Wed Jan  5 2005 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.2-1
- New upstream release.
- ruby-1.8.1-ia64-stack-limit.patch: removed - it's no longer needed.
- ruby-1.8.1-cgi_session_perms.patch: likewise.
- ruby-1.8.1-cgi-dos.patch: likewise.
- generated Ruby interactive documentation - senarated package.
  it's now provided as ri package. (#141806)

* Thu Nov 11 2004 Jeff Johnson <jbj@xxxxxxx> 1.8.1-10
- rebuild against db-4.3.21.

* Wed Nov 10 2004 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.1-9
- ruby-1.8.1-cgi-dos.patch: security fix [CAN-2004-0983]
- ruby-1.8.1-cgi_session_perms.patch: security fix [CAN-2004-0755]

* Fri Oct 29 2004 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.1-8
- added openssl-devel and db4-devel into BuildRequires (#137479)

* Wed Oct  6 2004 Akira TAGOH <tagoh@xxxxxxxxxx> - 1.8.1-7
- require emacs-common instead of emacs.

* Wed Jun 23 2004 Akira TAGOH <tagoh@xxxxxxxxxx> 1.8.1-4
- updated the documentation.

* Tue Jun 15 2004 Elliot Lee <sopwith@xxxxxxxxxx>
- rebuilt

* Tue Mar 02 2004 Elliot Lee <sopwith@xxxxxxxxxx>
- rebuilt

* Fri Feb 13 2004 Elliot Lee <sopwith@xxxxxxxxxx>
- rebuilt

* Wed Feb 04 2004 Akira TAGOH <tagoh@xxxxxxxxxx> 1.8.1-1
- New upstream release.
- don't use any optimization for ia64 to avoid the build failure.
- ruby-1.8.1-ia64-stack-limit.patch: applied to fix SystemStackError when
the optimization is disabled.

* Sat Dec 13 2003 Jeff Johnson <jbj@xxxxxxx> 1.8.0-3
- rebuild against db-4.2.52.

* Thu Sep 25 2003 Jeff Johnson <jbj@xxxxxxx> 1.8.0-2
- rebuild against db-4.2.42.

* Tue Aug  5 2003 Akira TAGOH <tagoh@xxxxxxxxxx> 1.8.0-1
- New upstream release.

* Thu Jul 24 2003 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.8-9.1
- rebuilt

* Thu Jul 24 2003 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.8-9
- ruby-1.6.8-castnode.patch: handling the nodes with correct cast.
  use this patch now instead of ruby-1.6.8-fix-x86_64.patch.

* Fri Jul 04 2003 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.8-8
- rebuilt

* Fri Jul 04 2003 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.8-7
- fix the gcc warnings. (#82192)
- ruby-1.6.8-fix-x86_64.patch: correct a patch.
  NOTE: DON'T USE THIS PATCH FOR BIG ENDIAN ARCHITECTURE.
- ruby-1.6.7-long2int.patch: removed.

* Wed Jun 04 2003 Elliot Lee <sopwith@xxxxxxxxxx>
- rebuilt

* Fri Feb  7 2003 Jens Petersen <petersen@xxxxxxxxxx> - 1.6.8-5
- rebuild against ucs4 tcltk

* Wed Jan 22 2003 Tim Powers <timp@xxxxxxxxxx>
- rebuilt

* Wed Jan 22 2003 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.8-3
- ruby-1.6.8-multilib.patch: applied to fix the search path issue on x86_64

* Tue Jan 21 2003 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.8-2
- ruby-1.6.8-require.patch: applied to fix the search bug in require.
- don't apply long2int patch to s390 and s390x. it doesn't work.

* Wed Jan 15 2003 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.8-1
- New upstream release.
- removed some patches. it's no longer needed.
  - ruby-1.6.7-100.patch
  - ruby-1.6.7-101.patch
  - ruby-1.6.7-102.patch
  - ruby-1.6.7-103.patch
  - 801_extmk.rb-shellwords.patch
  - 801_mkmf.rb-shellwords.patch
  - 804_parse.y-new-bison.patch
  - 805_uri-bugfix.patch
  - ruby-1.6.6-900_XXX_strtod.patch
  - ruby-1.6.7-sux0rs.patch
  - ruby-1.6.7-libobj.patch

* Wed Jan 15 2003 Jens Petersen <petersen@xxxxxxxxxx> 1.6.7-14
- rebuild to update tcltk deps

* Mon Dec 16 2002 Elliot Lee <sopwith@xxxxxxxxxx> 1.6.7-13
- Remove ExcludeArch: x86_64
- Fix x86_64 ruby with long2int.patch (ruby was assuming that sizeof(long)
  == sizeof(int). The patch does not fix the source of the problem, just
  makes it a non-issue.)
- _smp_mflags

* Tue Dec 10 2002 Tim Powers <timp@xxxxxxxxxx> 1.6.7-12
- rebuild to fix broken tcltk deps

* Tue Oct 22 2002 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.7-11
- use %%configure macro instead of configure script.
- use the latest config.{sub,guess}.
- get archname from rbconfig.rb for %%dir
- applied some patches from Debian:
  - 801_extmk.rb-shellwords.patch: use Shellwords
  - 801_mkmf.rb-shellwords.patch: mkmf.rb creates bad Makefile. the Makefile
    links libruby.a to the target.
  - 803_sample-fix-shbang.patch: all sample codes should be
    s|/usr/local/bin|/usr/bin|g
  - 804_parse.y-new-bison.patch: fix syntax warning.
  - 805_uri-bugfix.patch: uri.rb could not handle correctly broken
mailto-uri.
- add ExcludeArch x86_64 temporarily to fix Bug#74581. Right now ruby
can't be
  built on x86_64.

* Tue Aug 27 2002 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.7-10
- moved sitedir to /usr/lib/ruby/site_ruby again according as our perl and
  python.
- ruby-1.6.7-resolv1.patch, ruby-1.6.7-resolv2.patch: applied to fix 'Too
many
  open files - "/etc/resolv.conf"' issue. (Bug#64830)

* Thu Jul 18 2002 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.7-9
- add the owned directory.

* Fri Jul 12 2002 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.7-8
- fix typo.

* Thu Jul 04 2002 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.7-7
- removed the ruby-mode-xemacs because it's merged to the xemacs sumo.

* Fri Jun 21 2002 Tim Powers <timp@xxxxxxxxxx>
- automated rebuild

* Wed Jun 19 2002 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.7-5
- fix the stripped binary.
- use the appropriate macros.

* Sun May 26 2002 Tim Powers <timp@xxxxxxxxxx>
- automated rebuild

* Thu May 23 2002 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.7-3
- ruby-1.6.7-libobj.patch: applied to fix autoconf2.53 error.

* Mon Mar 18 2002 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.7-2
- ruby-man-1.4.6-jp.tar.bz2: removed.
- ruby-refm-rdp-1.4.7-ja-html.tar.bz2: uses it instead of.
- ruby-1.6.7-500-marshal-proc.patch, ruby-1.6.7-501-class-var.patch:
  removed.
- ruby-1.6.7-100.patch: applied a bug fix patch.
  (ruby-dev#16274: patch for 'wm state')
  (PR#206ja: SEGV handle EXIT)
- ruby-1.6.7-101.patch: applied a bug fix patch.
  (ruby-list#34313: singleton should not be Marshal.dump'ed)
  (ruby-dev#16411: block local var)
- ruby-1.6.7-102.patch: applied a bug fix patch.
  (handling multibyte chars is partially broken)
- ruby-1.6.7-103.patch: applied a bug fix patch.
  (ruby-dev#16462: preserve reference for GC, but link should be cut)

* Fri Mar  8 2002 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.7-1
- New upstream release.
- ruby-1.6.6-100.patch, ruby-1.6.6-501-ruby-mode.patch:
  removed. these patches no longer should be needed.
- ruby-1.6.7-500-marshal-proc.patch: applied a fix patch.
  (ruby-dev#16178: Marshal::dump should call Proc#call.)
- ruby-1.6.7-501-class-var.patch: applied a fix patch.
  (ruby-talk#35157: class vars broken in 1.6.7)

* Wed Feb 27 2002 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.6-5
- Disable alpha because nothing is xemacs for alpha now.

* Tue Feb  5 2002 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.6-3
- Fixed the duplicate files.

* Tue Feb  5 2002 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.6-2
- Fixed the missing %%defattr

* Fri Feb  1 2002 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.6-1
- New upstream release.
- Applied bug fix patches:
  - ruby-1.6.6-501-ruby-mode.patch: ruby-talk#30479: disables font-lock
    coloring.
  - ruby-1.6.6-100.patch: ruby-talk#30203: Ruby 1.6.6 bug and fix
                          ruby-list#33047: regex bug
                          PR#230: problem with -d in 1.6.6
- Added ruby-mode and ruby-mode-xemacs packages.
- Ruby works fine for ia64. so re-enable to build with ia64.
  (probably it should be worked for alpha)

* Wed Jan 09 2002 Tim Powers <timp@xxxxxxxxxx>
- automated rebuild

* Thu Jul 19 2001 Bernhard Rosenkraenzer <bero@xxxxxxxxxx> 1.6.4-2
- Remove Japanese description and summaries; they belong in specspo and
  break rpm
- Clean up specfile
- Mark language specific files (README.jp) as such
- bzip2 sources
- rename the libruby package to ruby-libs for consistency
- Exclude ia64 (doesn't build - the code doesn't seem to be 64-bit clean
  [has been excluded on alpha forever])

* Tue Jul 17 2001 Akira TAGOH <tagoh@xxxxxxxxxx> 1.6.4-1
- rebuild for Red Hat 7.2

* Mon Jun 04 2001 akira yamada <akira@xxxxxxxxxxxxx>
- upgrade to nwe upstream version 1.6.4.

* Mon Apr 02 2001 akira yamada <akira@xxxxxxxxxxxxx>
- applied patch:
  - fixed method cache bug. etc. (Patch103, Patch104)

* Tue Mar 27 2001 akira yamada <akira@xxxxxxxxxxxxx>
- applied patch:
  - fixed marshal for bignum bug.
  - fixed scope of constant variables bug.

* Tue Mar 20 2001 akira yamada <akira@xxxxxxxxxxxxx>
- upgraded to new upstream version 1.6.3.

* Fri Feb 09 2001 akira yamada <akira@xxxxxxxxxxxxx>
- fixed bad group for libruby.
- Applied patch: upgraded to cvs version (2001-02-08):
  fixed minor bugs.

* Thu Jan 18 2001 akira yamada <akira@xxxxxxxxxxxxx>
- Applied patch: upgraded to cvs version (2001-01-15):
  fixed minor bugs(e.g. ruby makes extention librares too large...).

* Wed Jan 10 2001 akira yamada <akira@xxxxxxxxxxxxx>
- Applied patch: upgraded to cvs version (2001-01-09):
  fixed minor bugs.

* Sat Dec 30 2000 akira yamada <akira@xxxxxxxxxxxxx>
- Applied bug fix patch.

* Mon Dec 25 2000 akira yamada <akira@xxxxxxxxxxxxx>
- Updated to new upstream version 1.6.2.

* Fri Dec 22 2000 akira yamada <akira@xxxxxxxxxxxxx>
- Removed ruby_cvs.2000122019.patch, added ruby_cvs.2000122215.patch
  (upgraded ruby to latest cvs version, 1.6.2-preview4).

* Wed Dec 20 2000 akira yamada <akira@xxxxxxxxxxxxx>
- Removed ruby_cvs.2000121413.patch, added ruby_cvs.2000122019.patch
  (upgraded ruby to latest cvs version).
- new package: libruby

* Thu Dec 14 2000 akira yamada <akira@xxxxxxxxxxxxx>
- Removed ruby_cvs.2000101901.patch, added ruby_cvs.2000121413.patch
  (upgraded ruby to latest cvs version).
- Removed ruby-dev.11262.patch, ruby-dev.11265.patch,
  and ruby-dev.11268.patch (included into above patch).

* Sun Nov 12 2000 MACHINO, Satoshi <machino@xxxxxxxxxxxxx> 1.6.1-0vl9
- build on gcc-2.95.3

* Thu Oct 19 2000 akira yamada <akira@xxxxxxxxxxxxx>
- Added ruby-dev.11268.patch.

* Thu Oct 19 2000 akira yamada <akira@xxxxxxxxxxxxx>
- Removed ruby_cvs.2000101117.patch and added ruby_cvs.2000101901.patch
  (upgraded ruby to latest cvs version).
- Added ruby-dev.11262.patch.
- Added ruby-dev.11265.patch.

* Wed Oct 11 2000 akira yamada <akira@xxxxxxxxxxxxx>
- Removed ruby_cvs.2000100313.patch and added ruby_cvs.2000101117.patch
  (upgraded ruby to latest cvs version).

* Mon Oct 09 2000 akira yamada <akira@xxxxxxxxxxxxx>
- Removed ruby_cvs.2000100313.patch and added ruby_cvs.2000100313.patch
  (upgraded ruby to latest cvs version).

* Tue Oct 03 2000 akira yamada <akira@xxxxxxxxxxxxx>
- Removed ruby_cvs.2000100218.patch and added ruby_cvs.2000100313.patch
  (upgraded ruby to latest cvs version).

* Mon Oct 02 2000 akira yamada <akira@xxxxxxxxxxxxx>
- Removed ruby_cvs.2000092718.patch and added ruby_cvs.2000100218.patch
  (upgraded ruby to latest cvs version).

* Thu Sep 27 2000 akira yamada <akira@xxxxxxxxxxxxx>
- Updated to upstream version 1.6.1.
- Removed ruby_cvs.2000082901.patch and added ruby_cvs.2000092718.patch
  (upgraded ruby to latest cvs version).

* Tue Aug 29 2000 akira yamada <akira@xxxxxxxxxx>
- Updated to version 1.4.6.
- removed ruby-dev.10123.patch(included into ruby-1.4.6).
- Added ruby_cvs.2000082901.patch(upgraded ruby to latest cvs version).

* Tue Jun 27 2000 akira yamada <akira@xxxxxxxxxx>
- Updated manuals to version 1.4.5.

* Sun Jun 25 2000 akira yamada <akira@xxxxxxxxxx>
- Added ruby-dev.10123.patch.

* Sat Jun 24 2000 akira yamada <akira@xxxxxxxxxx>
- Updated to version 1.4.5.
- Removed ruby_cvs.2000062401.patch(included into ruby-1.4.5).

* Thu Jun 22 2000 akira yamada <akira@xxxxxxxxxx>
- Updated to version 1.4.4(06/22/2000 CVS).
- Removed ruby-dev.10054.patch(included into ruby_cvs.patch).

* Thu Jun 22 2000 akira yamada <akira@xxxxxxxxxx>
- Renamed to ruby_cvs20000620.patch from ruby_cvs.patch.

* Tue Jun 20 2000 akira yamada <akira@xxxxxxxxxx>
- Updated to version 1.4.4(06/20/2000 CVS).
- Removed ruby-list.23190.patch(included into ruby_cvs.patch).
- Added ruby-dev.10054.patch.

* Tue Jun 15 2000 akira yamada <akira@xxxxxxxxxx>
- Updated to version 1.4.4(06/12/2000 CVS).
- Added manuals and FAQs.
- Split into ruby, ruby-devel, ruby-tcltk, ruby-docs, irb.

* Tue Jun 13 2000 Mitsuo Hamada <mhamada@xxxxxxxxxx>
- Updated to version 1.4.4

* Wed Dec 08 1999 Atsushi Yamagata <yamagata@xxxxxxxxxxxxxx>
- Updated to version 1.4.3

* Mon Sep 20 1999 Atsushi Yamagata <yamagata@xxxxxxxxxxxxxx>
- Updated to version 1.4.2 (Sep 18)

* Fri Sep 17 1999 Atsushi Yamagata <yamagata@xxxxxxxxxxxxxx>
- Updated to version 1.4.2

* Tue Aug 17 1999 Atsushi Yamagata <yamagata@xxxxxxxxxxxxxx>
- Updated to version 1.4.0

* Fri Jul 23 1999 Atsushi Yamagata <yamagata@xxxxxxxxxxxxxx>
- 2nd release
- Updated to version 1.2.6(15 Jul 1999)
- striped %{prefix}/bin/ruby

* Mon Jun 28 1999 Atsushi Yamagata <yamagata@xxxxxxxxxxxxxx>
- Updated to version 1.2.6(21 Jun 1999)

* Wed Apr 14 1999 Atsushi Yamagata <yamagata@xxxxxxxxxxxxxx>
- Updated to version 1.2.5

* Fri Apr 09 1999 Atsushi Yamagata <yamagata@xxxxxxxxxxxxxx>
- Updated to version 1.2.4

* Fri Dec 25 1998 Toru Hoshina <hoshina@xxxxxxxx>
- Version up to 1.2 stable.

* Fri Nov 27 1998 Toru Hoshina <hoshina@xxxxxxxx>
- Version up to 1.1c9.

* Thu Nov 19 1998 Toru Hoshina <hoshina@xxxxxxxx>
- Version up to 1.1c8, however it appear short life :-P

* Fri Nov 13 1998 Toru Hoshina <hoshina@xxxxxxxx>
- Version up.

* Mon Sep 22 1998 Toru Hoshina <hoshina@xxxxxxxx>
- To make a libruby.so.

* Mon Sep 21 1998 Toru Hoshina <hoshina@xxxxxxxx>
- Modified SPEC in order to install libruby.a so that it should be used by
  another ruby entention.
- 2nd release.

* Mon Mar 9 1998 Shoichi OZAWA <shoch@xxxxxxxxxx>
- Added a powerPC arch part. Thanks, MURATA Nobuhiro
<nob@xxxxxxxxxxxxxxxxxxx>


Any detailed guidance would be greatly appreciated.  What I really want to
know is if it is ok to proceed to rpmbuild -ba or what I have to fix to
get to that point.

Regards,



-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB@xxxxxxxxxxxxx
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux