ruby-vl.spec 78 KB

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