0fce6c
%global major_version 2
0fce6c
%global minor_version 6
ec461f
%global teeny_version 10
0fce6c
%global major_minor_version %{major_version}.%{minor_version}
0fce6c
0fce6c
%global ruby_version %{major_minor_version}.%{teeny_version}
0fce6c
%global ruby_release %{ruby_version}
0fce6c
0fce6c
# Specify the named version. It has precedense to revision.
0fce6c
#%%global milestone rc2
0fce6c
0fce6c
# Keep the revision enabled for pre-releases from SVN.
0fce6c
#%%global revision 66252
0fce6c
0fce6c
%global ruby_archive %{name}-%{ruby_version}
0fce6c
0fce6c
# If revision and milestone are removed/commented out, the official release build is expected.
0fce6c
%if 0%{?milestone:1}%{?revision:1} != 0
0fce6c
%global development_release %{?milestone}%{?!milestone:%{?revision:r%{revision}}}
0fce6c
%global ruby_archive %{ruby_archive}-%{?milestone}%{?!milestone:%{?revision:r%{revision}}}
0fce6c
%endif
0fce6c
0fce6c
ec461f
%global release 109
0fce6c
%{!?release_string:%global release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}}
0fce6c
0fce6c
# The RubyGems library has to stay out of Ruby directory tree, since the
0fce6c
# RubyGems should be share by all Ruby implementations.
0fce6c
%global rubygems_dir %{_datadir}/rubygems
0fce6c
0fce6c
# Bundled libraries versions
bca5ca
%global rubygems_version 3.0.3.1
0fce6c
%global rubygems_molinillo_version 0.5.7
0fce6c
0fce6c
%global bundler_version 1.17.2
bca5ca
%global bundler_fileutils_version 1.1.0
0fce6c
%global bundler_molinillo_version 0.6.6
0fce6c
%global bundler_net_http_persistent_version 2.9.4
0fce6c
%global bundler_thor_version 0.20.0
0fce6c
0fce6c
%global bigdecimal_version 1.4.1
0fce6c
%global did_you_mean_version 1.3.0
0fce6c
%global io_console_version 0.4.7
0fce6c
%global irb_version 1.0.0
0fce6c
%global json_version 2.1.0
0fce6c
%global minitest_version 5.11.3
0fce6c
%global net_telnet_version 0.2.0
0fce6c
%global openssl_version 2.1.2
0fce6c
%global power_assert_version 1.1.3
0fce6c
%global psych_version 3.1.0
bca5ca
%global rake_version 12.3.3
07f2a6
%global rdoc_version 6.1.2.1
0fce6c
%global test_unit_version 3.2.9
0fce6c
%global xmlrpc_version 0.3.0
0fce6c
0fce6c
# Might not be needed in the future, if we are lucky enough.
0fce6c
# https://bugzilla.redhat.com/show_bug.cgi?id=888262
0fce6c
%global tapset_root %{_datadir}/systemtap
0fce6c
%global tapset_dir %{tapset_root}/tapset
0fce6c
%global tapset_libdir %(echo %{_libdir} | sed 's/64//')*
0fce6c
0fce6c
%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/')
0fce6c
0fce6c
%if 0%{?fedora} >= 19
0fce6c
%bcond_without rubypick
0fce6c
%endif
0fce6c
0fce6c
%bcond_without cmake
0fce6c
%bcond_without git
0fce6c
%bcond_without gmp
0fce6c
%bcond_without hostname
0fce6c
%bcond_without systemtap
07f2a6
# Enable the tests requiring internet when building on local.
07f2a6
%bcond_with bundler_tests
0fce6c
0fce6c
%if 0%{?fedora}
0fce6c
%bcond_without hardening_test
0fce6c
%endif
0fce6c
0fce6c
Summary: An interpreter of object-oriented scripting language
0fce6c
Name: ruby
0fce6c
Version: %{ruby_version}
0fce6c
Release: %{release_string}
0fce6c
# Public Domain for example for: include/ruby/st.h, strftime.c, missing/*, ...
0fce6c
# MIT and CCO: ccan/*
0fce6c
# zlib: ext/digest/md5/md5.*, ext/nkf/nkf-utf8/nkf.c
0fce6c
# UCD: some of enc/trans/**/*.src
0fce6c
License: (Ruby or BSD) and Public Domain and MIT and CC0 and zlib and UCD
0fce6c
URL: http://ruby-lang.org/
0fce6c
Source0: https://cache.ruby-lang.org/pub/%{name}/%{major_minor_version}/%{ruby_archive}.tar.xz
0fce6c
Source1: operating_system.rb
0fce6c
# TODO: Try to push SystemTap support upstream.
0fce6c
Source2: libruby.stp
0fce6c
Source3: ruby-exercise.stp
0fce6c
Source4: macros.ruby
0fce6c
Source5: macros.rubygems
0fce6c
Source6: abrt_prelude.rb
0fce6c
# RPM dependency generators.
0fce6c
Source8: rubygems.attr
0fce6c
Source9: rubygems.req
0fce6c
Source10: rubygems.prov
0fce6c
Source11: rubygems.con
0fce6c
# ABRT hoook test case.
0fce6c
Source13: test_abrt.rb
0fce6c
# SystemTap tests.
0fce6c
Source14: test_systemtap.rb
0fce6c
0fce6c
# The load directive is supported since RPM 4.12, i.e. F21+. The build process
0fce6c
# fails on older Fedoras.
ec461f
%{load:%{SOURCE4}}
ec461f
%{load:%{SOURCE5}}
0fce6c
0fce6c
# Fix ruby_version abuse.
0fce6c
# https://bugs.ruby-lang.org/issues/11002
0fce6c
Patch0: ruby-2.3.0-ruby_version.patch
0fce6c
# http://bugs.ruby-lang.org/issues/7807
0fce6c
Patch1: ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch
0fce6c
# Allows to override libruby.so placement. Hopefully we will be able to return
0fce6c
# to plain --with-rubyarchprefix.
0fce6c
# http://bugs.ruby-lang.org/issues/8973
0fce6c
Patch2: ruby-2.1.0-Enable-configuration-of-archlibdir.patch
0fce6c
# Force multiarch directories for i.86 to be always named i386. This solves
0fce6c
# some differencies in build between Fedora and RHEL.
0fce6c
Patch3: ruby-2.1.0-always-use-i386.patch
0fce6c
# Allows to install RubyGems into custom directory, outside of Ruby's tree.
0fce6c
# http://bugs.ruby-lang.org/issues/5617
0fce6c
Patch4: ruby-2.1.0-custom-rubygems-location.patch
0fce6c
# Make mkmf verbose by default
0fce6c
Patch5: ruby-1.9.3-mkmf-verbose.patch
0fce6c
# Adds support for '--with-prelude' configuration option. This allows to built
0fce6c
# in support for ABRT.
0fce6c
# http://bugs.ruby-lang.org/issues/8566
0fce6c
Patch6: ruby-2.1.0-Allow-to-specify-additional-preludes-by-configuratio.patch
0fce6c
# Use miniruby to regenerate prelude.c.
0fce6c
# https://bugs.ruby-lang.org/issues/15306
0fce6c
Patch7: ruby-2.2.3-Generate-preludes-using-miniruby.patch
ec461f
# Fix a fiddle import test on an optimized glibc on Power 9.
ec461f
# https://bugs.ruby-lang.org/issues/12666#note-13
ec461f
Patch9: ruby-3.0.3-fiddle-1.0.8-Rely-on-hard-coded-lib-name-to-detect-glibc.patch
0fce6c
# `gem build ../foo.gemspec` changes directory, which does not play well with
0fce6c
# gems unpacked by setup macro.
0fce6c
# https://github.com/rubygems/rubygems/issues/2587
0fce6c
Patch11: rubygems-3.0.3-Restore-gem-build-behavior-and-introdcue-the-C-flag-to-gem-build.patch
0fce6c
# This allows to loosen the RDoc dependency again.
0fce6c
# https://github.com/rubygems/rubygems/pull/2604
0fce6c
Patch12: rubygems-3.0.3-Avoid-rdoc-hook-when-its-failed-to-load-rdoc-library.patch
0fce6c
0fce6c
# Add support for .include directive used by OpenSSL config files.
0fce6c
# https://github.com/ruby/openssl/pull/216
0fce6c
Patch22: ruby-2.6.0-config-support-include-directive.patch
0fce6c
0fce6c
# IO.select on all platforms to wait for input with recvfrom_nonblock
0fce6c
# and accept_nonblock
0fce6c
# https://bugzilla.redhat.com/show_bug.cgi?id=1719743
0fce6c
# https://github.com/ruby/ruby/commit/920b924e5652884064a9529ffbd80d458a46fbc6
0fce6c
# https://github.com/ruby/ruby/commit/c1f0daeb6ac5c5414c9a4a58bb778a118006ae1f
0fce6c
Patch24: ruby-2.7.0-preview1-IO.select-on-all-platforms-to-wait-for-input-with-recvfr.patch
0fce6c
# Use ffi_closure_alloc to avoid segmentation fault by libffi on aarch64.
0fce6c
# https://bugzilla.redhat.com/show_bug.cgi?id=1727832
0fce6c
# https://bugzilla.redhat.com/show_bug.cgi?id=1721569
0fce6c
# https://github.com/ruby/fiddle/pull/20
0fce6c
Patch25: ruby-2.6.3-fiddle-1.0.0-ffi-closure-alloc-default.patch
bca5ca
# Resolv::DNS: timeouts if multiple IPv6 name servers are given and address
bca5ca
# contains leading zero
bca5ca
# https://bugzilla.redhat.com/show_bug.cgi?id=1944227
bca5ca
Patch26: ruby-3.0.0-Convert-ip-addresses-to-canonical-form.patch
bca5ca
# rubygem-bundler: Insecure permissions on directory in /tmp/ allows for execution of malicious code
bca5ca
# https://bugzilla.redhat.com/show_bug.cgi?id=1651826
bca5ca
# https://github.com/rubygems/bundler/pull/7416
bca5ca
Patch27: rubygem-bundler-2.1.0-dont-use-insecure-temporary-directory-as-home-directory.patch
07f2a6
# Update the location of bundler gemspec to fix `make test-bundler`.
07f2a6
# https://github.com/ruby/ruby/commit/8cca079d3be8d07c261baea72529628469938245
07f2a6
Patch28: ruby-2.7.0-update-location-of-bundler-gemspec.patch
07f2a6
# Use ENV["BUNDLE_GEM"] instead of gem command to fix `make test-bundler`.
07f2a6
# https://github.com/rubygems/rubygems/commit/a30484bc3103d0f7eb048d2536436a0424c1d695
07f2a6
# https://github.com/ruby/ruby/commit/68ddd4d300e9a88737c4f37af74e1a0312949b2f
07f2a6
Patch29: ruby-2.7.0-bundler-use-bundle-gem-instead-of-gem-command.patch
07f2a6
# Raise an error or print a warning in dependency confusion cases.
07f2a6
# https://github.com/rubygems/rubygems/pull/5029
07f2a6
Patch30: ruby-bundler-raise-error-in-dependency-confusion.patch
0fce6c
0fce6c
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
0fce6c
Suggests: rubypick
0fce6c
Recommends: ruby(rubygems) >= %{rubygems_version}
0fce6c
Recommends: rubygem(bigdecimal) >= %{bigdecimal_version}
0fce6c
Recommends: rubygem(did_you_mean) >= %{did_you_mean_version}
0fce6c
Recommends: rubygem(openssl) >= %{openssl_version}
0fce6c
0fce6c
BuildRequires: autoconf
0fce6c
BuildRequires: gdbm-devel
0fce6c
%{?with_gmp:BuildRequires: gmp-devel}
0fce6c
BuildRequires: libffi-devel
0fce6c
BuildRequires: openssl-devel
0fce6c
BuildRequires: libyaml-devel
0fce6c
BuildRequires: readline-devel
0fce6c
# Needed to pass test_set_program_name(TestRubyOptions)
0fce6c
BuildRequires: procps
0fce6c
%{?with_systemtap:BuildRequires: %{_bindir}/dtrace}
0fce6c
# RubyGems test suite optional dependencies.
0fce6c
%{?with_git:BuildRequires: git}
0fce6c
%{?with_cmake:BuildRequires: %{_bindir}/cmake}
0fce6c
# Required to test hardening.
0fce6c
%{?with_hardening_test:BuildRequires: %{_bindir}/checksec}
0fce6c
%{?with_hostname:BuildRequires: %{_bindir}/hostname}
0fce6c
BuildRequires: multilib-rpm-config
0fce6c
BuildRequires: gcc
0fce6c
BuildRequires: zlib-devel
0fce6c
0fce6c
# This package provides %%{_bindir}/ruby-mri therefore it is marked by this
0fce6c
# virtual provide. It can be installed as dependency of rubypick.
0fce6c
Provides: ruby(runtime_executable) = %{ruby_release}
0fce6c
0fce6c
%description
0fce6c
Ruby is the interpreted scripting language for quick and easy
0fce6c
object-oriented programming.  It has many features to process text
0fce6c
files and to do system management tasks (as in Perl).  It is simple,
0fce6c
straight-forward, and extensible.
0fce6c
0fce6c
0fce6c
%package devel
0fce6c
Summary:    A Ruby development environment
0fce6c
Requires:   %{name}%{?_isa} = %{version}-%{release}
0fce6c
# This would not be needed if ~50 packages depending on -devel used
0fce6c
# --disable-gems
0fce6c
Requires:   rubygems
0fce6c
0fce6c
%description devel
0fce6c
Header files and libraries for building an extension library for the
0fce6c
Ruby or an application embedding Ruby.
0fce6c
0fce6c
%package libs
0fce6c
Summary:    Libraries necessary to run Ruby
0fce6c
License:    Ruby or BSD
0fce6c
Provides:   ruby(release) = %{ruby_release}
0fce6c
0fce6c
# Virtual provides for CCAN copylibs.
0fce6c
# https://fedorahosted.org/fpc/ticket/364
0fce6c
Provides: bundled(ccan-build_assert)
0fce6c
Provides: bundled(ccan-check_type)
0fce6c
Provides: bundled(ccan-container_of)
0fce6c
Provides: bundled(ccan-list)
0fce6c
0fce6c
# Tcl/Tk support was removed from stdlib in Ruby 2.4, i.e. F27 timeframe
0fce6c
# so lets obsolete it. This is not the best place, but we don't have
0fce6c
# better, unless https://fedorahosted.org/fpc/ticket/645 provides some
0fce6c
# generic solution.
0fce6c
Obsoletes: ruby-tcltk < 2.4.0
0fce6c
0fce6c
0fce6c
%description libs
0fce6c
This package includes the libruby, necessary to run Ruby.
0fce6c
0fce6c
0fce6c
# TODO: Rename or not rename to ruby-rubygems?
0fce6c
%package -n rubygems
0fce6c
Summary:    The Ruby standard for packaging ruby libraries
0fce6c
Version:    %{rubygems_version}
0fce6c
License:    Ruby or MIT
0fce6c
Requires:   ruby(release)
0fce6c
Recommends: rubygem(rdoc) >= %{rdoc_version}
0fce6c
Recommends: rubygem(io-console) >= %{io_console_version}
0fce6c
Requires:   rubygem(openssl) >= %{openssl_version}
0fce6c
Requires:   rubygem(psych) >= %{psych_version}
0fce6c
Provides:   gem = %{version}-%{release}
0fce6c
Provides:   ruby(rubygems) = %{version}-%{release}
0fce6c
# https://github.com/rubygems/rubygems/pull/1189#issuecomment-121600910
0fce6c
Provides:   bundled(rubygem-molinillo) = %{rubygems_molinillo_version}
0fce6c
BuildArch:  noarch
0fce6c
0fce6c
%description -n rubygems
0fce6c
RubyGems is the Ruby standard for publishing and managing third party
0fce6c
libraries.
0fce6c
0fce6c
0fce6c
%package -n rubygems-devel
0fce6c
Summary:    Macros and development tools for packaging RubyGems
0fce6c
Version:    %{rubygems_version}
0fce6c
License:    Ruby or MIT
0fce6c
Requires:   ruby(rubygems) = %{version}-%{release}
0fce6c
# Needed for RDoc documentation format generation.
0fce6c
Requires:   rubygem(json) >= %{json_version}
0fce6c
Requires:   rubygem(rdoc) >= %{rdoc_version}
0fce6c
BuildArch:  noarch
0fce6c
0fce6c
%description -n rubygems-devel
0fce6c
Macros and development tools for packaging RubyGems.
0fce6c
0fce6c
0fce6c
%package -n rubygem-rake
0fce6c
Summary:    Ruby based make-like utility
0fce6c
Version:    %{rake_version}
0fce6c
License:    MIT
0fce6c
Requires:   ruby(release)
0fce6c
Requires:   ruby(rubygems) >= %{rubygems_version}
0fce6c
Provides:   rake = %{version}-%{release}
0fce6c
Provides:   rubygem(rake) = %{version}-%{release}
0fce6c
BuildArch:  noarch
0fce6c
0fce6c
%description -n rubygem-rake
0fce6c
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
0fce6c
specified in standard Ruby syntax.
0fce6c
0fce6c
0fce6c
%package -n rubygem-irb
0fce6c
Summary:    The Interactive Ruby
0fce6c
Version:    %{irb_version}
0fce6c
Requires:   ruby(release)
0fce6c
Requires:   ruby(rubygems) >= %{rubygems_version}
0fce6c
Provides:   irb = %{version}-%{release}
0fce6c
Provides:   rubygem(irb) = %{version}-%{release}
0fce6c
# Obsoleted by Ruby 2.6 in F30 timeframe.
0fce6c
Provides:   ruby(irb) = %{ruby_version}-%{release}
0fce6c
Provides:   ruby-irb = %{ruby_version}-%{release}
0fce6c
Obsoletes:  ruby-irb < %{ruby_version}-%{release}
0fce6c
BuildArch:  noarch
0fce6c
0fce6c
%description -n rubygem-irb
0fce6c
The irb is acronym for Interactive Ruby.  It evaluates ruby expression
0fce6c
from the terminal.
0fce6c
0fce6c
0fce6c
%package -n rubygem-rdoc
0fce6c
Summary:    A tool to generate HTML and command-line documentation for Ruby projects
0fce6c
Version:    %{rdoc_version}
0fce6c
# SIL: lib/rdoc/generator/template/darkfish/css/fonts.css
0fce6c
License:    GPLv2 and Ruby and MIT and OFL
0fce6c
Requires:   ruby(release)
0fce6c
Requires:   ruby(rubygems) >= %{rubygems_version}
0fce6c
Requires:   rubygem(irb) >= %{irb_version}
0fce6c
Requires:   rubygem(io-console) >= %{io_console_version}
0fce6c
Requires:   rubygem(json) >= %{json_version}
0fce6c
Provides:   rdoc = %{version}-%{release}
0fce6c
Provides:   ri = %{version}-%{release}
0fce6c
Provides:   rubygem(rdoc) = %{version}-%{release}
0fce6c
BuildArch:  noarch
0fce6c
0fce6c
%description -n rubygem-rdoc
0fce6c
RDoc produces HTML and command-line documentation for Ruby projects.  RDoc
0fce6c
includes the 'rdoc' and 'ri' tools for generating and displaying online
0fce6c
documentation.
0fce6c
0fce6c
0fce6c
%package doc
0fce6c
Summary:    Documentation for %{name}
0fce6c
Requires:   %{_bindir}/ri
0fce6c
BuildArch:  noarch
0fce6c
0fce6c
%description doc
0fce6c
This package contains documentation for %{name}.
0fce6c
0fce6c
0fce6c
%package -n rubygem-bigdecimal
0fce6c
Summary:    BigDecimal provides arbitrary-precision floating point decimal arithmetic
0fce6c
Version:    %{bigdecimal_version}
0fce6c
License:    Ruby or BSD
0fce6c
Requires:   ruby(release)
0fce6c
Requires:   ruby(rubygems) >= %{rubygems_version}
0fce6c
Provides:   rubygem(bigdecimal) = %{version}-%{release}
0fce6c
0fce6c
%description -n rubygem-bigdecimal
0fce6c
Ruby provides built-in support for arbitrary precision integer arithmetic.
0fce6c
For example:
0fce6c
0fce6c
42**13 -> 1265437718438866624512
0fce6c
0fce6c
BigDecimal provides similar support for very large or very accurate floating
0fce6c
point numbers. Decimal arithmetic is also useful for general calculation,
0fce6c
because it provides the correct answers people expect–whereas normal binary
0fce6c
floating point arithmetic often introduces subtle errors because of the
0fce6c
conversion between base 10 and base 2.
0fce6c
0fce6c
0fce6c
%package -n rubygem-did_you_mean
0fce6c
Summary:    "Did you mean?" experience in Ruby
0fce6c
Version:    %{did_you_mean_version}
0fce6c
License:    MIT
0fce6c
Requires:   ruby(release)
0fce6c
Requires:   ruby(rubygems) >= %{rubygems_version}
0fce6c
Provides:   rubygem(did_you_mean) = %{version}-%{release}
0fce6c
BuildArch:  noarch
0fce6c
0fce6c
%description -n rubygem-did_you_mean
0fce6c
"did you mean?" experience in Ruby: the error message will tell you the right
0fce6c
one when you misspelled something.
0fce6c
0fce6c
0fce6c
%package -n rubygem-io-console
0fce6c
Summary:    IO/Console is a simple console utilizing library
0fce6c
Version:    %{io_console_version}
0fce6c
Requires:   ruby(release)
0fce6c
Requires:   ruby(rubygems) >= %{rubygems_version}
0fce6c
Provides:   rubygem(io-console) = %{version}-%{release}
0fce6c
0fce6c
%description -n rubygem-io-console
0fce6c
IO/Console provides very simple and portable access to console. It doesn't
0fce6c
provide higher layer features, such like curses and readline.
0fce6c
0fce6c
0fce6c
%package -n rubygem-json
0fce6c
Summary:    This is a JSON implementation as a Ruby extension in C
0fce6c
Version:    %{json_version}
0fce6c
# UCD: ext/json/generator/generator.c
0fce6c
License:    (Ruby or GPLv2) and UCD
0fce6c
Requires:   ruby(release)
0fce6c
Requires:   ruby(rubygems) >= %{rubygems_version}
0fce6c
Provides:   rubygem(json) = %{version}-%{release}
0fce6c
0fce6c
%description -n rubygem-json
0fce6c
This is a implementation of the JSON specification according to RFC 4627.
0fce6c
You can think of it as a low fat alternative to XML, if you want to store
0fce6c
data to disk or transmit it over a network rather than use a verbose
0fce6c
markup language.
0fce6c
0fce6c
0fce6c
%package -n rubygem-minitest
0fce6c
Summary:    Minitest provides a complete suite of testing facilities
0fce6c
Version:    %{minitest_version}
0fce6c
License:    MIT
0fce6c
Requires:   ruby(release)
0fce6c
Requires:   ruby(rubygems) >= %{rubygems_version}
0fce6c
Provides:   rubygem(minitest) = %{version}-%{release}
0fce6c
BuildArch:  noarch
0fce6c
0fce6c
%description -n rubygem-minitest
0fce6c
minitest/unit is a small and incredibly fast unit testing framework.
0fce6c
0fce6c
minitest/spec is a functionally complete spec engine.
0fce6c
0fce6c
minitest/benchmark is an awesome way to assert the performance of your
0fce6c
algorithms in a repeatable manner.
0fce6c
0fce6c
minitest/mock by Steven Baker, is a beautifully tiny mock object
0fce6c
framework.
0fce6c
0fce6c
minitest/pride shows pride in testing and adds coloring to your test
0fce6c
output.
0fce6c
0fce6c
0fce6c
%package -n rubygem-openssl
0fce6c
Summary:    OpenSSL provides SSL, TLS and general purpose cryptography
0fce6c
Version:    %{openssl_version}
0fce6c
License:    Ruby or BSD
0fce6c
Requires:   ruby(release)
0fce6c
Requires:   ruby(rubygems) >= %{rubygems_version}
0fce6c
Provides:   rubygem(openssl) = %{version}-%{release}
0fce6c
0fce6c
%description -n rubygem-openssl
0fce6c
OpenSSL provides SSL, TLS and general purpose cryptography. It wraps the
0fce6c
OpenSSL library.
0fce6c
0fce6c
0fce6c
%package -n rubygem-power_assert
0fce6c
Summary:    Power Assert for Ruby
0fce6c
Version:    %{power_assert_version}
0fce6c
License:    Ruby or BSD
0fce6c
Requires:   ruby(release)
0fce6c
Requires:   ruby(rubygems) >= %{rubygems_version}
0fce6c
Provides:   rubygem(power_assert) = %{version}-%{release}
0fce6c
BuildArch:  noarch
0fce6c
0fce6c
%description -n rubygem-power_assert
0fce6c
Power Assert shows each value of variables and method calls in the expression.
0fce6c
It is useful for testing, providing which value wasn't correct when the
0fce6c
condition is not satisfied.
0fce6c
0fce6c
0fce6c
%package -n rubygem-psych
0fce6c
Summary:    A libyaml wrapper for Ruby
0fce6c
Version:    %{psych_version}
0fce6c
License:    MIT
0fce6c
Requires:   ruby(release)
0fce6c
Requires:   ruby(rubygems) >= %{rubygems_version}
0fce6c
Provides:   rubygem(psych) = %{version}-%{release}
0fce6c
0fce6c
%description -n rubygem-psych
0fce6c
Psych is a YAML parser and emitter. Psych leverages
0fce6c
libyaml[http://pyyaml.org/wiki/LibYAML] for its YAML parsing and emitting
0fce6c
capabilities. In addition to wrapping libyaml, Psych also knows how to
0fce6c
serialize and de-serialize most Ruby objects to and from the YAML format.
0fce6c
0fce6c
0fce6c
%package -n rubygem-net-telnet
0fce6c
Summary:    Provides telnet client functionality
0fce6c
Version:    %{net_telnet_version}
0fce6c
Requires:   ruby(release)
0fce6c
Requires:   ruby(rubygems) >= %{rubygems_version}
0fce6c
Provides:   rubygem(net-telnet) = %{version}-%{release}
0fce6c
BuildArch:  noarch
0fce6c
0fce6c
%description -n rubygem-net-telnet
0fce6c
Provides telnet client functionality.
0fce6c
0fce6c
This class also has, through delegation, all the methods of a socket object
0fce6c
(by default, a TCPSocket, but can be set by the Proxy option to new()). This
0fce6c
provides methods such as close() to end the session and sysread() to read data
0fce6c
directly from the host, instead of via the waitfor() mechanism. Note that if
0fce6c
you do use sysread() directly when in telnet mode, you should probably pass
0fce6c
the output through preprocess() to extract telnet command sequences.
0fce6c
0fce6c
0fce6c
%package -n rubygem-test-unit
0fce6c
Summary:    An xUnit family unit testing framework for Ruby
0fce6c
Version:    %{test_unit_version}
0fce6c
# lib/test/unit/diff.rb is a double license of the Ruby license and PSF license.
0fce6c
# lib/test-unit.rb is a dual license of the Ruby license and LGPLv2.1 or later.
0fce6c
License:    (Ruby or BSD) and (Ruby or BSD or Python) and (Ruby or BSD or LGPLv2+)
0fce6c
Requires:   ruby(release)
0fce6c
Requires:   ruby(rubygems) >= %{rubygems_version}
0fce6c
Requires:   rubygem(power_assert)
0fce6c
Provides:   rubygem(test-unit) = %{version}-%{release}
0fce6c
BuildArch:  noarch
0fce6c
0fce6c
%description -n rubygem-test-unit
0fce6c
Test::Unit (test-unit) is unit testing framework for Ruby, based on xUnit
0fce6c
principles. These were originally designed by Kent Beck, creator of extreme
0fce6c
programming software development methodology, for Smalltalk's SUnit. It allows
0fce6c
writing tests, checking results and automated testing in Ruby.
0fce6c
0fce6c
0fce6c
%package -n rubygem-xmlrpc
0fce6c
Summary:    XMLRPC is a lightweight protocol that enables remote procedure calls over HTTP
0fce6c
Version:    %{xmlrpc_version}
0fce6c
License:    Ruby or BSD
0fce6c
Requires:   ruby(release)
0fce6c
Requires:   ruby(rubygems) >= %{rubygems_version}
0fce6c
Provides:   rubygem(xmlrpc) = %{version}-%{release}
0fce6c
BuildArch:  noarch
0fce6c
0fce6c
%description -n rubygem-xmlrpc
0fce6c
XMLRPC is a lightweight protocol that enables remote procedure calls over
0fce6c
HTTP.
0fce6c
0fce6c
0fce6c
%package -n rubygem-bundler
0fce6c
Summary:    Library and utilities to manage a Ruby application's gem dependencies
0fce6c
Version:    %{bundler_version}
0fce6c
License:    MIT
0fce6c
Requires:   ruby(release)
0fce6c
Requires:   ruby(rubygems) >= %{rubygems_version}
0fce6c
Requires:   rubygem(io-console)
0fce6c
Provides:   rubygem(bundler) = %{version}-%{release}
0fce6c
# https://github.com/bundler/bundler/issues/3647
0fce6c
Provides:   bundled(rubygem-fileutils) = %{bundler_fileutils_version}
0fce6c
Provides:   bundled(rubygem-molinillo) = %{bundler_molinillo_version}
0fce6c
Provides:   bundled(rubygem-net-http-persisntent) = %{bundler_net_http_persistent_version}
0fce6c
Provides:   bundled(rubygem-thor) = %{bundler_thor_version}
0fce6c
BuildArch:  noarch
0fce6c
0fce6c
%description -n rubygem-bundler
0fce6c
Bundler manages an application's dependencies through its entire life, across
0fce6c
many machines, systematically and repeatably.
0fce6c
0fce6c
0fce6c
%prep
0fce6c
%setup -q -n %{ruby_archive}
0fce6c
0fce6c
# Remove bundled libraries to be sure they are not used.
0fce6c
rm -rf ext/psych/yaml
0fce6c
rm -rf ext/fiddle/libffi*
0fce6c
0fce6c
%patch0 -p1
0fce6c
%patch1 -p1
0fce6c
%patch2 -p1
0fce6c
%patch3 -p1
0fce6c
%patch4 -p1
0fce6c
%patch5 -p1
0fce6c
%patch6 -p1
0fce6c
%patch7 -p1
0fce6c
%patch9 -p1
0fce6c
%patch11 -p1
0fce6c
%patch12 -p1
0fce6c
%patch22 -p1
0fce6c
%patch24 -p1
0fce6c
%patch25 -p1
bca5ca
%patch26 -p1
bca5ca
%patch27 -p1
07f2a6
%patch30 -p1
0fce6c
0fce6c
# Provide an example of usage of the tapset:
0fce6c
cp -a %{SOURCE3} .
0fce6c
0fce6c
# Make abrt_prelude.rb available for compilation process. The prelude must be
0fce6c
# available together with Ruby's source due to
0fce6c
# https://github.com/ruby/ruby/blob/trunk/tool/compile_prelude.rb#L26
0fce6c
cp -a %{SOURCE6} .
0fce6c
0fce6c
%build
0fce6c
autoconf
0fce6c
0fce6c
%configure \
0fce6c
        --with-rubylibprefix='%{ruby_libdir}' \
0fce6c
        --with-archlibdir='%{_libdir}' \
0fce6c
        --with-rubyarchprefix='%{ruby_libarchdir}' \
0fce6c
        --with-sitedir='%{ruby_sitelibdir}' \
0fce6c
        --with-sitearchdir='%{ruby_sitearchdir}' \
0fce6c
        --with-vendordir='%{ruby_vendorlibdir}' \
0fce6c
        --with-vendorarchdir='%{ruby_vendorarchdir}' \
0fce6c
        --with-rubyhdrdir='%{_includedir}' \
0fce6c
        --with-rubyarchhdrdir='%{_includedir}' \
0fce6c
        --with-sitearchhdrdir='$(sitehdrdir)/$(arch)' \
0fce6c
        --with-vendorarchhdrdir='$(vendorhdrdir)/$(arch)' \
0fce6c
        --with-rubygemsdir='%{rubygems_dir}' \
0fce6c
        --with-ruby-pc='%{name}.pc' \
0fce6c
        --with-compress-debug-sections=no \
0fce6c
        --disable-rpath \
0fce6c
        --enable-shared \
0fce6c
        --with-ruby-version='' \
0fce6c
        --enable-multiarch \
0fce6c
        --with-prelude=./abrt_prelude.rb \
0fce6c
0fce6c
# Q= makes the build output more verbose and allows to check Fedora
0fce6c
# compiler options.
0fce6c
make %{?_smp_mflags} COPY="cp -p" Q=
0fce6c
0fce6c
%install
0fce6c
rm -rf %{buildroot}
0fce6c
make install DESTDIR=%{buildroot}
0fce6c
0fce6c
# Rename ruby/config.h to ruby/config-<arch>.h to avoid file conflicts on
0fce6c
# multilib systems and install config.h wrapper
0fce6c
%multilib_fix_c_header --file %{_includedir}/%{name}/config.h
0fce6c
# TODO: The correct patch should be %%{_includedir}/%%{name}/rb_mjit_min_header-%{ruby_version}.h
0fce6c
# https://bugs.ruby-lang.org/issues/15425
0fce6c
%multilib_fix_c_header --file %{_includedir}/rb_mjit_min_header-%{ruby_version}.h
0fce6c
0fce6c
# Rename the ruby executable. It is replaced by RubyPick.
0fce6c
%{?with_rubypick:mv %{buildroot}%{_bindir}/%{name}{,-mri}}
0fce6c
0fce6c
# Version is empty if --with-ruby-version is specified.
0fce6c
# http://bugs.ruby-lang.org/issues/7807
0fce6c
sed -i 's/Version: \${ruby_version}/Version: %{ruby_version}/' %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
0fce6c
0fce6c
# Kill bundled certificates, as they should be part of ca-certificates.
bca5ca
# bundler
0fce6c
for cert in \
0fce6c
  rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem \
0fce6c
  rubygems.org/AddTrustExternalCARoot.pem \
0fce6c
  index.rubygems.org/GlobalSignRootCA.pem
0fce6c
do
0fce6c
  rm %{buildroot}%{ruby_libdir}/bundler/ssl_certs/$cert
0fce6c
  rm -r $(dirname %{buildroot}%{ruby_libdir}/bundler/ssl_certs/$cert)
0fce6c
done
bca5ca
bca5ca
for cert in \
bca5ca
    rubygems.org/GlobalSignRootCA.pem
bca5ca
do
bca5ca
  rm %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/$cert
bca5ca
  rm -r $(dirname %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/$cert)
bca5ca
done
0fce6c
# Ensure there is not forgotten any certificate.
0fce6c
test ! "$(ls -A  %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/ 2>/dev/null)"
0fce6c
test "$(ls -A  %{buildroot}%{ruby_libdir}/bundler/ssl_certs/ 2>/dev/null)" \
0fce6c
  = "certificate_manager.rb"
0fce6c
0fce6c
# Move macros file into proper place and replace the %%{name} macro, since it
0fce6c
# would be wrongly evaluated during build of other packages.
0fce6c
mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d
0fce6c
install -m 644 %{SOURCE4} %{buildroot}%{_rpmconfigdir}/macros.d/macros.ruby
0fce6c
sed -i "s/%%{name}/%{name}/" %{buildroot}%{_rpmconfigdir}/macros.d/macros.ruby
0fce6c
install -m 644 %{SOURCE5} %{buildroot}%{_rpmconfigdir}/macros.d/macros.rubygems
0fce6c
sed -i "s/%%{name}/%{name}/" %{buildroot}%{_rpmconfigdir}/macros.d/macros.rubygems
0fce6c
0fce6c
# Install dependency generators.
0fce6c
mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs
0fce6c
install -m 644 %{SOURCE8} %{buildroot}%{_rpmconfigdir}/fileattrs
0fce6c
install -m 755 %{SOURCE9} %{buildroot}%{_rpmconfigdir}
0fce6c
install -m 755 %{SOURCE10} %{buildroot}%{_rpmconfigdir}
0fce6c
install -m 755 %{SOURCE11} %{buildroot}%{_rpmconfigdir}
0fce6c
0fce6c
# Install custom operating_system.rb.
0fce6c
mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults
0fce6c
cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults
0fce6c
0fce6c
# Move gems root into common direcotry, out of Ruby directory structure.
0fce6c
mv %{buildroot}%{ruby_libdir}/gems %{buildroot}%{gem_dir}
0fce6c
0fce6c
# Create folders for gem binary extensions.
0fce6c
# TODO: These folders should go into rubygem-filesystem but how to achieve it,
0fce6c
# since noarch package cannot provide arch dependent subpackages?
0fce6c
# http://rpm.org/ticket/78
0fce6c
mkdir -p %{buildroot}%{_exec_prefix}/lib{,64}/gems/%{name}
0fce6c
0fce6c
# Move bundled rubygems to %%gem_dir and %%gem_extdir_mri
0fce6c
# make symlinks for io-console and bigdecimal, which are considered to be part of stdlib by other Gems
0fce6c
mkdir -p %{buildroot}%{gem_dir}/gems/irb-%{irb_version}/lib
0fce6c
mv %{buildroot}%{ruby_libdir}/irb* %{buildroot}%{gem_dir}/gems/irb-%{irb_version}/lib
0fce6c
mv %{buildroot}%{gem_dir}/specifications/default/irb-%{irb_version}.gemspec %{buildroot}%{gem_dir}/specifications
0fce6c
ln -s %{gem_dir}/gems/irb-%{irb_version}/lib/irb.rb %{buildroot}%{ruby_libdir}/irb.rb
0fce6c
# TODO: This should be possible to replaced by simple directory symlink
0fce6c
# after ~ F31 EOL (rhbz#1691039).
0fce6c
mkdir -p %{buildroot}%{ruby_libdir}/irb
0fce6c
pushd %{buildroot}%{gem_dir}/gems/irb-%{irb_version}/lib
0fce6c
find irb -type d -mindepth 1 -exec mkdir %{buildroot}%{ruby_libdir}/'{}' \;
0fce6c
find irb -type f -exec ln -s %{gem_dir}/gems/irb-%{irb_version}/lib/'{}' %{buildroot}%{ruby_libdir}/'{}' \;
0fce6c
popd
0fce6c
0fce6c
mkdir -p %{buildroot}%{gem_dir}/gems/rdoc-%{rdoc_version}/lib
0fce6c
mv %{buildroot}%{ruby_libdir}/rdoc* %{buildroot}%{gem_dir}/gems/rdoc-%{rdoc_version}/lib
0fce6c
mv %{buildroot}%{gem_dir}/specifications/default/rdoc-%{rdoc_version}.gemspec %{buildroot}%{gem_dir}/specifications
0fce6c
0fce6c
mkdir -p %{buildroot}%{gem_dir}/gems/bigdecimal-%{bigdecimal_version}/lib
0fce6c
mkdir -p %{buildroot}%{_libdir}/gems/%{name}/bigdecimal-%{bigdecimal_version}/bigdecimal
0fce6c
mv %{buildroot}%{ruby_libdir}/bigdecimal %{buildroot}%{gem_dir}/gems/bigdecimal-%{bigdecimal_version}/lib
0fce6c
mv %{buildroot}%{ruby_libarchdir}/bigdecimal.so %{buildroot}%{_libdir}/gems/%{name}/bigdecimal-%{bigdecimal_version}
0fce6c
mv %{buildroot}%{ruby_libarchdir}/bigdecimal/util.so %{buildroot}%{_libdir}/gems/%{name}/bigdecimal-%{bigdecimal_version}/bigdecimal
0fce6c
mv %{buildroot}%{gem_dir}/specifications/default/bigdecimal-%{bigdecimal_version}.gemspec %{buildroot}%{gem_dir}/specifications
0fce6c
ln -s %{gem_dir}/gems/bigdecimal-%{bigdecimal_version}/lib/bigdecimal %{buildroot}%{ruby_libdir}/bigdecimal
0fce6c
ln -s %{_libdir}/gems/%{name}/bigdecimal-%{bigdecimal_version}/bigdecimal.so %{buildroot}%{ruby_libarchdir}/bigdecimal.so
0fce6c
ln -s %{_libdir}/gems/%{name}/bigdecimal-%{bigdecimal_version}/bigdecimal/util.so %{buildroot}%{ruby_libarchdir}/bigdecimal/util.so
0fce6c
0fce6c
# TODO: Put help files into proper location.
0fce6c
# https://bugs.ruby-lang.org/issues/15359
0fce6c
mkdir -p %{buildroot}%{gem_dir}/gems/bundler-%{bundler_version}/lib
0fce6c
mv %{buildroot}%{ruby_libdir}/bundler.rb %{buildroot}%{gem_dir}/gems/bundler-%{bundler_version}/lib
0fce6c
mv %{buildroot}%{ruby_libdir}/bundler %{buildroot}%{gem_dir}/gems/bundler-%{bundler_version}/lib
0fce6c
mv %{buildroot}%{gem_dir}/specifications/default/bundler-%{bundler_version}.gemspec %{buildroot}%{gem_dir}/specifications
0fce6c
0fce6c
mkdir -p %{buildroot}%{gem_dir}/gems/io-console-%{io_console_version}/lib
0fce6c
mkdir -p %{buildroot}%{_libdir}/gems/%{name}/io-console-%{io_console_version}/io
0fce6c
mv %{buildroot}%{ruby_libdir}/io %{buildroot}%{gem_dir}/gems/io-console-%{io_console_version}/lib
0fce6c
mv %{buildroot}%{ruby_libarchdir}/io/console.so %{buildroot}%{_libdir}/gems/%{name}/io-console-%{io_console_version}/io
0fce6c
mv %{buildroot}%{gem_dir}/specifications/default/io-console-%{io_console_version}.gemspec %{buildroot}%{gem_dir}/specifications
0fce6c
ln -s %{gem_dir}/gems/io-console-%{io_console_version}/lib/io %{buildroot}%{ruby_libdir}/io
0fce6c
ln -s %{_libdir}/gems/%{name}/io-console-%{io_console_version}/io/console.so %{buildroot}%{ruby_libarchdir}/io/console.so
0fce6c
0fce6c
mkdir -p %{buildroot}%{gem_dir}/gems/json-%{json_version}/lib
0fce6c
mkdir -p %{buildroot}%{_libdir}/gems/%{name}/json-%{json_version}
0fce6c
mv %{buildroot}%{ruby_libdir}/json* %{buildroot}%{gem_dir}/gems/json-%{json_version}/lib
0fce6c
mv %{buildroot}%{ruby_libarchdir}/json/ %{buildroot}%{_libdir}/gems/%{name}/json-%{json_version}/
0fce6c
mv %{buildroot}%{gem_dir}/specifications/default/json-%{json_version}.gemspec %{buildroot}%{gem_dir}/specifications
0fce6c
ln -s %{gem_dir}/gems/json-%{json_version}/lib/json.rb %{buildroot}%{ruby_libdir}/json.rb
0fce6c
ln -s %{gem_dir}/gems/json-%{json_version}/lib/json %{buildroot}%{ruby_libdir}/json
0fce6c
ln -s %{_libdir}/gems/%{name}/json-%{json_version}/json/ %{buildroot}%{ruby_libarchdir}/json
0fce6c
0fce6c
mkdir -p %{buildroot}%{gem_dir}/gems/openssl-%{openssl_version}/lib
0fce6c
mkdir -p %{buildroot}%{_libdir}/gems/%{name}/openssl-%{openssl_version}
0fce6c
mv %{buildroot}%{ruby_libdir}/openssl* %{buildroot}%{gem_dir}/gems/openssl-%{openssl_version}/lib
0fce6c
mv %{buildroot}%{ruby_libarchdir}/openssl.so %{buildroot}%{_libdir}/gems/%{name}/openssl-%{openssl_version}/
0fce6c
mv %{buildroot}%{gem_dir}/specifications/default/openssl-%{openssl_version}.gemspec %{buildroot}%{gem_dir}/specifications
0fce6c
# This used to be directory when OpenSSL was integral part of StdLib => Keep
0fce6c
# it as directory and link everything in it to prevent directory => symlink
0fce6c
# conversion RPM issues.
0fce6c
mkdir -p %{buildroot}%{ruby_libdir}/openssl
0fce6c
find %{buildroot}%{gem_dir}/gems/openssl-%{openssl_version}/lib/openssl -maxdepth 1 -type f -exec \
0fce6c
  sh -c 'ln -s %{gem_dir}/gems/openssl-%{openssl_version}/lib/openssl/`basename {}` %{buildroot}%{ruby_libdir}/openssl' \;
0fce6c
ln -s %{gem_dir}/gems/openssl-%{openssl_version}/lib/openssl.rb %{buildroot}%{ruby_libdir}/openssl.rb
0fce6c
ln -s %{_libdir}/gems/%{name}/openssl-%{openssl_version}/openssl.so %{buildroot}%{ruby_libarchdir}/openssl.so
0fce6c
0fce6c
mkdir -p %{buildroot}%{gem_dir}/gems/psych-%{psych_version}/lib
0fce6c
mkdir -p %{buildroot}%{_libdir}/gems/%{name}/psych-%{psych_version}
0fce6c
mv %{buildroot}%{ruby_libdir}/psych* %{buildroot}%{gem_dir}/gems/psych-%{psych_version}/lib
0fce6c
mv %{buildroot}%{ruby_libarchdir}/psych.so %{buildroot}%{_libdir}/gems/%{name}/psych-%{psych_version}/
0fce6c
mv %{buildroot}%{gem_dir}/specifications/default/psych-%{psych_version}.gemspec %{buildroot}%{gem_dir}/specifications
0fce6c
ln -s %{gem_dir}/gems/psych-%{psych_version}/lib/psych %{buildroot}%{ruby_libdir}/psych
0fce6c
ln -s %{gem_dir}/gems/psych-%{psych_version}/lib/psych.rb %{buildroot}%{ruby_libdir}/psych.rb
0fce6c
ln -s %{_libdir}/gems/%{name}/psych-%{psych_version}/psych.so %{buildroot}%{ruby_libarchdir}/psych.so
0fce6c
0fce6c
# Move the binary extensions into proper place (if no gem has binary extension,
0fce6c
# the extensions directory might be empty).
0fce6c
find %{buildroot}%{gem_dir}/extensions/*-%{_target_os}/%{ruby_version}/* -maxdepth 0 \
0fce6c
  -exec mv '{}' %{buildroot}%{_libdir}/gems/%{name}/ \; \
0fce6c
  || echo "No gem binary extensions to move."
0fce6c
0fce6c
# Adjust the gemspec files so that the gems will load properly
0fce6c
sed -i '/^end$/ i\
0fce6c
  s.extensions = ["json/ext/parser.so", "json/ext/generator.so"]' %{buildroot}%{gem_dir}/specifications/json-%{json_version}.gemspec
0fce6c
0fce6c
# Move man pages into proper location
0fce6c
mv %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/doc/rake.1 %{buildroot}%{_mandir}/man1
0fce6c
0fce6c
%if %{with systemtap}
0fce6c
# Install a tapset and fix up the path to the library.
0fce6c
mkdir -p %{buildroot}%{tapset_dir}
0fce6c
sed -e "s|@LIBRARY_PATH@|%{tapset_libdir}/libruby.so.%{major_minor_version}|" \
0fce6c
  %{SOURCE2} > %{buildroot}%{tapset_dir}/libruby.so.%{major_minor_version}.stp
0fce6c
# Escape '*/' in comment.
0fce6c
sed -i -r "s|( \*.*\*)\/(.*)|\1\\\/\2|" %{buildroot}%{tapset_dir}/libruby.so.%{major_minor_version}.stp
0fce6c
%endif
0fce6c
0fce6c
# Prepare -doc subpackage file lists.
0fce6c
find doc -maxdepth 1 -type f ! -name '.*' ! -name '*.ja*' > .ruby-doc.en
0fce6c
echo 'doc/images' >> .ruby-doc.en
0fce6c
echo 'doc/syntax' >> .ruby-doc.en
0fce6c
0fce6c
find doc -maxdepth 1 -type f -name '*.ja*' > .ruby-doc.ja
0fce6c
echo 'doc/irb' >> .ruby-doc.ja
0fce6c
echo 'doc/pty' >> .ruby-doc.ja
0fce6c
0fce6c
sed -i 's/^/%doc /' .ruby-doc.*
0fce6c
sed -i 's/^/%lang(ja) /' .ruby-doc.ja
0fce6c
0fce6c
# https://github.com/yuki24/did_you_mean/issues/122
0fce6c
rm -rf %{buildroot}%{gem_dir}/gems/did_you_mean-%{did_you_mean_version}/tmp/
0fce6c
0fce6c
# https://github.com/ruby/rake/issues/316
0fce6c
rm -f %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/.gitignore
0fce6c
0fce6c
%check
0fce6c
%if 0%{?with_hardening_test}
0fce6c
# Check Ruby hardening.
bca5ca
checksec --file=libruby.so.%{ruby_version} | \
0fce6c
  grep "Full RELRO.*Canary found.*NX enabled.*DSO.*No RPATH.*No RUNPATH.*Yes.*\d*.*\d*.*libruby.so.%{ruby_version}"
0fce6c
%endif
0fce6c
0fce6c
# Check RubyGems version.
0fce6c
[ "`make runruby TESTRUN_SCRIPT='bin/gem -v' | tail -1`" == '%{rubygems_version}' ]
0fce6c
0fce6c
# Check Rubygems bundled dependencies versions.
0fce6c
0fce6c
# Molinillo.
0fce6c
[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \
0fce6c
  module Gem; module Resolver; end; end; \
0fce6c
  require 'rubygems/resolver/molinillo/lib/molinillo/gem_metadata'; \
0fce6c
  puts Gem::Resolver::Molinillo::VERSION\\\"\" | tail -1`" \
0fce6c
  == '%{rubygems_molinillo_version}' ]
0fce6c
0fce6c
# Check Bundler bundled dependencies versions.
0fce6c
0fce6c
# FileUtils.
0fce6c
# TODO: There is no version in bundled FileUtils yet.
0fce6c
#%%{global bundler_fileutils_version}
0fce6c
0fce6c
# Molinillo.
0fce6c
[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \
0fce6c
  module Bundler; end; \
0fce6c
  require 'bundler/vendor/molinillo/lib/molinillo/gem_metadata'; \
0fce6c
  puts Bundler::Molinillo::VERSION\\\"\" | tail -1`" \
0fce6c
  == '%{bundler_molinillo_version}' ]
0fce6c
0fce6c
# Net::HTTP::Persistent.
0fce6c
[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \
0fce6c
  module Bundler; module Persistent; module Net; module HTTP; \
0fce6c
  end; end; end; end; \
0fce6c
  require 'bundler/vendor/net-http-persistent/lib/net/http/persistent'; \
0fce6c
  puts Bundler::Persistent::Net::HTTP::Persistent::VERSION\\\"\" | tail -1`" \
0fce6c
  == '%{bundler_net_http_persistent_version}' ]
0fce6c
0fce6c
# Thor.
0fce6c
[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \
0fce6c
  module Bundler; end; \
0fce6c
  require 'bundler/vendor/thor/lib/thor/version'; \
0fce6c
  puts Bundler::Thor::VERSION\\\"\" | tail -1`" \
0fce6c
  == '%{bundler_thor_version}' ]
0fce6c
0fce6c
0fce6c
# test_debug(TestRubyOptions) fails due to LoadError reported in debug mode,
0fce6c
# when abrt.rb cannot be required (seems to be easier way then customizing
0fce6c
# the test suite).
0fce6c
touch abrt.rb
0fce6c
0fce6c
# Check if abrt hook is required (RubyGems are disabled by default when using
0fce6c
# runruby, so re-enable them).
0fce6c
make runruby TESTRUN_SCRIPT="--enable-gems %{SOURCE13}"
0fce6c
0fce6c
# Check if systemtap is supported.
0fce6c
%{?with_systemtap:make runruby TESTRUN_SCRIPT=%{SOURCE14}}
0fce6c
0fce6c
DISABLE_TESTS=""
0fce6c
MSPECOPTS=""
0fce6c
0fce6c
# Avoid `hostname' dependency.
0fce6c
%{!?with_hostname:MSPECOPTS="-P 'Socket.gethostname returns the host name'"}
0fce6c
0fce6c
# SIGSEV handler does not provide correct output on AArch64.
0fce6c
# https://bugs.ruby-lang.org/issues/13758
0fce6c
%ifarch aarch64
0fce6c
DISABLE_TESTS="$DISABLE_TESTS -n !/test_segv_\(setproctitle\|test\|loaded_features\)/"
0fce6c
%endif
0fce6c
0fce6c
# Disable failing TestResolvMDNS#test_mdns_each_address test,
0fce6c
# which fails on Koji.
0fce6c
# https://bugs.ruby-lang.org/issues/14175
0fce6c
sed -i '/def test_mdns_each_address$/,/^  end$/ s/^/#/' test/resolv/test_mdns.rb
bca5ca
# Disable Timeouting test_queue_with_trap
bca5ca
# https://github.com/ruby/ruby/pull/3101/
bca5ca
sed -i '/^  def test_queue_with_trap$/,/^  end$/ s/^/#/g' \
bca5ca
  test/ruby/test_thread_queue.rb
bca5ca
# Disable "File.utime allows Time instances in the far future to set
bca5ca
# mtime and atime".
bca5ca
# https://bugs.ruby-lang.org/issues/16410
bca5ca
MSPECOPTS="$MSPECOPTS -P 'File.utime allows Time instances in the far future to set mtime and atime'"
0fce6c
07f2a6
# For now, disable JIT tests in RHEL 8.
07f2a6
# https://bugzilla.redhat.com/show_bug.cgi?id=1721553
07f2a6
mv test/ruby/test_jit.rb{,.disabled}
07f2a6
sed \
07f2a6
  -e '/^  def test_pause$/,/^  end$/ s/^/#/' \
07f2a6
  -e '/^  def test_pause_waits_until_compaction$/,/^  end$/ s/^/#/' \
07f2a6
  -i test/ruby/test_rubyvm_mjit.rb
07f2a6
0fce6c
# RHEL8 is using stronger crypto policies then Fedora ATM and upstream does
0fce6c
# not support them yet. Disable the RHEL8 configuration for the moment.
0fce6c
# https://github.com/ruby/openssl/issues/215
0fce6c
OPENSSL_SYSTEM_CIPHERS_OVERRIDE=xyz_nonexistent_file OPENSSL_CONF='' \
0fce6c
  make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
0fce6c
07f2a6
%if %{with bundler_tests}
07f2a6
cat "%{PATCH28}" | patch -p1
07f2a6
cat "%{PATCH29}" | patch -p1
07f2a6
# Only run specific tests, as there are some failures in other tests.
07f2a6
make test-bundler V=1 RSPECOPTS="--format d" BUNDLER_SPECS=bundler/definition_dep_confusion_spec.rb
07f2a6
%endif
07f2a6
0fce6c
%files
0fce6c
%license BSDL
0fce6c
%license COPYING
0fce6c
%lang(ja) %license COPYING.ja
0fce6c
%license GPL
0fce6c
%license LEGAL
0fce6c
%{_bindir}/erb
0fce6c
%{_bindir}/%{name}%{?with_rubypick:-mri}
0fce6c
%{_mandir}/man1/erb*
0fce6c
%{_mandir}/man1/ruby*
0fce6c
0fce6c
%files devel
0fce6c
%license BSDL
0fce6c
%license COPYING
0fce6c
%lang(ja) %license COPYING.ja
0fce6c
%license GPL
0fce6c
%license LEGAL
0fce6c
0fce6c
%{_rpmconfigdir}/macros.d/macros.ruby
0fce6c
0fce6c
%{_includedir}/*
0fce6c
%{_libdir}/libruby.so
0fce6c
%{_libdir}/pkgconfig/%{name}.pc
0fce6c
0fce6c
%files libs
0fce6c
%license COPYING
0fce6c
%lang(ja) %license COPYING.ja
0fce6c
%license GPL
0fce6c
%license LEGAL
0fce6c
%doc README.md
0fce6c
%doc NEWS
0fce6c
# Exclude /usr/local directory since it is supposed to be managed by
0fce6c
# local system administrator.
0fce6c
%exclude %{ruby_sitelibdir}
0fce6c
%exclude %{ruby_sitearchdir}
0fce6c
%dir %{ruby_vendorlibdir}
0fce6c
%dir %{ruby_vendorarchdir}
0fce6c
0fce6c
# List all these files explicitly to prevent surprises
0fce6c
# Platform independent libraries.
0fce6c
%dir %{ruby_libdir}
0fce6c
%{ruby_libdir}/*.rb
0fce6c
%exclude %{ruby_libdir}/irb.rb
0fce6c
%exclude %{ruby_libdir}/json.rb
0fce6c
%exclude %{ruby_libdir}/openssl.rb
0fce6c
%exclude %{ruby_libdir}/psych.rb
0fce6c
%{ruby_libdir}/cgi
0fce6c
%{ruby_libdir}/csv
0fce6c
%{ruby_libdir}/digest
0fce6c
%{ruby_libdir}/drb
0fce6c
%{ruby_libdir}/e2mmap
0fce6c
%{ruby_libdir}/fiddle
0fce6c
%{ruby_libdir}/fileutils
0fce6c
%{ruby_libdir}/forwardable
0fce6c
%{ruby_libdir}/matrix
0fce6c
%{ruby_libdir}/net
0fce6c
%{ruby_libdir}/optparse
0fce6c
%{ruby_libdir}/racc
0fce6c
%{ruby_libdir}/rexml
0fce6c
%{ruby_libdir}/rinda
0fce6c
%{ruby_libdir}/ripper
0fce6c
%{ruby_libdir}/rss
0fce6c
%{ruby_libdir}/shell
0fce6c
%{ruby_libdir}/syslog
0fce6c
%{ruby_libdir}/thwait
0fce6c
%{ruby_libdir}/tracer
0fce6c
%{ruby_libdir}/unicode_normalize
0fce6c
%{ruby_libdir}/uri
0fce6c
%{ruby_libdir}/webrick
0fce6c
%{ruby_libdir}/yaml
0fce6c
0fce6c
# Platform specific libraries.
0fce6c
%{_libdir}/libruby.so.*
0fce6c
%dir %{ruby_libarchdir}
0fce6c
%dir %{ruby_libarchdir}/cgi
0fce6c
%{ruby_libarchdir}/cgi/escape.so
0fce6c
%{ruby_libarchdir}/continuation.so
0fce6c
%{ruby_libarchdir}/coverage.so
0fce6c
%{ruby_libarchdir}/date_core.so
0fce6c
%{ruby_libarchdir}/dbm.so
0fce6c
%dir %{ruby_libarchdir}/digest
0fce6c
%{ruby_libarchdir}/digest.so
0fce6c
%{ruby_libarchdir}/digest/bubblebabble.so
0fce6c
%{ruby_libarchdir}/digest/md5.so
0fce6c
%{ruby_libarchdir}/digest/rmd160.so
0fce6c
%{ruby_libarchdir}/digest/sha1.so
0fce6c
%{ruby_libarchdir}/digest/sha2.so
0fce6c
%dir %{ruby_libarchdir}/enc
0fce6c
%{ruby_libarchdir}/enc/big5.so
0fce6c
%{ruby_libarchdir}/enc/cp949.so
0fce6c
%{ruby_libarchdir}/enc/emacs_mule.so
0fce6c
%{ruby_libarchdir}/enc/encdb.so
0fce6c
%{ruby_libarchdir}/enc/euc_jp.so
0fce6c
%{ruby_libarchdir}/enc/euc_kr.so
0fce6c
%{ruby_libarchdir}/enc/euc_tw.so
0fce6c
%{ruby_libarchdir}/enc/gb18030.so
0fce6c
%{ruby_libarchdir}/enc/gb2312.so
0fce6c
%{ruby_libarchdir}/enc/gbk.so
0fce6c
%{ruby_libarchdir}/enc/iso_8859_1.so
0fce6c
%{ruby_libarchdir}/enc/iso_8859_10.so
0fce6c
%{ruby_libarchdir}/enc/iso_8859_11.so
0fce6c
%{ruby_libarchdir}/enc/iso_8859_13.so
0fce6c
%{ruby_libarchdir}/enc/iso_8859_14.so
0fce6c
%{ruby_libarchdir}/enc/iso_8859_15.so
0fce6c
%{ruby_libarchdir}/enc/iso_8859_16.so
0fce6c
%{ruby_libarchdir}/enc/iso_8859_2.so
0fce6c
%{ruby_libarchdir}/enc/iso_8859_3.so
0fce6c
%{ruby_libarchdir}/enc/iso_8859_4.so
0fce6c
%{ruby_libarchdir}/enc/iso_8859_5.so
0fce6c
%{ruby_libarchdir}/enc/iso_8859_6.so
0fce6c
%{ruby_libarchdir}/enc/iso_8859_7.so
0fce6c
%{ruby_libarchdir}/enc/iso_8859_8.so
0fce6c
%{ruby_libarchdir}/enc/iso_8859_9.so
0fce6c
%{ruby_libarchdir}/enc/koi8_r.so
0fce6c
%{ruby_libarchdir}/enc/koi8_u.so
0fce6c
%{ruby_libarchdir}/enc/shift_jis.so
0fce6c
%dir %{ruby_libarchdir}/enc/trans
0fce6c
%{ruby_libarchdir}/enc/trans/big5.so
0fce6c
%{ruby_libarchdir}/enc/trans/chinese.so
0fce6c
%{ruby_libarchdir}/enc/trans/ebcdic.so
0fce6c
%{ruby_libarchdir}/enc/trans/emoji.so
0fce6c
%{ruby_libarchdir}/enc/trans/emoji_iso2022_kddi.so
0fce6c
%{ruby_libarchdir}/enc/trans/emoji_sjis_docomo.so
0fce6c
%{ruby_libarchdir}/enc/trans/emoji_sjis_kddi.so
0fce6c
%{ruby_libarchdir}/enc/trans/emoji_sjis_softbank.so
0fce6c
%{ruby_libarchdir}/enc/trans/escape.so
0fce6c
%{ruby_libarchdir}/enc/trans/gb18030.so
0fce6c
%{ruby_libarchdir}/enc/trans/gbk.so
0fce6c
%{ruby_libarchdir}/enc/trans/iso2022.so
0fce6c
%{ruby_libarchdir}/enc/trans/japanese.so
0fce6c
%{ruby_libarchdir}/enc/trans/japanese_euc.so
0fce6c
%{ruby_libarchdir}/enc/trans/japanese_sjis.so
0fce6c
%{ruby_libarchdir}/enc/trans/korean.so
0fce6c
%{ruby_libarchdir}/enc/trans/single_byte.so
0fce6c
%{ruby_libarchdir}/enc/trans/transdb.so
0fce6c
%{ruby_libarchdir}/enc/trans/utf8_mac.so
0fce6c
%{ruby_libarchdir}/enc/trans/utf_16_32.so
0fce6c
%{ruby_libarchdir}/enc/utf_16be.so
0fce6c
%{ruby_libarchdir}/enc/utf_16le.so
0fce6c
%{ruby_libarchdir}/enc/utf_32be.so
0fce6c
%{ruby_libarchdir}/enc/utf_32le.so
0fce6c
%{ruby_libarchdir}/enc/windows_1250.so
0fce6c
%{ruby_libarchdir}/enc/windows_1251.so
0fce6c
%{ruby_libarchdir}/enc/windows_1252.so
0fce6c
%{ruby_libarchdir}/enc/windows_1253.so
0fce6c
%{ruby_libarchdir}/enc/windows_1254.so
0fce6c
%{ruby_libarchdir}/enc/windows_1257.so
0fce6c
%{ruby_libarchdir}/enc/windows_31j.so
0fce6c
%{ruby_libarchdir}/etc.so
0fce6c
%{ruby_libarchdir}/fcntl.so
0fce6c
%{ruby_libarchdir}/fiber.so
0fce6c
%{ruby_libarchdir}/fiddle.so
0fce6c
%{ruby_libarchdir}/gdbm.so
0fce6c
%dir %{ruby_libarchdir}/io
0fce6c
%{ruby_libarchdir}/io/nonblock.so
0fce6c
%{ruby_libarchdir}/io/wait.so
0fce6c
%{ruby_libarchdir}/nkf.so
0fce6c
%{ruby_libarchdir}/objspace.so
0fce6c
%{ruby_libarchdir}/pathname.so
0fce6c
%{ruby_libarchdir}/pty.so
0fce6c
%dir %{ruby_libarchdir}/racc
0fce6c
%{ruby_libarchdir}/racc/cparse.so
0fce6c
%dir %{ruby_libarchdir}/rbconfig
0fce6c
%{ruby_libarchdir}/rbconfig.rb
0fce6c
%{ruby_libarchdir}/rbconfig/sizeof.so
0fce6c
%{ruby_libarchdir}/readline.so
0fce6c
%{ruby_libarchdir}/ripper.so
0fce6c
%{ruby_libarchdir}/sdbm.so
0fce6c
%{ruby_libarchdir}/socket.so
0fce6c
%{ruby_libarchdir}/stringio.so
0fce6c
%{ruby_libarchdir}/strscan.so
0fce6c
%{ruby_libarchdir}/syslog.so
0fce6c
%{ruby_libarchdir}/zlib.so
0fce6c
0fce6c
%{?with_systemtap:%{tapset_root}}
0fce6c
0fce6c
%files -n rubygems
0fce6c
%{_bindir}/gem
0fce6c
%dir %{rubygems_dir}
0fce6c
%{rubygems_dir}/rubygems
0fce6c
%{rubygems_dir}/rubygems.rb
0fce6c
0fce6c
# Explicitly include only RubyGems directory strucure to avoid accidentally
0fce6c
# packaged content.
0fce6c
%dir %{gem_dir}
0fce6c
%dir %{gem_dir}/build_info
0fce6c
%dir %{gem_dir}/cache
0fce6c
%dir %{gem_dir}/doc
0fce6c
%dir %{gem_dir}/extensions
0fce6c
%dir %{gem_dir}/gems
0fce6c
%dir %{gem_dir}/specifications
0fce6c
%dir %{gem_dir}/specifications/default
0fce6c
%dir %{_exec_prefix}/lib*/gems
0fce6c
%dir %{_exec_prefix}/lib*/gems/ruby
0fce6c
0fce6c
%exclude %{gem_dir}/cache/*
0fce6c
0fce6c
# TODO: Gemify these libraries
0fce6c
%{gem_dir}/specifications/default/cmath-1.0.0.gemspec
0fce6c
%{gem_dir}/specifications/default/csv-3.0.9.gemspec
ec461f
%{gem_dir}/specifications/default/date-2.0.3.gemspec
0fce6c
%{gem_dir}/specifications/default/dbm-1.0.0.gemspec
0fce6c
%{gem_dir}/specifications/default/e2mmap-0.1.0.gemspec
0fce6c
%{gem_dir}/specifications/default/etc-1.0.1.gemspec
0fce6c
%{gem_dir}/specifications/default/fcntl-1.0.0.gemspec
0fce6c
%{gem_dir}/specifications/default/fiddle-1.0.0.gemspec
0fce6c
%{gem_dir}/specifications/default/fileutils-1.1.0.gemspec
0fce6c
%{gem_dir}/specifications/default/forwardable-1.2.0.gemspec
0fce6c
%{gem_dir}/specifications/default/gdbm-2.0.0.gemspec
0fce6c
%{gem_dir}/specifications/default/ipaddr-1.2.2.gemspec
0fce6c
%{gem_dir}/specifications/default/logger-1.3.0.gemspec
0fce6c
%{gem_dir}/specifications/default/matrix-0.1.0.gemspec
0fce6c
%{gem_dir}/specifications/default/mutex_m-0.1.0.gemspec
0fce6c
%{gem_dir}/specifications/default/ostruct-0.1.0.gemspec
0fce6c
%{gem_dir}/specifications/default/prime-0.1.0.gemspec
bca5ca
%{gem_dir}/specifications/default/rexml-3.1.9.1.gemspec
0fce6c
%{gem_dir}/specifications/default/rss-0.2.7.gemspec
0fce6c
%{gem_dir}/specifications/default/scanf-1.0.0.gemspec
0fce6c
%{gem_dir}/specifications/default/sdbm-1.0.0.gemspec
0fce6c
%{gem_dir}/specifications/default/shell-0.7.gemspec
0fce6c
%{gem_dir}/specifications/default/stringio-0.0.2.gemspec
0fce6c
%{gem_dir}/specifications/default/strscan-1.0.0.gemspec
0fce6c
%{gem_dir}/specifications/default/sync-0.5.0.gemspec
0fce6c
%{gem_dir}/specifications/default/thwait-0.1.0.gemspec
0fce6c
%{gem_dir}/specifications/default/tracer-0.1.0.gemspec
bca5ca
%{gem_dir}/specifications/default/webrick-1.4.4.gemspec
0fce6c
%{gem_dir}/specifications/default/zlib-1.0.0.gemspec
0fce6c
0fce6c
%files -n rubygems-devel
0fce6c
%{_rpmconfigdir}/macros.d/macros.rubygems
0fce6c
%{_rpmconfigdir}/fileattrs/rubygems.attr
0fce6c
%{_rpmconfigdir}/rubygems.req
0fce6c
%{_rpmconfigdir}/rubygems.prov
0fce6c
%{_rpmconfigdir}/rubygems.con
0fce6c
0fce6c
%files -n rubygem-rake
0fce6c
%{_bindir}/rake
0fce6c
%{gem_dir}/gems/rake-%{rake_version}
0fce6c
%{gem_dir}/specifications/rake-%{rake_version}.gemspec
0fce6c
%{_mandir}/man1/rake.1*
0fce6c
0fce6c
%files -n rubygem-irb
0fce6c
%{_bindir}/irb
0fce6c
%{ruby_libdir}/irb*
0fce6c
%{gem_dir}/gems/irb-%{irb_version}
0fce6c
%{gem_dir}/specifications/irb-%{irb_version}.gemspec
0fce6c
%{_mandir}/man1/irb.1*
0fce6c
0fce6c
%files -n rubygem-rdoc
0fce6c
%{_bindir}/rdoc
0fce6c
%{_bindir}/ri
0fce6c
%{gem_dir}/gems/rdoc-%{rdoc_version}
0fce6c
%{gem_dir}/specifications/rdoc-%{rdoc_version}.gemspec
0fce6c
%{_mandir}/man1/ri*
0fce6c
0fce6c
%files doc -f .ruby-doc.en -f .ruby-doc.ja
0fce6c
%doc README.md
0fce6c
%doc ChangeLog
0fce6c
%{?with_systemtap:%doc ruby-exercise.stp}
0fce6c
%{_datadir}/ri
0fce6c
0fce6c
%files -n rubygem-bigdecimal
0fce6c
%{ruby_libdir}/bigdecimal
0fce6c
%{ruby_libarchdir}/bigdecimal*
0fce6c
%{_libdir}/gems/%{name}/bigdecimal-%{bigdecimal_version}
0fce6c
%{gem_dir}/gems/bigdecimal-%{bigdecimal_version}
0fce6c
%{gem_dir}/specifications/bigdecimal-%{bigdecimal_version}.gemspec
0fce6c
0fce6c
%files -n rubygem-did_you_mean
0fce6c
%{gem_dir}/gems/did_you_mean-%{did_you_mean_version}
0fce6c
%exclude %{gem_dir}/gems/did_you_mean-%{did_you_mean_version}/.*
0fce6c
%{gem_dir}/specifications/did_you_mean-%{did_you_mean_version}.gemspec
0fce6c
0fce6c
%files -n rubygem-io-console
0fce6c
%{ruby_libdir}/io
0fce6c
%{ruby_libarchdir}/io/console.so
0fce6c
%{_libdir}/gems/%{name}/io-console-%{io_console_version}
0fce6c
%{gem_dir}/gems/io-console-%{io_console_version}
0fce6c
%{gem_dir}/specifications/io-console-%{io_console_version}.gemspec
0fce6c
0fce6c
%files -n rubygem-json
0fce6c
%{ruby_libdir}/json*
0fce6c
%{ruby_libarchdir}/json*
0fce6c
%{_libdir}/gems/%{name}/json-%{json_version}
0fce6c
%{gem_dir}/gems/json-%{json_version}
0fce6c
%{gem_dir}/specifications/json-%{json_version}.gemspec
0fce6c
0fce6c
%files -n rubygem-minitest
0fce6c
%{gem_dir}/gems/minitest-%{minitest_version}
0fce6c
%exclude %{gem_dir}/gems/minitest-%{minitest_version}/.*
0fce6c
%{gem_dir}/specifications/minitest-%{minitest_version}.gemspec
0fce6c
0fce6c
%files -n rubygem-openssl
0fce6c
%{ruby_libdir}/openssl
0fce6c
%{ruby_libdir}/openssl.rb
0fce6c
%{ruby_libarchdir}/openssl.so
0fce6c
%{_libdir}/gems/%{name}/openssl-%{openssl_version}
0fce6c
%{gem_dir}/gems/openssl-%{openssl_version}
0fce6c
%{gem_dir}/specifications/openssl-%{openssl_version}.gemspec
0fce6c
0fce6c
%files -n rubygem-power_assert
0fce6c
%{gem_dir}/gems/power_assert-%{power_assert_version}
0fce6c
%exclude %{gem_dir}/gems/power_assert-%{power_assert_version}/.*
0fce6c
%{gem_dir}/specifications/power_assert-%{power_assert_version}.gemspec
0fce6c
0fce6c
%files -n rubygem-psych
0fce6c
%{ruby_libdir}/psych
0fce6c
%{ruby_libdir}/psych.rb
0fce6c
%{ruby_libarchdir}/psych.so
0fce6c
%{_libdir}/gems/%{name}/psych-%{psych_version}
0fce6c
%{gem_dir}/gems/psych-%{psych_version}
0fce6c
%{gem_dir}/specifications/psych-%{psych_version}.gemspec
0fce6c
0fce6c
%files -n rubygem-net-telnet
0fce6c
%{gem_dir}/gems/net-telnet-%{net_telnet_version}
0fce6c
%exclude %{gem_dir}/gems/net-telnet-%{net_telnet_version}/.*
0fce6c
%{gem_dir}/specifications/net-telnet-%{net_telnet_version}.gemspec
0fce6c
0fce6c
%files -n rubygem-test-unit
0fce6c
%{gem_dir}/gems/test-unit-%{test_unit_version}
0fce6c
%{gem_dir}/specifications/test-unit-%{test_unit_version}.gemspec
0fce6c
0fce6c
%files -n rubygem-xmlrpc
0fce6c
%license %{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/LICENSE.txt
0fce6c
%dir %{gem_dir}/gems/xmlrpc-%{xmlrpc_version}
0fce6c
%exclude %{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/.*
0fce6c
%{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/Gemfile
0fce6c
%{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/Rakefile
0fce6c
%doc %{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/README.md
0fce6c
%{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/bin
0fce6c
%{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/lib
0fce6c
%{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/xmlrpc.gemspec
0fce6c
%{gem_dir}/specifications/xmlrpc-%{xmlrpc_version}.gemspec
0fce6c
0fce6c
%files -n rubygem-bundler
0fce6c
%{_bindir}/bundle
0fce6c
%{_bindir}/bundler
0fce6c
%{gem_dir}/gems/bundler-%{bundler_version}
0fce6c
%{gem_dir}/specifications/bundler-%{bundler_version}.gemspec
0fce6c
%{_mandir}/man1/bundle*.1*
0fce6c
%{_mandir}/man5/gemfile.5*
0fce6c
0fce6c
%changelog
ec461f
* Thu May 19 2022 Vít Ondruch <vondruch@redhat.com> - 2.6.10-109
ec461f
- Upgrade to Ruby 2.6.10.
ec461f
  Resolves: rhbz#2088415
ec461f
- Fix buffer overrun in String-to-Float conversion.
ec461f
  Resolves: CVE-2022-28739
ec461f
- Fix FTBFS due to an incompatible load directive.
ec461f
- Fix a fiddle import test on an optimized glibc on Power 9.
ec461f
07f2a6
* Wed Dec 08 2021 Jun Aruga <jaruga@redhat.com> - 2.6.9-108
07f2a6
- Upgrade to Ruby 2.6.9.
07f2a6
- Skip JIT tests in RHEL 8.
07f2a6
- Fix the issues required to start the "make test-bundler" itself.
07f2a6
- Fix Bundler dependency confusion.
07f2a6
  Resolves: CVE-2020-36327
07f2a6
bca5ca
* Wed Apr 14 2021 Jarek Prokop <jprokop@redhat.com> - 2.6.7-107
bca5ca
- Upgrade to Ruby 2.6.7.
07f2a6
  Resolves: rhbz#1757846
bca5ca
- Resolv::DNS: timeouts if multiple IPv6 name servers are given an address
bca5ca
  containing leading zero
07f2a6
  Resolves: rhbz#1950307
bca5ca
- Fix: Rubygem-bundler: Don't use insecure tmp directory as home
bca5ca
  allows for execution of malicious code.
07f2a6
  Resolves: CVE-2019-3881
bca5ca
0fce6c
* Thu Jul 04 2019 Jun Aruga <jaruga@redhat.com> - 2.6.3-106
0fce6c
- Use ffi_closure_alloc to avoid segmentation fault by libffi on aarch64.
0fce6c
  Resolves: rhbz#1727832
0fce6c
- Properly support %%prerelease in %%gemspec_ macros.
0fce6c
  Related: rhbz#1672575
0fce6c
0fce6c
* Tue Jun 11 2019 Jun Aruga <jaruga@redhat.com> - 2.6.3-105
0fce6c
- Update to Ruby 2.6.3 by merging Fedora master branch (commit: 1cc2a49)
0fce6c
  * Properly generate "ruby(rubygems)" versioned dependencies.
0fce6c
  * Extract composition of dependecy strings into helper.
0fce6c
  * Loosen RDoc dependency.
0fce6c
  * Upstream fix adding -C flag instead of changing directory for gem build.
0fce6c
  * Remove obsolete Group tag
0fce6c
  * Fix ".include =" support in openssl.cnf.
0fce6c
  * Link IRB back to StdLib.
0fce6c
  * Link IRB files instead of directories.
0fce6c
  * Exclude irb.rb from ruby-libs.
0fce6c
  Resolves: rhbz#1672575
0fce6c
0fce6c
* Wed Apr 17 2019 Vít Ondruch <vondruch@redhat.com> - 2.5.5-104
0fce6c
- Update to Ruby 2.5.5.
0fce6c
  * Remove Patch25: ruby-2.6.0-Update-for-tzdata-2018f.patch; subsumed
0fce6c
  * Remove Patch11: ruby-2.6.0-Try-to-update-cert.patch; subsumed
0fce6c
  * Remove Patch19: ruby-2.6.0-net-http-net-ftp-fix-session-resumption-with
0fce6c
      -TLS-1.3.patch; subsumed
0fce6c
  Resolves: rhbz#1688758
0fce6c
- Don't ship .stp files when SystemTap support is disabled.
0fce6c
  Related: rhbz#1657915
0fce6c
- Fix CovScan issues.
0fce6c
  Resolves: rhbz#1628592
0fce6c
0fce6c
* Fri Jan 11 2019 Jun Aruga <jaruga@redhat.com> - 2.5.3-103
0fce6c
- Refresh expired certificates to fix FTBFS.
0fce6c
0fce6c
* Tue Nov 13 2018 Vít Ondruch <vondruch@redhat.com> - 2.5.3-102
0fce6c
- Fix Tokyo TZ tests.
0fce6c
0fce6c
* Fri Oct 19 2018 Jun Aruga <jaruga@redhat.com> - 2.5.3-101
0fce6c
- Update to Ruby 2.5.3.
0fce6c
  Resolves: rhbz#1643092
0fce6c
0fce6c
* Mon Sep 03 2018 Vít Ondruch <vondruch@redhat.com> - 2.5.1-100
0fce6c
- Properly harden package using -fstack-protector-strong.
0fce6c
  * ruby-2.6.0-configure-fstack-protector-strong.patch
0fce6c
  Resolves: rhbz#1624168
0fce6c
0fce6c
* Wed Aug 29 2018 Vít Ondruch <vondruch@redhat.com> - 2.5.1-99
0fce6c
- Additional OpenSSL 1.1.1 fixes.
0fce6c
  * ruby-2.6.0-fix-test-failure-with-TLS-1.3-maint.patch
0fce6c
  * ruby-2.6.0-config-support-include-directive.patch
0fce6c
  * ruby-2.6.0-use-larger-keys-for-SSL-tests.patch
0fce6c
  Related: rhbz#1616213
0fce6c
0fce6c
* Tue Aug 28 2018 Jun Aruga <jaruga@redhat.com> - 2.5.1-99
0fce6c
- Fix generated rdoc template issues.
0fce6c
  * ruby-2.6.0-rdoc-6.0.1-fix-template-typo.patch
0fce6c
  Resolves: rhbz#1612026
0fce6c
0fce6c
* Mon Aug 13 2018 Vít Ondruch <vondruch@redhat.com> - 2.5.1-97
0fce6c
- Fix TLS 1.3 issues.
0fce6c
  * ruby-2.6.0-fix-test-failure-with-TLS-1.3.patch
0fce6c
  * ruby-2.6.0-net-http-net-ftp-fix-session-resumption-with-TLS-1.3.patch
0fce6c
  Related: rhbz#1616213
0fce6c
0fce6c
* Sat Aug 11 2018 Troy Dawson <tdawson@redhat.com> - 2.5.1-96
0fce6c
- turn off tests
0fce6c
- Related: bug#1614611
0fce6c
0fce6c
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 2.5.1-96
0fce6c
- Rebuild with fixed binutils
0fce6c
0fce6c
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.5.1-95
0fce6c
- Rebuild for new binutils
0fce6c
0fce6c
* Thu Jul 26 2018 Vít Ondruch <vondruch@redhat.com> - 2.5.1-94
0fce6c
- Disable some test failing with OpenSSL 1.1.1.
0fce6c
0fce6c
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.1-94
0fce6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0fce6c
0fce6c
* Thu May 10 2018 Pavel Valena <pvalena@redhat.com> - 2.5.1-93
0fce6c
- Add macros to edit files lists in .gemspec
0fce6c
  (gemspec_add_file and gemspec_remove_file).
0fce6c
0fce6c
* Wed May 02 2018 Vít Ondruch <vondruch@redhat.com> - 2.5.1-93
0fce6c
- Make %%gemspec_{add,remove}_dep modify .gemspec provided by %%setup macro.
0fce6c
0fce6c
* Tue Apr 10 2018 Vít Ondruch <vondruch@redhat.com> - 2.5.1-92
0fce6c
- Conflict requirement needs to generate dependency.
0fce6c
- Stop using --with-setjmp-type=setjmp on aarch64 (rhbz#1545239).
0fce6c
0fce6c
* Thu Mar 29 2018 Pavel Valena <pvalena@redhat.com> - 2.5.1-92
0fce6c
- Update to Ruby 2.5.1.
0fce6c
0fce6c
* Mon Mar 05 2018 Vít Ondruch <vondruch@redhat.com> - 2.5.0-91
0fce6c
- Don't force libraries used to build Ruby to its dependencies.
0fce6c
- Re-enable GMP dependency.
0fce6c
0fce6c
* Thu Mar 01 2018 Vít Ondruch <vondruch@redhat.com> - 2.5.0-90
0fce6c
- Drop GMP dependency.
0fce6c
0fce6c
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 2.5.0-89
0fce6c
- Rebuild with new LDFLAGS from redhat-rpm-config
0fce6c
- Use --with-setjmp-type=setjmp on aarch64 to work around gcc issue (#1545239)
0fce6c
0fce6c
* Wed Feb 21 2018 Pavel Valena <pvalena@redhat.com> - 2.5.0-89
0fce6c
- Fix: Multiple vulnerabilities in RubyGems
0fce6c
  https://bugzilla.redhat.com/show_bug.cgi?id=1547431
0fce6c
  https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/
0fce6c
0fce6c
* Tue Feb 13 2018 Vít Ondruch <vondruch@redhat.com> - 2.5.0-89
0fce6c
- Drop obsolete ldconfig scriptlets.
0fce6c
- Add GMP dependency.
0fce6c
- Use 'with' operator in RPM dependency generator.
0fce6c
- Add conflicts RPM generator.
0fce6c
- Fix thread_safe test suite segfaults.
0fce6c
- Fix invalid licenses.
0fce6c
0fce6c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-89
0fce6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
0fce6c
0fce6c
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 2.5.0-88
0fce6c
- Rebuilt for switch to libxcrypt
0fce6c
0fce6c
* Tue Jan 09 2018 Vít Ondruch <vondruch@redhat.com> - 2.5.0-87
0fce6c
- Fix segfaults during generating of documentation.
0fce6c
0fce6c
* Tue Jan 02 2018 Vít Ondruch <vondruch@redhat.com> - 2.5.0-86
0fce6c
- Upgrade to Ruby 2.5.0.
0fce6c
0fce6c
* Fri Oct 27 2017 Jun Aruga <jaruga@redhat.com> - 2.4.2-86
0fce6c
- Add macro to remove rubypick dependency.
0fce6c
- Improve "with" conditional statement as inline.
0fce6c
0fce6c
* Thu Oct 19 2017 Jun Aruga <jaruga@redhat.com> - 2.4.2-85
0fce6c
- Add macros to remove systemtap, git and cmake dependencies.
0fce6c
0fce6c
* Mon Sep 18 2017 Pavel Valena <pvalena@redhat.com> - 2.4.2-84
0fce6c
- Update to Ruby 2.4.2.
0fce6c
0fce6c
* Fri Sep 08 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.1-84
0fce6c
- Drop ruby-devel dependency on rubypick, which is pulled in transtitively.
0fce6c
0fce6c
* Fri Aug 11 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.1-83
0fce6c
- Fix "IOError: stream closed" errors affecting Puma.
0fce6c
- Temporary disable checksec on PPC64LE (rhbz#1479302).
0fce6c
0fce6c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-82
0fce6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
0fce6c
0fce6c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-81
0fce6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0fce6c
0fce6c
* Thu Jul 20 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.1-80
0fce6c
- OpenSSL 1.1.0f-3 disables some weak ciphers. Adjust the package to pass
0fce6c
  the tests suite.
0fce6c
0fce6c
* Mon Apr 03 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.1-79
0fce6c
- Update to Ruby 2.4.1.
0fce6c
0fce6c
* Thu Feb 23 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.0-78
0fce6c
- Fix OpenSSL symlinks.
0fce6c
0fce6c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-77
0fce6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0fce6c
0fce6c
* Fri Feb 03 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.0-76
0fce6c
- Fix GCC 7.x compatibility (rhbz#1417590).
0fce6c
- Use standardized multilib solution (rhbz#1412274).
0fce6c
0fce6c
* Tue Jan 17 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.0-75
0fce6c
- Apply patch fixing rubygem-mongo build failures.
0fce6c
0fce6c
* Fri Jan 13 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.4.0-74
0fce6c
- Rebuild again for f26-ruby24 sidetag
0fce6c
0fce6c
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 2.4.0-73
0fce6c
- Rebuild for readline 7.x
0fce6c
0fce6c
* Wed Jan 11 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.0-72
0fce6c
- Link files into directory to avoid dir => symlink isues.
0fce6c
0fce6c
* Mon Jan 09 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.0-71
0fce6c
- Add rubygem-io-console dependency for rubygem-rdoc.
0fce6c
0fce6c
* Mon Jan 02 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.0-70
0fce6c
- Upgrade to Ruby 2.4.0.
0fce6c
- Move gemified xmlrpc into subpackage.
0fce6c
- Move gemified openssl into subpackage.
0fce6c
- Tk is removed from stdlib.
0fce6c
- Extend 'gem_' macros for pre-release version support.
0fce6c
0fce6c
* Tue Nov 22 2016 Vít Ondruch <vondruch@redhat.com> - 2.3.3-61
0fce6c
- Update to Ruby 2.3.3.
0fce6c
- Exclude json.rb from ruby-libs (rhbz#1397370).
0fce6c
0fce6c
* Fri Nov 18 2016 Vít Ondruch <vondruch@redhat.com> - 2.3.2-60
0fce6c
- Update to Ruby 2.3.2.
0fce6c
0fce6c
* Fri Oct 21 2016 Vít Ondruch <vondruch@redhat.com> - 2.3.1-59
0fce6c
- Continue to use OpenSSL 1.0 for the moment.
0fce6c
- Add gemspec_add_dep and gemspec_remove_dep macros.
0fce6c
- Harden package.
0fce6c
0fce6c
* Wed Aug 10 2016 Vít Ondruch <vondruch@redhat.com> - 2.3.1-58
0fce6c
- Workaround "an invalid stdio handle" error on PPC (rhbz#1361037).
0fce6c
0fce6c
* Tue Jul 12 2016 Vít Ondruch <vondruch@redhat.com> - 2.3.1-57
0fce6c
- Make symlinks for json gem.
0fce6c
0fce6c
* Mon May 23 2016 Vít Ondruch <vondruch@redhat.com> - 2.3.1-56
0fce6c
- Requires rubygem(json) for rubygem-rdoc (rhbz#1325022).
0fce6c
0fce6c
* Fri Apr 29 2016 Vít Ondruch <vondruch@redhat.com> - 2.3.1-55
0fce6c
- Update to Ruby 2.3.1.
0fce6c
0fce6c
* Wed Feb  3 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.3.0-54
0fce6c
- Add rubypick and rubygems requires to ruby-devel to deal with BuildRequires
0fce6c
0fce6c
* Fri Jan 15 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.3.0-53
0fce6c
- Backport trunk@53455 to make ruby-qt build
0fce6c
0fce6c
* Wed Jan 06 2016 Vít Ondruch <vondruch@redhat.com> - 2.3.0-52
0fce6c
- Explicitly require RDoc, since weak dependencies are ignored by default.
0fce6c
0fce6c
* Wed Jan 06 2016 Vít Ondruch <vondruch@redhat.com> - 2.3.0-51
0fce6c
- Load RubyGems prior ABRT hook to properly rescue RubyGems exceptions.
0fce6c
0fce6c
* Mon Jan 04 2016 Vít Ondruch <vondruch@redhat.com> - 2.3.0-50
0fce6c
- Upgrade to Ruby 2.3.0.
0fce6c
- Move gemified net-telnet into subpackage.
0fce6c
- Add did_you_mean subpackage.
0fce6c
- Add virtual provides for CCAN copylibs.
0fce6c
- Use weak dependencies.
0fce6c
0fce6c
* Tue Dec 22 2015 Pavel Valena <pvalena@redhat.com> - 2.3.0-0.7.preview2
0fce6c
- Add systemtap tests.
0fce6c
0fce6c
* Mon Dec 21 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.4-47
0fce6c
- Update to Ruby 2.2.4.
0fce6c
0fce6c
* Thu Dec 10 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.3-46
0fce6c
- Fix ABRT hook autoloading.
0fce6c
0fce6c
* Fri Sep 04 2015 Michal Toman <mtoman@fedoraproject.org> - 2.2.3-45
0fce6c
- Add support for MIPS architecture to config.h
0fce6c
0fce6c
* Tue Sep 01 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.3-44
0fce6c
- Update to Ruby 2.2.3.
0fce6c
0fce6c
* Tue Jun 23 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.2-43
0fce6c
- Fix for "dh key too small" error of OpenSSL 1.0.2+.
0fce6c
0fce6c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-42
0fce6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0fce6c
0fce6c
* Wed Jun 10 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.2-41
0fce6c
- Fix the git BR following the git package split.
0fce6c
0fce6c
* Mon May 04 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.2-40
0fce6c
- Fix upgrade path (rubygem-io-console's version was recently bumped in F21
0fce6c
  and makes the higher release to win).
0fce6c
0fce6c
* Tue Apr 14 2015 Josef Stribny <jstribny@redhat.com> - 2.2.2-11
0fce6c
- Bump release because of gems
0fce6c
0fce6c
* Tue Apr 14 2015 Josef Stribny <jstribny@redhat.com> - 2.2.2-1
0fce6c
- Update to Ruby 2.2.2
0fce6c
0fce6c
* Fri Mar 20 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.1-10
0fce6c
- Fix libruby.so versions in SystemTap scripts (rhbz#1202232).
0fce6c
0fce6c
* Wed Mar 04 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.1-9
0fce6c
- Update to Ruby 2.2.1.
0fce6c
0fce6c
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.2.0-8
0fce6c
- Rebuilt for Fedora 23 Change
0fce6c
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
0fce6c
0fce6c
* Thu Feb 05 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.0-7
0fce6c
- Fix directory ownership.
0fce6c
0fce6c
* Wed Feb 04 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.0-6
0fce6c
- Initialize all load paths in operating_system.rb.
0fce6c
0fce6c
* Tue Feb 03 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.0-5
0fce6c
- Make operating_system.rb more robust.
0fce6c
- Add RubyGems stub headers for bundled gems.
0fce6c
0fce6c
* Thu Jan 29 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.0-4
0fce6c
- Add missing rubygem-test-unit dependency on rubygem-power_assert.
0fce6c
0fce6c
* Thu Jan 15 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.2.0-3
0fce6c
- Bump release to avoid EVR issue on rubygem-test-unit
0fce6c
0fce6c
* Fri Jan 02 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.0-1
0fce6c
- Upgrade to Ruby 2.2.0.
0fce6c
- Explicitly list RubyGems directories to avoid accidentaly packaged content.
0fce6c
- Split test-unit and power_assert gems into separate sub-packages.
0fce6c
- Drop libdb dependency in favor of gdbm.
0fce6c
0fce6c
* Fri Dec 26 2014 Orion Poplwski <orion@cora.nwra.com> - 2.1.5-26
0fce6c
- Disbable sse2 on i668 (bug #1101811)
0fce6c
0fce6c
* Thu Nov 20 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.5-25
0fce6c
- Update to Ruby 2.1.5.
0fce6c
0fce6c
* Fri Oct 31 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.4-24
0fce6c
- Update to Ruby 2.1.4.
0fce6c
- Include only vendor directories, not their content (rhbz#1114071).
0fce6c
- Fix "invalid regex" warning for non-rubygem packages (rhbz#1154067).
0fce6c
- Use load macro introduced in RPM 4.12.
0fce6c
0fce6c
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
0fce6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0fce6c
0fce6c
* Tue Jun 24 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2.1.2-23
0fce6c
- Fix FTBFS 
0fce6c
- Specify tcl/tk 8.6
0fce6c
- Add upstream patch to build with libffi 3.1
0fce6c
0fce6c
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
0fce6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0fce6c
0fce6c
* Wed May 21 2014 Jaroslav Å karvada <jskarvad@redhat.com>
0fce6c
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
0fce6c
0fce6c
* Tue May 20 2014 Josef Stribny <jstribny@redhat.com> - 2.1.2-21
0fce6c
- Update to Ruby 2.1.2
0fce6c
0fce6c
* Tue May 06 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.1-20
0fce6c
- Remove useless exclude (rhbz#1065897).
0fce6c
- Extract load macro into external file and include it.
0fce6c
- Kill bundled certificates.
0fce6c
0fce6c
* Wed Apr 23 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.1-19
0fce6c
- Correctly expand $(prefix) in some Makefiles, e.g. eruby.
0fce6c
0fce6c
* Tue Apr 08 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.1-18
0fce6c
- Update to Ruby 2.1.1.
0fce6c
- Revert regression of Hash#reject.
0fce6c
0fce6c
* Mon Mar 03 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.0-19
0fce6c
- Add RPM dependency generators for RubyGems.
0fce6c
0fce6c
* Mon Feb 10 2014 Josef Stribny <jstribny@redhat.com> - 2.1.0-19
0fce6c
- Don't link cert.pem explicitely
0fce6c
0fce6c
* Wed Jan 15 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.0-18
0fce6c
- Don't generate documentation on unexpected places.
0fce6c
- Detect if rubygems are running under rpmbuild and install gem binary
0fce6c
  extensions into appropriate place.
0fce6c
- Add support for ppc64le arch (rhbz#1053263).
0fce6c
- Re-enable some test cases, which are passing now with Kernel 3.12.8+.
0fce6c
- Backport fix for floating point issues on i686.
0fce6c
0fce6c
* Thu Jan 02 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.0-17
0fce6c
- Upgrade to Ruby 2.1.0.
0fce6c
- Move RPM macros into /usr/lib/rpm/macros.d directory.
0fce6c
- Allow MD5 in OpenSSL for tests.
0fce6c
0fce6c
* Tue Jul 30 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.247-15
0fce6c
- Move Psych symlinks to vendor dir, to prevent F18 -> F19 upgrade issues
0fce6c
  (rhbz#988490).
0fce6c
0fce6c
* Mon Jul 15 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.247-14
0fce6c
- Add forgotten psych.rb link into rubygem-psych to fix "private method `load'
0fce6c
  called for Psych:Moduler" error (rhbz#979133).
0fce6c
0fce6c
* Thu Jul 11 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.247-13
0fce6c
- Fixes multilib conlicts of .gemspec files.
0fce6c
- Make symlinks for psych gem to ruby stdlib dirs (rhbz#979133).
0fce6c
- Use system-wide cert.pem.
0fce6c
0fce6c
* Thu Jul 04 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.247-12
0fce6c
- Fix RubyGems search paths when building gems with native extension
0fce6c
  (rhbz#979133).
0fce6c
0fce6c
* Tue Jul 02 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.247-11
0fce6c
- Fix RubyGems version.
0fce6c
0fce6c
* Tue Jul 02 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.247-10
0fce6c
- Better support for build without configuration (rhbz#977941).
0fce6c
0fce6c
* Mon Jul 01 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.247-9
0fce6c
- Update to Ruby 2.0.0-p247 (rhbz#979605).
0fce6c
- Fix CVE-2013-4073.
0fce6c
- Fix for wrong makefiles created by mkmf (rhbz#921650).
0fce6c
- Add support for ABRT autoloading.
0fce6c
0fce6c
* Fri May 17 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.195-8
0fce6c
- Update to Ruby 2.0.0-p195 (rhbz#917374).
0fce6c
- Fix object taint bypassing in DL and Fiddle (CVE-2013-2065).
0fce6c
- Fix build against OpenSSL with enabled ECC curves.
0fce6c
- Add aarch64 support (rhbz#926463).
0fce6c
0fce6c
* Fri Apr 19 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-7
0fce6c
- Macro definition moved into macros.ruby and macros.rubygems files.
0fce6c
- Added filtering macros.
0fce6c
- Filter automatically generated provides of private libraries (rhbz#947408).
0fce6c
0fce6c
* Fri Mar 22 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-6
0fce6c
- Fix RbConfig::CONFIG['exec_prefix'] returns empty string (rhbz#924851).
0fce6c
0fce6c
* Thu Mar 21 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-5
0fce6c
- Make Ruby buildable without rubypick.
0fce6c
- Prevent random test failures.
0fce6c
0fce6c
* Fri Mar 08 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.0.0.0-4
0fce6c
- Don't mark rpm config file as %%config (fpc#259)
0fce6c
0fce6c
* Tue Mar 05 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-3
0fce6c
- Avoid "method redefined;" warnings due to modified operating_system.rb.
0fce6c
- Fix strange paths created during build of binary gems.
0fce6c
0fce6c
* Mon Feb 25 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-2
0fce6c
- Prevent squash of %%gem_install with following line.
0fce6c
0fce6c
* Mon Feb 25 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-1
0fce6c
- Update to Ruby 2.0.0-p0.
0fce6c
- Change %%{ruby_extdir} to %%{ruby_extdir_mri} in preparation for better
0fce6c
  JRuby support.
0fce6c
0fce6c
* Mon Feb 25 2013 Mamoru TASAKA <mtasaka@fedoraprojec.org> - 2.0.0.0-0.3.r39387
0fce6c
- Move test-unit.gemspec to -libs subpackage for now because rubygems
0fce6c
  2.0.0 does not create this
0fce6c
0fce6c
* Fri Feb 22 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-0.2.r39387
0fce6c
- Fix issues with wrong value of Rubygem's shebang introduced in r39267.
0fce6c
0fce6c
* Fri Feb 22 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-0.1.r39387
0fce6c
- Upgrade to Ruby 2.0.0 (r39387).
0fce6c
- Introduce %%gem_install macro.
0fce6c
- Build against libdb instead of libdb4 (rhbz#894022).
0fce6c
- Move native extensions from exts to ruby directory.
0fce6c
- Enable most of the PPC test suite.
0fce6c
- Change ruby(abi) -> ruby(release).
0fce6c
- Rename ruby executable to ruby-mri, to be prepared for RubyPick.
0fce6c
- Add ruby(runtime_executable) virtual provide, which is later used
0fce6c
  by RubyPick.
0fce6c
- RDoc now depends on JSON.
0fce6c
- Try to make -doc subpackage noarch again, since the new RDoc should resolve
0fce6c
  the arch dependent issues (https://github.com/rdoc/rdoc/issues/71).
0fce6c
- Enable SystemTap support.
0fce6c
- Add TapSet for Ruby.
0fce6c
- Split Psych into rubygem-psych subpackage.
0fce6c
0fce6c
* Mon Feb 11 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.385-28
0fce6c
- Update to 1.9.3 p385
0fce6c
0fce6c
* Sat Jan 19 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.374-27
0fce6c
- Update to 1.9.3 p374
0fce6c
- Fix provided variables in pkgconfig (bug 789532:
0fce6c
  Vít Ondruch <vondruch@redhat.com>)
0fce6c
0fce6c
* Fri Jan 18 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.362-26
0fce6c
- Provide non-versioned pkgconfig file (bug 789532)
0fce6c
- Use db5 on F-19 (bug 894022)
0fce6c
 
0fce6c
* Wed Jan 16 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.362-25
0fce6c
- Backport fix for the upstream PR7629, save the proc made from the given block
0fce6c
  (bug 895173)
0fce6c
0fce6c
* Wed Jan  2 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.362-24
0fce6c
- Update to 1.9.3.362
0fce6c
0fce6c
* Mon Dec 03 2012 Jaromir Capik <jcapik@redhat.com> - 1.9.3.327-23
0fce6c
- Skipping test_parse.rb (fails on ARM at line 787)
0fce6c
- http://bugs.ruby-lang.org/issues/6899
0fce6c
0fce6c
* Sun Nov 11 2012 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.327-23
0fce6c
- Skip test_str_crypt (on rawhide) for now (upstream bug 7312)
0fce6c
0fce6c
* Sat Nov 10 2012 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.327-22
0fce6c
- Ignore some network related tests
0fce6c
0fce6c
* Sat Nov 10 2012 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.327-21
0fce6c
- Update to 1.9.3.327
0fce6c
- Fix Hash-flooding DoS vulnerability on MurmurHash function
0fce6c
  (CVE-2012-5371)
0fce6c
0fce6c
* Sat Oct 13 2012 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.286-19
0fce6c
- Update to 1.9.3 p286
0fce6c
- Don't create files when NUL-containing path name is passed
0fce6c
  (bug 865940, CVE-2012-4522)
0fce6c
0fce6c
* Thu Oct 04 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.9.3.194-18
0fce6c
- Patch from trunk for CVE-2012-4464, CVE-2012-4466
0fce6c
0fce6c
* Thu Sep 06 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.194-17
0fce6c
- Split documentation into -doc subpackage (rhbz#854418).
0fce6c
0fce6c
* Tue Aug 14 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.194-16
0fce6c
- Revert the dependency of ruby-libs on rubygems (rhbz#845011, rhbz#847482).
0fce6c
0fce6c
* Wed Aug 01 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.194-15
0fce6c
- ruby-libs must require rubygems (rhbz#845011).
0fce6c
0fce6c
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.3.194-14
0fce6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0fce6c
0fce6c
* Mon Jun 11 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.9.3.194-13
0fce6c
- Make the bigdecimal gem a runtime dependency of Ruby.
0fce6c
0fce6c
* Mon Jun 11 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.9.3.194-12
0fce6c
- Make symlinks for bigdecimal and io-console gems to ruby stdlib dirs (RHBZ 829209).
0fce6c
0fce6c
* Tue May 29 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.9.3.194-11
0fce6c
- Fix license to contain Public Domain.
0fce6c
- macros.ruby now contains unexpanded macros.
0fce6c
0fce6c
* Sun Apr 22 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.9.3.194-10.1
0fce6c
- Bump release
0fce6c
0fce6c
* Fri Apr 20 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.194-1
0fce6c
- Update to Ruby 1.9.3-p194.
0fce6c
0fce6c
* Mon Apr 09 2012 Karsten Hopp <karsten@redhat.com> 1.9.3.125-3
0fce6c
- disable check on ppc(64), RH bugzilla 803698
0fce6c
0fce6c
* Wed Feb 29 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.9.3.125-2
0fce6c
- Temporarily disable make check on ARM until it's fixed upstream. Tracked in RHBZ 789410
0fce6c
0fce6c
* Mon Feb 20 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.125-1
0fce6c
- Upgrade to Ruby 1.9.3-p125.
0fce6c
0fce6c
* Sun Jan 29 2012 Mamoru Tasaka <mtasaka@fedoraprpject.org> - 1.9.3.0-7
0fce6c
- Make mkmf.rb verbose by default
0fce6c
0fce6c
* Thu Jan 26 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-6
0fce6c
- Relax dependencies to allow external updates of bundled gems.
0fce6c
0fce6c
* Wed Jan 18 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-5
0fce6c
- Initial release of Ruby 1.9.3.
0fce6c
- Add rubygems dependency on io-console for user interactions.
0fce6c
- Gems license clarification.
0fce6c
0fce6c
* Tue Jan 17 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-4
0fce6c
- Bundled gems moved into dedicated directories and subpackages.
0fce6c
- Create and own RubyGems directories for binary extensions.
0fce6c
- Fix build with GCC 4.7.
0fce6c
0fce6c
* Mon Jan 16 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-3
0fce6c
- Fix RHEL build.
0fce6c
- Fixed directory ownership.
0fce6c
- Verose build output.
0fce6c
0fce6c
* Sun Jan 15 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-2
0fce6c
- Install RubyGems outside of Ruby directory structure.
0fce6c
- RubyGems has not its own -devel subpackage.
0fce6c
- Enhanced macros.ruby and macros.rubygems.
0fce6c
- All tests are green now (bkabrda).
0fce6c
0fce6c
* Sat Jan 14 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-1
0fce6c
- Initial package
0fce6c
0fce6c
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.7.357-2
0fce6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0fce6c
0fce6c
* Thu Dec 29 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.357-1
0fce6c
- Update to 1.8.7p357
0fce6c
- Randomize hash on process startup (CVE-2011-4815, bug 750564)
0fce6c
0fce6c
* Fri Dec 23 2011 Dennis Gilmore <dennis@ausil.us> - 1.8.7.352-2
0fce6c
- dont normalise arm cpus to arm
0fce6c
- there is something weird about how ruby choses where to put bits
0fce6c
0fce6c
* Thu Nov 17 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.352-3
0fce6c
- F-17: kill gdbm support for now due to licensing compatibility issue
0fce6c
0fce6c
* Sat Oct  1 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.352-2
0fce6c
- F-17: rebuild against new gdbm
0fce6c
0fce6c
* Sat Jul 16 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.352-1
0fce6c
- Update to 1.8.7 p352
0fce6c
- CVE-2011-2686 is fixed in this version (bug 722415)
0fce6c
- Update ext/tk to the latest git
0fce6c
- Remove duplicate path entry (bug 718695)
0fce6c
0fce6c
* Thu Jul 14 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.334-4
0fce6c
- Once fix FTBFS (bug 716021)
0fce6c
0fce6c
* Mon Jul 11 2011 Dennis Gilmore <dennis@ausil.us> - 1.8.7.334-3
0fce6c
- normalise arm cpus to arm
0fce6c
0fce6c
* Mon May 30 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.334-2
0fce6c
- Own %%{_normalized_cpu}-%%{_target_os} directory (bug 708816)
0fce6c
0fce6c
* Sat Feb 19 2011 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.334-1
0fce6c
- Update to 1.8.7 p334
0fce6c
0fce6c
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.7.330-3
0fce6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0fce6c
0fce6c
* Sun Jan 02 2011 Dennis Gilmore <dennis@ausil.us> - 1.8.7.330-2
0fce6c
- nomalise the 32 bit sparc archs to sparc
0fce6c
0fce6c
* Sun Dec 26 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.330-1
0fce6c
- Update to 1.8.7 p330
0fce6c
- ext/tk updated to the newest header
0fce6c
0fce6c
* Thu Nov  4 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.302-2
0fce6c
- Avoid multilib conflict on -libs subpackage (bug 649174)
0fce6c
0fce6c
* Mon Aug 23 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.302-1
0fce6c
- Update to 1.8.7.302
0fce6c
- CVE-2010-0541 (bug 587731) is fixed in this version
0fce6c
- Update ext/tk to the latest head
0fce6c
0fce6c
* Mon Aug  2 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.299-5
0fce6c
- More cleanup of spec file, expecially for rpmlint issue
0fce6c
- build ri files in %%build
0fce6c
0fce6c
* Mon Jul 26 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.299-4
0fce6c
- Cleanup spec file
0fce6c
- Make -irb, -rdoc subpackage noarch
0fce6c
- Make dependencies between arch-dependent subpackages isa specific
0fce6c
- Improve sample documentation gathering
0fce6c
0fce6c
* Mon Jul 12 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.299-3
0fce6c
- updated packaged based on feedback (from mtasaka)
0fce6c
- added comments to all patches / sources
0fce6c
- obsoleted ruby-mode, as it's now provided by the emacs package itself
0fce6c
- readded missing documentation
0fce6c
- various small compatability/regression fixes
0fce6c
0fce6c
* Tue Jul 06 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.299-2
0fce6c
- readded bits to pull tk package from upstream source branch
0fce6c
- removed unecessary .tk.old dir
0fce6c
- renamed macros which may cause confusion, removed unused ones
0fce6c
0fce6c
* Thu Jun 24 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.299-1
0fce6c
- integrate more of jmeyering's and mtaska's feedback
0fce6c
- removed emacs bits that are now shipped with the emacs package
0fce6c
- various patch and spec cleanup
0fce6c
- rebased to ruby 1.8.7 patch 299, removed patches no longer needed:
0fce6c
   ruby-1.8.7-openssl-1.0.patch, ruby-1.8.7-rb_gc_guard_ptr-optimization.patch
0fce6c
0fce6c
* Wed Jun 23 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.249-5
0fce6c
- Various fixes
0fce6c
0fce6c
* Wed Jun 23 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.249-4
0fce6c
- Fixed incorrect paths in 1.8.7 rpm
0fce6c
0fce6c
* Tue Jun 22 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.249-3
0fce6c
- Integrated Jim Meyering's feedback and changes in to:
0fce6c
- remove trailing blanks
0fce6c
- placate rpmlint
0fce6c
- ruby_* definitions: do not use trailing slashes in directory names
0fce6c
- _normalized_cpu: simplify definition
0fce6c
0fce6c
* Mon Jun 21 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.249-2
0fce6c
- Integrate mtasaka's feedback and changes
0fce6c
- patch101 ruby_1_8_7-rb_gc_guard_ptr-optimization.patch
0fce6c
0fce6c
* Tue Jun 15 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.249-1
0fce6c
- Initial Ruby 1.8.7 specfile
0fce6c
0fce6c
* Wed May 19 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.399-5
0fce6c
- Retry for bug 559158, Simplify the OpenSSL::Digest class
0fce6c
  pull more change commits from ruby_1_8 branch
0fce6c
0fce6c
* Mon May 17 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.399-4
0fce6c
- Patch36 (ruby-1.8.x-RHASH_SIZE-rb_hash_lookup-def.patch)
0fce6c
  also backport rb_hash_lookup definition (bug 592936)
0fce6c
0fce6c
* Thu May 13 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.399-3
0fce6c
- ruby-1.8.x-null-class-must-be-Qnil.patch (bug 530407)
0fce6c
- Recreate some patches using upstream svn when available, and
0fce6c
  add some comments for patches
0fce6c
0fce6c
* Tue May 11 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.399-2
0fce6c
- tcltk: Give up using potentially unmaintained ruby_1_8_6 branch
0fce6c
  and instead completely replace with ruby_1_8 branch head
0fce6c
  (at this time, using rev 27738)
0fce6c
  (seems to fix 560053, 590503)
0fce6c
- Fix Japanese encoding strings under ruby-tcltk/ext/tk/sample/
0fce6c
0fce6c
* Tue Apr 27 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.399-1
0fce6c
- Update to 1.8.6 p 399 (bug 579675)
0fce6c
- Patch to fix gc bug causing open4 crash (bug 580993)
0fce6c
0fce6c
* Fri Mar 12 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.388-9
0fce6c
- F-14: rebuild against new gdbm
0fce6c
0fce6c
* Thu Jan 28 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp>
0fce6c
- Once revert the previous change (patch34)
0fce6c
0fce6c
* Wed Jan 27 2010 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 1.8.6.388-8
0fce6c
- Backport openssl/digest functions providing digest and hexdigest functions
0fce6c
  directly in OpenSSL::Digest.methods
0fce6c
- Make sure that Red Hat people version their changelog entries
0fce6c
- This is actually release #1, but now needs to be release #7
0fce6c
0fce6c
* Mon Jan 18 2010 Akira TAGOH <tagoh@redhat.com> - 1.8.6.388-1
0fce6c
- Add conditional for RHEL.
0fce6c
0fce6c
* Wed Jan 13 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.383-6
0fce6c
- CVE-2009-4492 ruby WEBrick log escape sequence (bug 554485)
0fce6c
0fce6c
* Wed Dec  9 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.383-5
0fce6c
- Change mkmf.rb to use LIBRUBYARG_SHARED so that have_library() works
0fce6c
  without libruby-static.a (bug 428384)
0fce6c
- And move libruby-static.a to -static subpackage
0fce6c
0fce6c
* Thu Oct 29 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.383-4
0fce6c
- Use bison to regenerate parse.c to keep the original format of error
0fce6c
  messages (bug 530275 comment 4)
0fce6c
0fce6c
* Sun Oct 25 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.383-3
0fce6c
- Patch so that irb saves its history (bug 518584, ruby issue 1556)
0fce6c
0fce6c
* Sat Oct 24 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.383-2
0fce6c
- Update to 1.8.6 patchlevel 383 (bug 520063)
0fce6c
0fce6c
* Wed Oct 14 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.369-5
0fce6c
- Much better idea for Patch31 provided by Akira TAGOH <tagoh@redhat.com>
0fce6c
0fce6c
* Wed Oct 14 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.369-4
0fce6c
- Fix the search path of ri command for ri manuals installed with gem
0fce6c
  (bug 528787)
0fce6c
0fce6c
* Wed Aug 26 2009 Tomas Mraz <tmraz@redhat.com> - 1.8.6.369-3
0fce6c
- Rebuild against new openssl
0fce6c
0fce6c
* Thu Jul 23 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.369-2
0fce6c
- Make sure that readline.so is linked against readline 5 because
0fce6c
  Ruby is under GPLv2
0fce6c
0fce6c
* Sat Jun 20 2009  Jeroen van Meeuwen <kanarip@fedoraproject.org> - 1.8.6.369-1
0fce6c
- New patchlevel fixing CVE-2009-1904
0fce6c
- Fix directory on ARM (#506233, Kedar Sovani)
0fce6c
0fce6c
* Sun May 31 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 1.8.6.368-1
0fce6c
- New upstream release (p368)
0fce6c
0fce6c
* Sat Apr 11 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.287-8
0fce6c
- Merge Review fix (#226381)
0fce6c
0fce6c
* Wed Mar 18 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 1.8.6.287-7
0fce6c
- Fix regression in CVE-2008-3790 (#485383)
0fce6c
0fce6c
* Mon Mar 16 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.287-6
0fce6c
- Again use -O2 optimization level
0fce6c
- i586 should search i386-linux directory (on <= F-11)
0fce6c
0fce6c
* Thu Mar 05 2009 Jeroen van Meeuwen <kanarip@fedoraproject.org> - 1.8.6.287-5
0fce6c
- Rebuild for gcc4.4
0fce6c
0fce6c
* Fri Feb 27 2009 Jeroen van Meeuwen <kanarip@fedoraproject.org> - 1.8.6.287-3
0fce6c
- CVE-2008-5189: CGI header injection.
0fce6c
0fce6c
* Wed Oct  8 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.287-2
0fce6c
- CVE-2008-3790: DoS vulnerability in the REXML module.
0fce6c
0fce6c
* Sat Aug 23 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.287-1
0fce6c
- New upstream release.
0fce6c
- Security fixes.
0fce6c
  - CVE-2008-3655: Ruby does not properly restrict access to critical
0fce6c
                   variables and methods at various safe levels.
0fce6c
  - CVE-2008-3656: DoS vulnerability in WEBrick.
0fce6c
  - CVE-2008-3657: Lack of taintness check in dl.
0fce6c
  - CVE-2008-1447: DNS spoofing vulnerability in resolv.rb.
0fce6c
  - CVE-2008-3443: Memory allocation failure in Ruby regex engine.
0fce6c
- Remove the unnecessary backported patches.
0fce6c
0fce6c
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.8.6.230-5
0fce6c
- rebuild against db4-4.7
0fce6c
0fce6c
* Tue Jul  1 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.230-4
0fce6c
- Backported from upstream SVN to fix a segfault issue with Array#fill.
0fce6c
0fce6c
* Mon Jun 30 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.230-3
0fce6c
- Backported from upstream SVN to fix a segfault issue. (#452825)
0fce6c
- Backported from upstream SVN to fix an integer overflow in rb_ary_fill.
0fce6c
0fce6c
* Wed Jun 25 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.230-2
0fce6c
- Fix a segfault issue. (#452810)
0fce6c
0fce6c
* Tue Jun 24 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.230-1
0fce6c
- New upstream release.
0fce6c
- Security fixes. (#452295)
0fce6c
  - CVE-2008-1891: WEBrick CGI source disclosure.
0fce6c
  - CVE-2008-2662: Integer overflow in rb_str_buf_append().
0fce6c
  - CVE-2008-2663: Integer overflow in rb_ary_store().
0fce6c
  - CVE-2008-2664: Unsafe use of alloca in rb_str_format().
0fce6c
  - CVE-2008-2725: Integer overflow in rb_ary_splice().
0fce6c
  - CVE-2008-2726: Integer overflow in rb_ary_splice().
0fce6c
- ruby-1.8.6.111-CVE-2007-5162.patch: removed.
0fce6c
- Build ruby-mode package for all archtectures.
0fce6c
0fce6c
* Tue Mar  4 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.114-1
0fce6c
- Security fix for CVE-2008-1145.
0fce6c
- Improve a spec file. (#226381)
0fce6c
  - Correct License tag.
0fce6c
  - Fix a timestamp issue.
0fce6c
  - Own a arch-specific directory.
0fce6c
0fce6c
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.8.6.111-9
0fce6c
- Autorebuild for GCC 4.3
0fce6c
0fce6c
* Tue Feb 19 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-8
0fce6c
- Rebuild for gcc-4.3.
0fce6c
0fce6c
* Tue Jan 15 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-7
0fce6c
- Revert the change of libruby-static.a. (#428384)
0fce6c
0fce6c
* Fri Jan 11 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-6
0fce6c
- Fix an unnecessary replacement for shebang. (#426835)
0fce6c
0fce6c
* Fri Jan  4 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-5
0fce6c
- Rebuild.
0fce6c
0fce6c
* Fri Dec 28 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-4
0fce6c
- Clean up again.
0fce6c
0fce6c
* Fri Dec 21 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-3
0fce6c
- Clean up the spec file.
0fce6c
- Remove ruby-man-1.4.6 stuff. this is entirely the out-dated document.
0fce6c
  this could be replaced by ri.
0fce6c
- Disable the static library building.
0fce6c
0fce6c
* Tue Dec 04 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.8.6.111-2
0fce6c
 - Rebuild for openssl bump
0fce6c
0fce6c
* Wed Oct 31 2007 Akira TAGOH <tagoh@redhat.com>
0fce6c
- Fix the dead link.
0fce6c
0fce6c
* Mon Oct 29 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-1
0fce6c
- New upstream release.
0fce6c
- ruby-1.8.6.111-CVE-2007-5162.patch: Update a bit with backporting the changes
0fce6c
   at trunk to enable the fix without any modifications on the users' scripts.
0fce6c
   Note that Net::HTTP#enable_post_connection_check isn't available anymore.
0fce6c
   If you want to disable this post-check, you should give OpenSSL::SSL::VERIFY_NONE
0fce6c
   to Net::HTTP#verify_mode= instead of.
0fce6c
0fce6c
* Mon Oct 15 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.110-2
0fce6c
- Enable pthread support for ppc too. (#201452)
0fce6c
- Fix unexpected dependencies appears in ruby-libs. (#253325)
0fce6c
0fce6c
* Wed Oct 10 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.110-1
0fce6c
- New upstream release.
0fce6c
  - ruby-r12567.patch: removed.
0fce6c
- ruby-1.8.6-CVE-2007-5162.patch: security fix for Net::HTTP that is
0fce6c
  insufficient verification of SSL certificate.
0fce6c
0fce6c
* Thu Aug 23 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.36-4
0fce6c
- Rebuild
0fce6c
0fce6c
* Fri Aug 10 2007 Akira TAGOH <tagoh@redhat.com>
0fce6c
- Update License tag.
0fce6c
0fce6c
* Mon Jun 25 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.36-3
0fce6c
- ruby-r12567.patch: backport patch from upstream svn to get rid of
0fce6c
  the unnecessary declarations. (#245446)
0fce6c
0fce6c
* Wed Jun 20 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.36-2
0fce6c
- New upstream release.
0fce6c
  - Fix Etc::getgrgid to get the correct gid as requested. (#236647)
0fce6c
0fce6c
* Wed Mar 28 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6-2
0fce6c
- Fix search path breakage. (#234029)
0fce6c
0fce6c
* Thu Mar 15 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6-1
0fce6c
- New upstream release.
0fce6c
- clean up a spec file.
0fce6c
0fce6c
* Tue Feb 13 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.5.12-2
0fce6c
- Rebuild
0fce6c
0fce6c
* Mon Feb  5 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.5.12-1
0fce6c
- New upstream release.
0fce6c
0fce6c
* Mon Dec 11 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.5.2-1
0fce6c
- security fix release.
0fce6c
0fce6c
* Fri Oct 27 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.5-4
0fce6c
- security fix release.
0fce6c
- ruby-1.8.5-cgi-CVE-2006-5467.patch: fix a CGI multipart parsing bug that
0fce6c
  causes the denial of service. (#212396)
0fce6c
0fce6c
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 1.8.5-3
0fce6c
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
0fce6c
0fce6c
* Tue Sep 26 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.5-2
0fce6c
- fixed rbconfig.rb to refer to DESTDIR for sitearchdir. (#207311)
0fce6c
0fce6c
* Mon Aug 28 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.5-1
0fce6c
- New upstream release.
0fce6c
- removed the unnecessary patches:
0fce6c
  - ruby-1.8.4-no-eaccess.patch
0fce6c
  - ruby-1.8.4-64bit-pack.patch
0fce6c
  - ruby-1.8.4-fix-insecure-dir-operation.patch
0fce6c
  - ruby-1.8.4-fix-insecure-regexp-modification.patch
0fce6c
  - ruby-1.8.4-fix-alias-safe-level.patch
0fce6c
- build with --enable-pthread except on ppc.
0fce6c
- ruby-1.8.5-hash-memory-leak.patch: backported from CVS to fix a memory leak
0fce6c
  on Hash. [ruby-talk:211233]
0fce6c
0fce6c
* Mon Aug  7 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-12
0fce6c
- owns sitearchdir. (#201208)
0fce6c
0fce6c
* Thu Jul 20 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-11
0fce6c
- security fixes [CVE-2006-3694]
0fce6c
  - ruby-1.8.4-fix-insecure-dir-operation.patch:
0fce6c
  - ruby-1.8.4-fix-insecure-regexp-modification.patch: fixed the insecure
0fce6c
    operations in the certain safe-level restrictions. (#199538)
0fce6c
  - ruby-1.8.4-fix-alias-safe-level.patch: fixed to not bypass the certain
0fce6c
    safe-level restrictions. (#199543)
0fce6c
0fce6c
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.8.4-10.fc6.1
0fce6c
- rebuild
0fce6c
0fce6c
* Mon Jun 19 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-10
0fce6c
- fixed the wrong file list again. moved tcltk library into ruby-tcltk.
0fce6c
  (#195872)
0fce6c
0fce6c
* Thu Jun  8 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-8
0fce6c
- ruby-deprecated-sitelib-search-path.patch: correct the order of search path.
0fce6c
0fce6c
* Wed Jun  7 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-7
0fce6c
- exclude ppc64 to make ruby-mode package. right now emacs.ppc64 isn't provided
0fce6c
  and buildsys became much stricter.
0fce6c
- ruby-deprecated-sitelib-search-path.patch: applied to add more search path
0fce6c
  for backward compatiblity.
0fce6c
- added byacc to BuildReq. (#194161)
0fce6c
0fce6c
* Wed May 17 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-6
0fce6c
- ruby-deprecated-search-path.patch: added the deprecated installation paths
0fce6c
  to the search path for the backward compatibility.
0fce6c
- added a Provides: ruby(abi) to ruby-libs.
0fce6c
- ruby-1.8.4-64bit-pack.patch: backport patch from upstream to fix unpack("l")
0fce6c
  not working on 64bit arch and integer overflow on template "w". (#189350)
0fce6c
- updated License tag to be more comfortable, and with a pointer to get more
0fce6c
  details, like Python package does. (#179933)
0fce6c
- clean up.
0fce6c
0fce6c
* Wed Apr 19 2006 Akira TAGOH <tagoh@redhat.com>
0fce6c
- ruby-rubyprefix.patch: moved all arch-independent modules under /usr/lib/ruby
0fce6c
  and keep arch-dependent modules under /usr/lib64/ruby for 64bit archs.
0fce6c
  so 'rubylibdir', 'sitelibdir' and 'sitedir' in Config::CONFIG points to
0fce6c
  the kind of /usr/lib/ruby now. (#184199)
0fce6c
0fce6c
* Mon Apr 17 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-4
0fce6c
- correct sitelibdir. (#184198)
0fce6c
0fce6c
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.8.4-3.2
0fce6c
- bump again for double-long bug on ppc(64)
0fce6c
0fce6c
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.8.4-3.1
0fce6c
- rebuilt for new gcc4.1 snapshot and glibc changes
0fce6c
0fce6c
* Mon Feb  6 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-3
0fce6c
- ruby-1.8.4-no-eaccess.patch: backported from ruby CVS to avoid conflict
0fce6c
  between newer glibc. (#179835)
0fce6c
0fce6c
* Wed Jan  4 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-2
0fce6c
- ruby-tcltk-multilib.patch: fixed a typo.
0fce6c
0fce6c
* Tue Dec 27 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.4-1
0fce6c
- New upstream release.
0fce6c
  - fixed a missing return statement. (#140833)
0fce6c
  - fixed an use of uninitialized variable. (#144890)
0fce6c
0fce6c
* Fri Dec 16 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.4-0.4.preview2
0fce6c
- updates to 1.8.4-preview2.
0fce6c
- renamed the packages to ruby-* (#175765)
0fce6c
  - irb  -> ruby-irb
0fce6c
  - rdoc -> ruby-rdoc
0fce6c
  - ri   -> ruby-ri
0fce6c
- added tcl-devel and tk-devel into BuildRequires.
0fce6c
0fce6c
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
0fce6c
- rebuilt
0fce6c
0fce6c
* Thu Nov 10 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.4-0.3.preview1
0fce6c
- rebuilt against the latest openssl.
0fce6c
0fce6c
* Tue Nov  1 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.4-0.2.preview1
0fce6c
- build-deps libX11-devel instead of xorg-x11-devel.
0fce6c
0fce6c
* Mon Oct 31 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.4-0.1.preview1
0fce6c
- New upstream release.
0fce6c
- ruby-1.8.2-strscan-memset.patch: removed because it's no longer needed.
0fce6c
0fce6c
* Tue Oct  4 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.3-4
0fce6c
- moved the documents from ruby-libs to ruby-docs, which contains the arch
0fce6c
  specific thing and to be multilib support. (#168826)
0fce6c
0fce6c
* Mon Oct  3 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.3-3
0fce6c
- fixed the wrong file list. the external library for tcl/tk was included
0fce6c
  in ruby-libs unexpectedly.
0fce6c
0fce6c
* Mon Sep 26 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.3-2
0fce6c
- ruby-multilib.patch: added another chunk for multilib. (#169127)
0fce6c
0fce6c
* Wed Sep 21 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.3-1
0fce6c
- New upstream release.
0fce6c
- Build-Requires xorg-x11-devel instead of XFree86-devel.
0fce6c
- ruby-multilib.patch: applied for only 64-bit archs.
0fce6c
- ruby-1.8.2-xmlrpc-CAN-2005-1992.patch: removed. it has already been in upstream.
0fce6c
0fce6c
* Tue Jun 21 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-9
0fce6c
- ruby-1.8.2-xmlrpc-CAN-2005-1992.patch: fixed the arbitrary command execution
0fce6c
  on XMLRPC server. (#161096)
0fce6c
0fce6c
* Thu Jun 16 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-8
0fce6c
- ruby-1.8.2-tcltk-multilib.patch: applied to get tcltklib.so built. (#160194)
0fce6c
0fce6c
* Thu Apr  7 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-7
0fce6c
- ruby-1.8.2-deadcode.patch: removed the dead code from the source. (#146108)
0fce6c
- make sure that all documentation files in ruby-docs are the world-
0fce6c
  readable. (#147279)
0fce6c
0fce6c
* Tue Mar 22 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-6
0fce6c
- ruby-1.8.2-strscan-memset.patch: fixed an wrong usage of memset(3).
0fce6c
0fce6c
* Tue Mar 15 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-5
0fce6c
- rebuilt
0fce6c
0fce6c
* Tue Jan 25 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-4
0fce6c
- fixed the wrong generation of file manifest. (#146055)
0fce6c
- spec file clean up.
0fce6c
0fce6c
* Mon Jan 24 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-3
0fce6c
- separated out to rdoc package.
0fce6c
- make the dependency of irb for rdoc. (#144708)
0fce6c
0fce6c
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> - 1.8.2-2
0fce6c
- Rebuilt for new readline.
0fce6c
0fce6c
* Wed Jan  5 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-1
0fce6c
- New upstream release.
0fce6c
- ruby-1.8.1-ia64-stack-limit.patch: removed - it's no longer needed.
0fce6c
- ruby-1.8.1-cgi_session_perms.patch: likewise.
0fce6c
- ruby-1.8.1-cgi-dos.patch: likewise.
0fce6c
- generated Ruby interactive documentation - senarated package.
0fce6c
  it's now provided as ri package. (#141806)
0fce6c
0fce6c
* Thu Nov 11 2004 Jeff Johnson <jbj@jbj.org> 1.8.1-10
0fce6c
- rebuild against db-4.3.21.
0fce6c
0fce6c
* Wed Nov 10 2004 Akira TAGOH <tagoh@redhat.com> - 1.8.1-9
0fce6c
- ruby-1.8.1-cgi-dos.patch: security fix [CAN-2004-0983]
0fce6c
- ruby-1.8.1-cgi_session_perms.patch: security fix [CAN-2004-0755]
0fce6c
0fce6c
* Fri Oct 29 2004 Akira TAGOH <tagoh@redhat.com> - 1.8.1-8
0fce6c
- added openssl-devel and db4-devel into BuildRequires (#137479)
0fce6c
0fce6c
* Wed Oct  6 2004 Akira TAGOH <tagoh@redhat.com> - 1.8.1-7
0fce6c
- require emacs-common instead of emacs.
0fce6c
0fce6c
* Wed Jun 23 2004 Akira TAGOH <tagoh@redhat.com> 1.8.1-4
0fce6c
- updated the documentation.
0fce6c
0fce6c
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
0fce6c
- rebuilt
0fce6c
0fce6c
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
0fce6c
- rebuilt
0fce6c
0fce6c
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
0fce6c
- rebuilt
0fce6c
0fce6c
* Wed Feb 04 2004 Akira TAGOH <tagoh@redhat.com> 1.8.1-1
0fce6c
- New upstream release.
0fce6c
- don't use any optimization for ia64 to avoid the build failure.
0fce6c
- ruby-1.8.1-ia64-stack-limit.patch: applied to fix SystemStackError when the optimization is disabled.
0fce6c
0fce6c
* Sat Dec 13 2003 Jeff Johnson <jbj@jbj.org> 1.8.0-3
0fce6c
- rebuild against db-4.2.52.
0fce6c
0fce6c
* Thu Sep 25 2003 Jeff Johnson <jbj@jbj.org> 1.8.0-2
0fce6c
- rebuild against db-4.2.42.
0fce6c
0fce6c
* Tue Aug  5 2003 Akira TAGOH <tagoh@redhat.com> 1.8.0-1
0fce6c
- New upstream release.
0fce6c
0fce6c
* Thu Jul 24 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-9.1
0fce6c
- rebuilt
0fce6c
0fce6c
* Thu Jul 24 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-9
0fce6c
- ruby-1.6.8-castnode.patch: handling the nodes with correct cast.
0fce6c
  use this patch now instead of ruby-1.6.8-fix-x86_64.patch.
0fce6c
0fce6c
* Fri Jul 04 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-8
0fce6c
- rebuilt
0fce6c
0fce6c
* Fri Jul 04 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-7
0fce6c
- fix the gcc warnings. (#82192)
0fce6c
- ruby-1.6.8-fix-x86_64.patch: correct a patch.
0fce6c
  NOTE: DON'T USE THIS PATCH FOR BIG ENDIAN ARCHITECTURE.
0fce6c
- ruby-1.6.7-long2int.patch: removed.
0fce6c
0fce6c
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
0fce6c
- rebuilt
0fce6c
0fce6c
* Fri Feb  7 2003 Jens Petersen <petersen@redhat.com> - 1.6.8-5
0fce6c
- rebuild against ucs4 tcltk
0fce6c
0fce6c
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
0fce6c
- rebuilt
0fce6c
0fce6c
* Wed Jan 22 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-3
0fce6c
- ruby-1.6.8-multilib.patch: applied to fix the search path issue on x86_64
0fce6c
0fce6c
* Tue Jan 21 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-2
0fce6c
- ruby-1.6.8-require.patch: applied to fix the search bug in require.
0fce6c
- don't apply long2int patch to s390 and s390x. it doesn't work.
0fce6c
0fce6c
* Wed Jan 15 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-1
0fce6c
- New upstream release.
0fce6c
- removed some patches. it's no longer needed.
0fce6c
  - ruby-1.6.7-100.patch
0fce6c
  - ruby-1.6.7-101.patch
0fce6c
  - ruby-1.6.7-102.patch
0fce6c
  - ruby-1.6.7-103.patch
0fce6c
  - 801_extmk.rb-shellwords.patch
0fce6c
  - 801_mkmf.rb-shellwords.patch
0fce6c
  - 804_parse.y-new-bison.patch
0fce6c
  - 805_uri-bugfix.patch
0fce6c
  - ruby-1.6.6-900_XXX_strtod.patch
0fce6c
  - ruby-1.6.7-sux0rs.patch
0fce6c
  - ruby-1.6.7-libobj.patch
0fce6c
0fce6c
* Wed Jan 15 2003 Jens Petersen <petersen@redhat.com> 1.6.7-14
0fce6c
- rebuild to update tcltk deps
0fce6c
0fce6c
* Mon Dec 16 2002 Elliot Lee <sopwith@redhat.com> 1.6.7-13
0fce6c
- Remove ExcludeArch: x86_64
0fce6c
- Fix x86_64 ruby with long2int.patch (ruby was assuming that sizeof(long)
0fce6c
  == sizeof(int). The patch does not fix the source of the problem, just
0fce6c
  makes it a non-issue.)
0fce6c
- _smp_mflags
0fce6c
0fce6c
* Tue Dec 10 2002 Tim Powers <timp@redhat.com> 1.6.7-12
0fce6c
- rebuild to fix broken tcltk deps
0fce6c
0fce6c
* Tue Oct 22 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-11
0fce6c
- use %%configure macro instead of configure script.
0fce6c
- use the latest config.{sub,guess}.
0fce6c
- get archname from rbconfig.rb for %%dir
0fce6c
- applied some patches from Debian:
0fce6c
  - 801_extmk.rb-shellwords.patch: use Shellwords
0fce6c
  - 801_mkmf.rb-shellwords.patch: mkmf.rb creates bad Makefile. the Makefile
0fce6c
    links libruby.a to the target.
0fce6c
  - 803_sample-fix-shbang.patch: all sample codes should be
0fce6c
    s|/usr/local/bin|/usr/bin|g
0fce6c
  - 804_parse.y-new-bison.patch: fix syntax warning.
0fce6c
  - 805_uri-bugfix.patch: uri.rb could not handle correctly broken mailto-uri.
0fce6c
- add ExcludeArch x86_64 temporarily to fix Bug#74581. Right now ruby can't be
0fce6c
  built on x86_64.
0fce6c
0fce6c
* Tue Aug 27 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-10
0fce6c
- moved sitedir to /usr/lib/ruby/site_ruby again according as our perl and
0fce6c
  python.
0fce6c
- ruby-1.6.7-resolv1.patch, ruby-1.6.7-resolv2.patch: applied to fix 'Too many
0fce6c
  open files - "/etc/resolv.conf"' issue. (Bug#64830)
0fce6c
0fce6c
* Thu Jul 18 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-9
0fce6c
- add the owned directory.
0fce6c
0fce6c
* Fri Jul 12 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-8
0fce6c
- fix typo.
0fce6c
0fce6c
* Thu Jul 04 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-7
0fce6c
- removed the ruby-mode-xemacs because it's merged to the xemacs sumo.
0fce6c
0fce6c
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
0fce6c
- automated rebuild
0fce6c
0fce6c
* Wed Jun 19 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-5
0fce6c
- fix the stripped binary.
0fce6c
- use the appropriate macros.
0fce6c
0fce6c
* Sun May 26 2002 Tim Powers <timp@redhat.com>
0fce6c
- automated rebuild
0fce6c
0fce6c
* Thu May 23 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-3
0fce6c
- ruby-1.6.7-libobj.patch: applied to fix autoconf2.53 error.
0fce6c
0fce6c
* Mon Mar 18 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-2
0fce6c
- ruby-man-1.4.6-jp.tar.bz2: removed.
0fce6c
- ruby-refm-rdp-1.4.7-ja-html.tar.bz2: uses it instead of.
0fce6c
- ruby-1.6.7-500-marshal-proc.patch, ruby-1.6.7-501-class-var.patch:
0fce6c
  removed.
0fce6c
- ruby-1.6.7-100.patch: applied a bug fix patch.
0fce6c
  (ruby-dev#16274: patch for 'wm state')
0fce6c
  (PR#206ja: SEGV handle EXIT)
0fce6c
- ruby-1.6.7-101.patch: applied a bug fix patch.
0fce6c
  (ruby-list#34313: singleton should not be Marshal.dump'ed)
0fce6c
  (ruby-dev#16411: block local var)
0fce6c
- ruby-1.6.7-102.patch: applied a bug fix patch.
0fce6c
  (handling multibyte chars is partially broken)
0fce6c
- ruby-1.6.7-103.patch: applied a bug fix patch.
0fce6c
  (ruby-dev#16462: preserve reference for GC, but link should be cut)
0fce6c
0fce6c
* Fri Mar  8 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-1
0fce6c
- New upstream release.
0fce6c
- ruby-1.6.6-100.patch, ruby-1.6.6-501-ruby-mode.patch:
0fce6c
  removed. these patches no longer should be needed.
0fce6c
- ruby-1.6.7-500-marshal-proc.patch: applied a fix patch.
0fce6c
  (ruby-dev#16178: Marshal::dump should call Proc#call.)
0fce6c
- ruby-1.6.7-501-class-var.patch: applied a fix patch.
0fce6c
  (ruby-talk#35157: class vars broken in 1.6.7)
0fce6c
0fce6c
* Wed Feb 27 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-5
0fce6c
- Disable alpha because nothing is xemacs for alpha now.
0fce6c
0fce6c
* Tue Feb  5 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-3
0fce6c
- Fixed the duplicate files.
0fce6c
0fce6c
* Tue Feb  5 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-2
0fce6c
- Fixed the missing %%defattr
0fce6c
0fce6c
* Fri Feb  1 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-1
0fce6c
- New upstream release.
0fce6c
- Applied bug fix patches:
0fce6c
  - ruby-1.6.6-501-ruby-mode.patch: ruby-talk#30479: disables font-lock
0fce6c
    coloring.
0fce6c
  - ruby-1.6.6-100.patch: ruby-talk#30203: Ruby 1.6.6 bug and fix
0fce6c
                          ruby-list#33047: regex bug
0fce6c
                          PR#230: problem with -d in 1.6.6
0fce6c
- Added ruby-mode and ruby-mode-xemacs packages.
0fce6c
- Ruby works fine for ia64. so re-enable to build with ia64.
0fce6c
  (probably it should be worked for alpha)
0fce6c
0fce6c
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
0fce6c
- automated rebuild
0fce6c
0fce6c
* Thu Jul 19 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.6.4-2
0fce6c
- Remove Japanese description and summaries; they belong in specspo and
0fce6c
  break rpm
0fce6c
- Clean up specfile
0fce6c
- Mark language specific files (README.jp) as such
0fce6c
- bzip2 sources
0fce6c
- rename the libruby package to ruby-libs for consistency
0fce6c
- Exclude ia64 (doesn't build - the code doesn't seem to be 64-bit clean
0fce6c
  [has been excluded on alpha forever])
0fce6c
0fce6c
* Tue Jul 17 2001 Akira TAGOH <tagoh@redhat.com> 1.6.4-1
0fce6c
- rebuild for Red Hat 7.2
0fce6c
0fce6c
* Mon Jun 04 2001 akira yamada <akira@vinelinux.org>
0fce6c
- upgrade to nwe upstream version 1.6.4.
0fce6c
0fce6c
* Mon Apr 02 2001 akira yamada <akira@vinelinux.org>
0fce6c
- applied patch:
0fce6c
  - fixed method cache bug. etc. (Patch103, Patch104)
0fce6c
0fce6c
* Tue Mar 27 2001 akira yamada <akira@vinelinux.org>
0fce6c
- applied patch:
0fce6c
  - fixed marshal for bignum bug.
0fce6c
  - fixed scope of constant variables bug.
0fce6c
0fce6c
* Tue Mar 20 2001 akira yamada <akira@vinelinux.org>
0fce6c
- upgraded to new upstream version 1.6.3.
0fce6c
0fce6c
* Fri Feb 09 2001 akira yamada <akira@vinelinux.org>
0fce6c
- fixed bad group for libruby.
0fce6c
- Applied patch: upgraded to cvs version (2001-02-08):
0fce6c
  fixed minor bugs.
0fce6c
0fce6c
* Thu Jan 18 2001 akira yamada <akira@vinelinux.org>
0fce6c
- Applied patch: upgraded to cvs version (2001-01-15):
0fce6c
  fixed minor bugs(e.g. ruby makes extention librares too large...).
0fce6c
0fce6c
* Wed Jan 10 2001 akira yamada <akira@vinelinux.org>
0fce6c
- Applied patch: upgraded to cvs version (2001-01-09):
0fce6c
  fixed minor bugs.
0fce6c
0fce6c
* Sat Dec 30 2000 akira yamada <akira@vinelinux.org>
0fce6c
- Applied bug fix patch.
0fce6c
0fce6c
* Mon Dec 25 2000 akira yamada <akira@vinelinux.org>
0fce6c
- Updated to new upstream version 1.6.2.
0fce6c
0fce6c
* Fri Dec 22 2000 akira yamada <akira@vinelinux.org>
0fce6c
- Removed ruby_cvs.2000122019.patch, added ruby_cvs.2000122215.patch
0fce6c
  (upgraded ruby to latest cvs version, 1.6.2-preview4).
0fce6c
0fce6c
* Wed Dec 20 2000 akira yamada <akira@vinelinux.org>
0fce6c
- Removed ruby_cvs.2000121413.patch, added ruby_cvs.2000122019.patch
0fce6c
  (upgraded ruby to latest cvs version).
0fce6c
- new package: libruby
0fce6c
0fce6c
* Thu Dec 14 2000 akira yamada <akira@vinelinux.org>
0fce6c
- Removed ruby_cvs.2000101901.patch, added ruby_cvs.2000121413.patch
0fce6c
  (upgraded ruby to latest cvs version).
0fce6c
- Removed ruby-dev.11262.patch, ruby-dev.11265.patch,
0fce6c
  and ruby-dev.11268.patch (included into above patch).
0fce6c
0fce6c
* Sun Nov 12 2000 MACHINO, Satoshi <machino@vinelinux.org> 1.6.1-0vl9
0fce6c
- build on gcc-2.95.3
0fce6c
0fce6c
* Thu Oct 19 2000 akira yamada <akira@vinelinux.org>
0fce6c
- Added ruby-dev.11268.patch.
0fce6c
0fce6c
* Thu Oct 19 2000 akira yamada <akira@vinelinux.org>
0fce6c
- Removed ruby_cvs.2000101117.patch and added ruby_cvs.2000101901.patch
0fce6c
  (upgraded ruby to latest cvs version).
0fce6c
- Added ruby-dev.11262.patch.
0fce6c
- Added ruby-dev.11265.patch.
0fce6c
0fce6c
* Wed Oct 11 2000 akira yamada <akira@vinelinux.org>
0fce6c
- Removed ruby_cvs.2000100313.patch and added ruby_cvs.2000101117.patch
0fce6c
  (upgraded ruby to latest cvs version).
0fce6c
0fce6c
* Mon Oct 09 2000 akira yamada <akira@vinelinux.org>
0fce6c
- Removed ruby_cvs.2000100313.patch and added ruby_cvs.2000100313.patch
0fce6c
  (upgraded ruby to latest cvs version).
0fce6c
0fce6c
* Tue Oct 03 2000 akira yamada <akira@vinelinux.org>
0fce6c
- Removed ruby_cvs.2000100218.patch and added ruby_cvs.2000100313.patch
0fce6c
  (upgraded ruby to latest cvs version).
0fce6c
0fce6c
* Mon Oct 02 2000 akira yamada <akira@vinelinux.org>
0fce6c
- Removed ruby_cvs.2000092718.patch and added ruby_cvs.2000100218.patch
0fce6c
  (upgraded ruby to latest cvs version).
0fce6c
0fce6c
* Wed Sep 27 2000 akira yamada <akira@vinelinux.org>
0fce6c
- Updated to upstream version 1.6.1.
0fce6c
- Removed ruby_cvs.2000082901.patch and added ruby_cvs.2000092718.patch
0fce6c
  (upgraded ruby to latest cvs version).
0fce6c
0fce6c
* Tue Aug 29 2000 akira yamada <akira@redhat.com>
0fce6c
- Updated to version 1.4.6.
0fce6c
- removed ruby-dev.10123.patch(included into ruby-1.4.6).
0fce6c
- Added ruby_cvs.2000082901.patch(upgraded ruby to latest cvs version).
0fce6c
0fce6c
* Tue Jun 27 2000 akira yamada <akira@redhat.com>
0fce6c
- Updated manuals to version 1.4.5.
0fce6c
0fce6c
* Sun Jun 25 2000 akira yamada <akira@redhat.com>
0fce6c
- Added ruby-dev.10123.patch.
0fce6c
0fce6c
* Sat Jun 24 2000 akira yamada <akira@redhat.com>
0fce6c
- Updated to version 1.4.5.
0fce6c
- Removed ruby_cvs.2000062401.patch(included into ruby-1.4.5).
0fce6c
0fce6c
* Thu Jun 22 2000 akira yamada <akira@redhat.com>
0fce6c
- Updated to version 1.4.4(06/22/2000 CVS).
0fce6c
- Removed ruby-dev.10054.patch(included into ruby_cvs.patch).
0fce6c
0fce6c
* Thu Jun 22 2000 akira yamada <akira@redhat.com>
0fce6c
- Renamed to ruby_cvs20000620.patch from ruby_cvs.patch.
0fce6c
0fce6c
* Tue Jun 20 2000 akira yamada <akira@redhat.com>
0fce6c
- Updated to version 1.4.4(06/20/2000 CVS).
0fce6c
- Removed ruby-list.23190.patch(included into ruby_cvs.patch).
0fce6c
- Added ruby-dev.10054.patch.
0fce6c
0fce6c
* Thu Jun 15 2000 akira yamada <akira@redhat.com>
0fce6c
- Updated to version 1.4.4(06/12/2000 CVS).
0fce6c
- Added manuals and FAQs.
0fce6c
- Split into ruby, ruby-devel, ruby-tcltk, ruby-docs, irb.
0fce6c
0fce6c
* Tue Jun 13 2000 Mitsuo Hamada <mhamada@redhat.com>
0fce6c
- Updated to version 1.4.4
0fce6c
0fce6c
* Wed Dec 08 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
0fce6c
- Updated to version 1.4.3
0fce6c
0fce6c
* Mon Sep 20 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
0fce6c
- Updated to version 1.4.2 (Sep 18)
0fce6c
0fce6c
* Fri Sep 17 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
0fce6c
- Updated to version 1.4.2
0fce6c
0fce6c
* Tue Aug 17 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
0fce6c
- Updated to version 1.4.0
0fce6c
0fce6c
* Fri Jul 23 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
0fce6c
- 2nd release
0fce6c
- Updated to version 1.2.6(15 Jul 1999)
0fce6c
- striped %%{prefix}/bin/ruby
0fce6c
0fce6c
* Mon Jun 28 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
0fce6c
- Updated to version 1.2.6(21 Jun 1999)
0fce6c
0fce6c
* Wed Apr 14 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
0fce6c
- Updated to version 1.2.5
0fce6c
0fce6c
* Fri Apr 09 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
0fce6c
- Updated to version 1.2.4
0fce6c
0fce6c
* Fri Dec 25 1998 Toru Hoshina <hoshina@best.com>
0fce6c
- Version up to 1.2 stable.
0fce6c
0fce6c
* Fri Nov 27 1998 Toru Hoshina <hoshina@best.com>
0fce6c
- Version up to 1.1c9.
0fce6c
0fce6c
* Thu Nov 19 1998 Toru Hoshina <hoshina@best.com>
0fce6c
- Version up to 1.1c8, however it appear short life :-P
0fce6c
0fce6c
* Fri Nov 13 1998 Toru Hoshina <hoshina@best.com>
0fce6c
- Version up.
0fce6c
0fce6c
* Tue Sep 22 1998 Toru Hoshina <hoshina@best.com>
0fce6c
- To make a libruby.so.
0fce6c
0fce6c
* Mon Sep 21 1998 Toru Hoshina <hoshina@best.com>
0fce6c
- Modified SPEC in order to install libruby.a so that it should be used by
0fce6c
  another ruby entention.
0fce6c
- 2nd release.
0fce6c
0fce6c
* Mon Mar 9 1998 Shoichi OZAWA <shoch@jsdi.or.jp>
0fce6c
- Added a powerPC arch part. Thanks, MURATA Nobuhiro <nob@makioka.y-min.or.jp>