ruby-vl.spec 91 KB

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