Blame SPECS/ruby.spec

622cf5
%{!?scl:%global pkg_name %{name}}
622cf5
%{?scl:%scl_package ruby}
622cf5
622cf5
%global major_version 2
622cf5
%global minor_version 7
12267e
%global teeny_version 6
622cf5
%global major_minor_version %{major_version}.%{minor_version}
622cf5
622cf5
%global ruby_version %{major_minor_version}.%{teeny_version}
622cf5
%global ruby_release %{ruby_version}
622cf5
622cf5
%global ruby_archive %{pkg_name}-%{ruby_version}
622cf5
622cf5
# The RubyGems library has to stay out of Ruby directory tree, since the
622cf5
# RubyGems should be share by all Ruby implementations.
622cf5
%global rubygems_dir %{_datadir}/rubygems
622cf5
622cf5
# Bundled libraries versions
0f7e54
%global rubygems_version 3.1.6
622cf5
%global rubygems_molinillo_version 0.5.7
622cf5
0f7e54
# Default gems.
60f33a
%global bundler_version 2.2.24
622cf5
%global bundler_connection_pool_version 2.2.2
60f33a
%global bundler_fileutils_version 1.4.1
60f33a
%global bundler_molinillo_version 0.7.0
60f33a
%global bundler_net_http_persistent_version 4.0.0
60f33a
%global bundler_thor_version 1.1.0
60f33a
%global bundler_tmpdir_version 0.1.0
60f33a
%global bundler_uri_version 0.10.0
622cf5
622cf5
%global bigdecimal_version 2.0.0
622cf5
%global did_you_mean_version 1.4.0
622cf5
%global io_console_version 0.5.6
0f7e54
%global irb_version 1.2.6
622cf5
%global json_version 2.3.0
622cf5
%global net_telnet_version 0.2.0
12267e
%global openssl_version 2.1.3
622cf5
%global psych_version 3.1.0
622cf5
%global racc_version 1.4.16
60f33a
%global rdoc_version 6.2.1.1
622cf5
%global xmlrpc_version 0.3.0
622cf5
0f7e54
# Bundled gems.
0f7e54
%global minitest_version 5.13.0
0f7e54
%global power_assert_version 1.1.7
0f7e54
%global rake_version 13.0.1
0f7e54
%global test_unit_version 3.3.4
0f7e54
622cf5
# Might not be needed in the future, if we are lucky enough.
622cf5
# https://bugzilla.redhat.com/show_bug.cgi?id=888262
622cf5
%global tapset_root %{_datadir}/systemtap
622cf5
%global tapset_dir %{tapset_root}/tapset
622cf5
%global tapset_libdir %(echo %{_libdir} | sed 's/64//')*
622cf5
622cf5
%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/')
622cf5
622cf5
%if 0%{?fedora} >= 19
622cf5
%bcond_without rubypick
622cf5
%endif
622cf5
622cf5
%bcond_without cmake
622cf5
%bcond_without git
622cf5
%bcond_without gmp
622cf5
%bcond_without hostname
622cf5
%bcond_without systemtap
60f33a
# Enable the tests requiring internet when building on local.
60f33a
%bcond_with bundler_tests
622cf5
622cf5
%if 0%{?fedora}
622cf5
%bcond_without hardening_test
622cf5
%endif
622cf5
622cf5
Summary: An interpreter of object-oriented scripting language
622cf5
Name: %{?scl_prefix}ruby
622cf5
Version: %{ruby_version}
622cf5
# Use release tag directly dropping the %%{release_string} entirely
622cf5
# as %%{?!foo: %%define foo bar} does not work for rpm < 4.14 on RHEL 7.
12267e
Release: 131%{?dist}
622cf5
Group: Development/Languages
622cf5
# Public Domain for example for: include/ruby/st.h, strftime.c, missing/*, ...
622cf5
# MIT and CCO: ccan/*
622cf5
# zlib: ext/digest/md5/md5.*, ext/nkf/nkf-utf8/nkf.c
622cf5
# UCD: some of enc/trans/**/*.src
622cf5
License: (Ruby or BSD) and Public Domain and MIT and CC0 and zlib and UCD
622cf5
URL: http://ruby-lang.org/
622cf5
Source0: https://cache.ruby-lang.org/pub/%{pkg_name}/%{major_minor_version}/%{ruby_archive}.tar.xz
622cf5
Source1: operating_system.rb
622cf5
# TODO: Try to push SystemTap support upstream.
622cf5
Source2: libruby.stp
622cf5
Source3: ruby-exercise.stp
622cf5
Source4: macros.ruby
622cf5
Source5: macros.rubygems
622cf5
# We do not provide RPM dependency generators on SCL that is on Fedora.
622cf5
# ABRT hoook test case.
622cf5
Source12: test_abrt.rb
622cf5
# SystemTap tests.
622cf5
Source13: test_systemtap.rb
622cf5
# To test Ruby software collection
622cf5
Source14: test_dependent_scls.rb
60f33a
# git clone --no-checkout git@github.com:rubygems/rubygems.git
60f33a
# git -C rubygems archive --prefix=rubygems/ -v -o ruby-rubygems-bundler-v2.2.24.txz bundler-v2.2.24
60f33a
Source15: ruby-rubygems-bundler-v%{bundler_version}.txz
622cf5
622cf5
# Call load builtin macro if it is defined (RPM 4.12+),
622cf5
# or call own load macro to avoid the error by "rhpkg srpm" on RPM 4.15+.
622cf5
# https://github.com/rpm-software-management/rpm/issues/1104
622cf5
Source100: load.inc
622cf5
622cf5
%if "%{load:/dev/null}" == ""
622cf5
%{?load:%{SOURCE4}}
622cf5
%{?load:%{SOURCE5}}
622cf5
%else
622cf5
%include %{SOURCE100}
622cf5
%{load %{SOURCE4}}
622cf5
%{load %{SOURCE5}}
622cf5
%endif
622cf5
622cf5
# Fix ruby_version abuse.
622cf5
# https://bugs.ruby-lang.org/issues/11002
622cf5
Patch0: ruby-2.3.0-ruby_version.patch
622cf5
# http://bugs.ruby-lang.org/issues/7807
622cf5
Patch1: ruby-2.1.0-Prevent-duplicated-paths-when-empty-version-string-i.patch
622cf5
# Allows to override libruby.so placement. Hopefully we will be able to return
622cf5
# to plain --with-rubyarchprefix.
622cf5
# http://bugs.ruby-lang.org/issues/8973
622cf5
Patch2: ruby-2.1.0-Enable-configuration-of-archlibdir.patch
622cf5
# Force multiarch directories for i.86 to be always named i386. This solves
622cf5
# some differencies in build between Fedora and RHEL.
622cf5
Patch3: ruby-2.1.0-always-use-i386.patch
622cf5
# Allows to install RubyGems into custom directory, outside of Ruby's tree.
622cf5
# http://bugs.ruby-lang.org/issues/5617
622cf5
Patch4: ruby-2.1.0-custom-rubygems-location.patch
622cf5
# Make mkmf verbose by default
622cf5
Patch5: ruby-1.9.3-mkmf-verbose.patch
622cf5
# The ABRT hook used to be initialized by preludes via following patches:
622cf5
# https://bugs.ruby-lang.org/issues/8566
622cf5
# https://bugs.ruby-lang.org/issues/15306
622cf5
# Unfortunately, due to https://bugs.ruby-lang.org/issues/16254
622cf5
# and especially since https://github.com/ruby/ruby/pull/2735
622cf5
# this would require boostrapping:
622cf5
# https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org/message/LH6L6YJOYQT4Y5ZNOO4SLIPTUWZ5V45Q/
622cf5
# For now, load the ABRT hook via this simple patch:
622cf5
Patch6: ruby-2.7.0-Initialize-ABRT-hook.patch
622cf5
# Workaround "an invalid stdio handle" error on PPC, due to recently introduced
622cf5
# hardening features of glibc (rhbz#1361037).
622cf5
# https://bugs.ruby-lang.org/issues/12666
622cf5
Patch9: ruby-2.3.1-Rely-on-ldd-to-detect-glibc.patch
0f7e54
# Prevent issues with openssl loading when RubyGems are disabled.
0f7e54
# https://github.com/ruby/openssl/pull/242
0f7e54
Patch13: ruby-2.8.0-remove-unneeded-gem-require-for-ipaddr.patch
0f7e54
# Avoid possible timeout errors in TestBugReporter#test_bug_reporter_add.
0f7e54
# https://bugs.ruby-lang.org/issues/16492
0f7e54
Patch19: ruby-2.7.1-Timeout-the-test_bug_reporter_add-witout-raising-err.patch
0f7e54
# Resolv::DNS: timeouts if multiple IPv6 name servers are given and address
0f7e54
# contains leading zero
0f7e54
# https://bugzilla.redhat.com/show_bug.cgi?id=1944227
0f7e54
Patch20: ruby-3.0.0-Convert-ip-addresses-to-canonical-form.patch
60f33a
# Revert a commit changing CFLAGS to avoid failures in test_jit.rb.
60f33a
# https://bugs.ruby-lang.org/issues/18073
60f33a
# https://github.com/ruby/ruby/commit/29bbad939939c6dceb804aac667ba372fdee4ef5
60f33a
Patch21: ruby-2.7.4-Revert-fix-2.7-build-for-jit.patch
60f33a
# Update `bundler.gemspec` from RubyGems, required to pass `make test-bundler`.
60f33a
# Compare RubyGems `bundler/bundler.gemspec` with Ruby `lib/bundler/bundler.gemspec`.
60f33a
Patch22: rubygems-bundler-gemspec-for-make-test-bundler.patch
60f33a
# A missing gem error message is changed on RubyGems 3.2.13.
60f33a
# https://github.com/ruby/ruby/commit/7efc7afcae6720e1af7ab49986d789b6f9d6fe0a
60f33a
Patch23: rubygems-3.2.13-test-gem-message.patch
60f33a
# Fix Gem::Requirement#== raising NoMethodError on RubyGems < 3.2.0.
60f33a
# https://github.com/rubygems/rubygems/commit/d62539f23aa1624ae170008e47a5a3e15f0dc2ef
60f33a
# https://github.com/ruby/ruby/commit/c082c6eb7c786a432bea23cf78839f64585cb630
60f33a
Patch24: rubygems-3.2.22-fix-requirement-equals.patch
12267e
# Fix tests with Europe/Amsterdam pre-1970 time on tzdata version 2022b.
12267e
# https://github.com/ruby/spec/pull/939
12267e
Patch25: ruby-spec-Fix-tests-on-tzdata-2022b.patch
60f33a
622cf5
# Skip some clocks that are not available on Brew build environment.
622cf5
# https://projects.engineering.redhat.com/browse/BST-1017
622cf5
Patch100: ruby-2.7.0-skip-some-clocks.patch
622cf5
622cf5
Requires: %{?scl_prefix}%{pkg_name}-libs%{?_isa} = %{version}-%{release}
622cf5
Requires: %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
12267e
# We keep some default installed gems that is sub package as Requires,
622cf5
# focusing customer's use cases on RHEL.
622cf5
# Make the bigdecimal gem a runtime dependency of Ruby to avoid problems
622cf5
# with user-installed gems, that don't require it in gemspec/Gemfile
622cf5
# See https://bugzilla.redhat.com/show_bug.cgi?id=829209
622cf5
# and http://bugs.ruby-lang.org/issues/6123
622cf5
Requires: %{?scl_prefix}rubygem(bigdecimal) >= %{bigdecimal_version}
622cf5
Requires: %{?scl_prefix}rubygem(did_you_mean) >= %{did_you_mean_version}
622cf5
Requires: %{?scl_prefix}rubygem(io-console) >= %{io_console_version}
622cf5
Requires: %{?scl_prefix}rubygem(json) >= %{json_version}
622cf5
Requires: %{?scl_prefix}rubygem(openssl) >= %{openssl_version}
622cf5
Requires: %{?scl_prefix}rubygem(psych) >= %{psych_version}
622cf5
Requires: %{?scl_prefix}rubygem(racc) >= %{racc_version}
622cf5
Requires: %{?scl_prefix}rubygem(rdoc) >= %{rdoc_version}
622cf5
622cf5
BuildRequires: autoconf
622cf5
BuildRequires: gdbm-devel
622cf5
%{?with_gmp:BuildRequires: gmp-devel}
622cf5
BuildRequires: libffi-devel
622cf5
BuildRequires: openssl-devel
622cf5
BuildRequires: libyaml-devel
622cf5
BuildRequires: readline-devel
622cf5
# Needed to pass test_set_program_name(TestRubyOptions)
622cf5
BuildRequires: procps
622cf5
%{?with_systemtap:BuildRequires: %{?_root_bindir}%{!?_root_bindir:%{_bindir}}/dtrace}
622cf5
# RubyGems test suite optional dependencies.
622cf5
%{?with_git:BuildRequires: %{?_root_bindir}%{!?_root_bindir:%{_bindir}}/git}
622cf5
%{?with_cmake:BuildRequires: %{?_root_bindir}%{!?_root_bindir:%{_bindir}}/cmake}
622cf5
# Required to test hardening.
622cf5
%{?with_hardening_test:BuildRequires: %{?_root_bindir}%{!?_root_bindir:%{_bindir}}/checksec}
622cf5
%{?with_hostname:BuildRequires: hostname}
622cf5
BuildRequires: multilib-rpm-config
622cf5
BuildRequires: gcc
622cf5
BuildRequires: zlib-devel
622cf5
622cf5
# This package provides %%{_bindir}/ruby-mri therefore it is marked by this
622cf5
# virtual provide. It can be installed as dependency of rubypick.
622cf5
Provides: ruby(runtime_executable) = %{ruby_release}
622cf5
622cf5
%description
622cf5
Ruby is the interpreted scripting language for quick and easy
622cf5
object-oriented programming.  It has many features to process text
622cf5
files and to do system management tasks (as in Perl).  It is simple,
622cf5
straight-forward, and extensible.
622cf5
622cf5
622cf5
%package devel
622cf5
Summary:    A Ruby development environment
622cf5
Group:      Development/Languages
622cf5
Requires:   %{?scl_prefix}%{pkg_name}%{?_isa} = %{version}-%{release}
622cf5
# This would not be needed if ~50 packages depending on -devel used
622cf5
# --disable-gems
622cf5
Requires:   %{?scl_prefix}rubygems
622cf5
622cf5
%description devel
622cf5
Header files and libraries for building an extension library for the
622cf5
Ruby or an application embedding Ruby.
622cf5
622cf5
%package libs
622cf5
Summary:    Libraries necessary to run Ruby
622cf5
Group:      Development/Libraries
622cf5
License:    Ruby or BSD
622cf5
Provides:   %{?scl_prefix}ruby(release) = %{ruby_release}
622cf5
622cf5
# Virtual provides for CCAN copylibs.
622cf5
# https://fedorahosted.org/fpc/ticket/364
622cf5
Provides: bundled(ccan-build_assert)
622cf5
Provides: bundled(ccan-check_type)
622cf5
Provides: bundled(ccan-container_of)
622cf5
Provides: bundled(ccan-list)
622cf5
622cf5
%description libs
622cf5
This package includes the libruby, necessary to run Ruby.
622cf5
622cf5
622cf5
# TODO: Rename or not rename to ruby-rubygems?
622cf5
%package -n %{?scl_prefix}rubygems
622cf5
Summary:    The Ruby standard for packaging ruby libraries
622cf5
Version:    %{rubygems_version}
622cf5
Group:      Development/Libraries
622cf5
License:    Ruby or MIT
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}rubygem(bundler) >= %{bundler_version}
622cf5
Requires:   %{?scl_prefix}rubygem(rdoc) >= %{rdoc_version}
622cf5
Requires:   %{?scl_prefix}rubygem(io-console) >= %{io_console_version}
622cf5
Requires:   %{?scl_prefix}rubygem(openssl) >= %{openssl_version}
622cf5
Requires:   %{?scl_prefix}rubygem(psych) >= %{psych_version}
622cf5
Provides:   %{?scl_prefix}gem = %{version}-%{release}
622cf5
Provides:   %{?scl_prefix}ruby(rubygems) = %{version}-%{release}
622cf5
# https://github.com/rubygems/rubygems/pull/1189#issuecomment-121600910
622cf5
Provides:   bundled(rubygem-molinillo) = %{rubygems_molinillo_version}
622cf5
BuildArch:  noarch
622cf5
622cf5
%description -n %{?scl_prefix}rubygems
622cf5
RubyGems is the Ruby standard for publishing and managing third party
622cf5
libraries.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygems-devel
622cf5
Summary:    Macros and development tools for packaging RubyGems
622cf5
Version:    %{rubygems_version}
622cf5
Group:      Development/Libraries
622cf5
License:    Ruby or MIT
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) = %{version}-%{release}
622cf5
# Needed for RDoc documentation format generation.
622cf5
Requires:   %{?scl_prefix}rubygem(json) >= %{json_version}
622cf5
Requires:   %{?scl_prefix}rubygem(rdoc) >= %{rdoc_version}
622cf5
BuildArch:  noarch
622cf5
622cf5
%description -n %{?scl_prefix}rubygems-devel
622cf5
Macros and development tools for packaging RubyGems.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-rake
622cf5
Summary:    Ruby based make-like utility
622cf5
Version:    %{rake_version}
622cf5
Group:      Development/Libraries
622cf5
License:    MIT
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Provides:   %{?scl_prefix}rake = %{version}-%{release}
622cf5
Provides:   %{?scl_prefix}rubygem(rake) = %{version}-%{release}
622cf5
BuildArch:  noarch
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-rake
622cf5
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
622cf5
specified in standard Ruby syntax.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-irb
622cf5
Summary:    The Interactive Ruby
622cf5
Version:    %{irb_version}
622cf5
Group:      Development/Libraries
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Provides:   irb = %{version}-%{release}
622cf5
Provides:   %{?scl_prefix}rubygem(irb) = %{version}-%{release}
622cf5
Provides:   %{?scl_prefix}ruby(irb) = %{version}-%{release}
622cf5
BuildArch:  noarch
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-irb
622cf5
The irb is acronym for Interactive Ruby.  It evaluates ruby expression
622cf5
from the terminal.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-rdoc
622cf5
Summary:    A tool to generate HTML and command-line documentation for Ruby projects
622cf5
Version:    %{rdoc_version}
622cf5
Group:      Development/Libraries
622cf5
# SIL: lib/rdoc/generator/template/darkfish/css/fonts.css
622cf5
License:    GPLv2 and Ruby and MIT and OFL
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Requires:   %{?scl_prefix}rubygem(irb) >= %{irb_version}
622cf5
Requires:   %{?scl_prefix}rubygem(io-console) >= %{io_console_version}
622cf5
Requires:   %{?scl_prefix}rubygem(json) >= %{json_version}
622cf5
Provides:   %{?scl_prefix}rdoc = %{version}-%{release}
622cf5
Provides:   %{?scl_prefix}ri = %{version}-%{release}
622cf5
Provides:   %{?scl_prefix}rubygem(rdoc) = %{version}-%{release}
622cf5
BuildArch:  noarch
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-rdoc
622cf5
RDoc produces HTML and command-line documentation for Ruby projects.  RDoc
622cf5
includes the 'rdoc' and 'ri' tools for generating and displaying online
622cf5
documentation.
622cf5
622cf5
622cf5
%package doc
622cf5
Summary:    Documentation for %{pkg_name}
622cf5
Group:      Documentation
622cf5
Requires:   %{_bindir}/ri
622cf5
BuildArch:  noarch
622cf5
622cf5
%description doc
622cf5
This package contains documentation for %{pkg_name}.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-bigdecimal
622cf5
Summary:    BigDecimal provides arbitrary-precision floating point decimal arithmetic
622cf5
Version:    %{bigdecimal_version}
622cf5
Group:      Development/Libraries
622cf5
License:    Ruby or BSD
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Provides:   %{?scl_prefix}rubygem(bigdecimal) = %{version}-%{release}
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-bigdecimal
622cf5
Ruby provides built-in support for arbitrary precision integer arithmetic.
622cf5
For example:
622cf5
622cf5
42**13 -> 1265437718438866624512
622cf5
622cf5
BigDecimal provides similar support for very large or very accurate floating
622cf5
point numbers. Decimal arithmetic is also useful for general calculation,
622cf5
because it provides the correct answers people expect–whereas normal binary
622cf5
floating point arithmetic often introduces subtle errors because of the
622cf5
conversion between base 10 and base 2.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-did_you_mean
622cf5
Summary:    "Did you mean?" experience in Ruby
622cf5
Version:    %{did_you_mean_version}
622cf5
Group:      Development/Libraries
622cf5
License:    MIT
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Provides:   %{?scl_prefix}rubygem(did_you_mean) = %{version}-%{release}
622cf5
BuildArch:  noarch
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-did_you_mean
622cf5
"did you mean?" experience in Ruby: the error message will tell you the right
622cf5
one when you misspelled something.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-io-console
622cf5
Summary:    IO/Console is a simple console utilizing library
622cf5
Version:    %{io_console_version}
622cf5
Group:      Development/Libraries
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Provides:   %{?scl_prefix}rubygem(io-console) = %{version}-%{release}
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-io-console
622cf5
IO/Console provides very simple and portable access to console. It doesn't
622cf5
provide higher layer features, such like curses and readline.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-json
622cf5
Summary:    This is a JSON implementation as a Ruby extension in C
622cf5
Version:    %{json_version}
622cf5
Group:      Development/Libraries
622cf5
# UCD: ext/json/generator/generator.c
622cf5
License:    (Ruby or GPLv2) and UCD
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Provides:   %{?scl_prefix}rubygem(json) = %{version}-%{release}
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-json
622cf5
This is a implementation of the JSON specification according to RFC 4627.
622cf5
You can think of it as a low fat alternative to XML, if you want to store
622cf5
data to disk or transmit it over a network rather than use a verbose
622cf5
markup language.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-minitest
622cf5
Summary:    Minitest provides a complete suite of testing facilities
622cf5
Version:    %{minitest_version}
622cf5
Group:      Development/Libraries
622cf5
License:    MIT
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Provides:   %{?scl_prefix}rubygem(minitest) = %{version}-%{release}
622cf5
BuildArch:  noarch
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-minitest
622cf5
minitest/unit is a small and incredibly fast unit testing framework.
622cf5
622cf5
minitest/spec is a functionally complete spec engine.
622cf5
622cf5
minitest/benchmark is an awesome way to assert the performance of your
622cf5
algorithms in a repeatable manner.
622cf5
622cf5
minitest/mock by Steven Baker, is a beautifully tiny mock object
622cf5
framework.
622cf5
622cf5
minitest/pride shows pride in testing and adds coloring to your test
622cf5
output.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-openssl
622cf5
Summary:    OpenSSL provides SSL, TLS and general purpose cryptography
622cf5
Version:    %{openssl_version}
622cf5
Group:      Development/Libraries
622cf5
License:    Ruby or BSD
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Provides:   %{?scl_prefix}rubygem(openssl) = %{version}-%{release}
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-openssl
622cf5
OpenSSL provides SSL, TLS and general purpose cryptography. It wraps the
622cf5
OpenSSL library.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-power_assert
622cf5
Summary:    Power Assert for Ruby
622cf5
Version:    %{power_assert_version}
622cf5
Group:      Development/Libraries
622cf5
License:    Ruby or BSD
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Provides:   %{?scl_prefix}rubygem(power_assert) = %{version}-%{release}
622cf5
BuildArch:  noarch
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-power_assert
622cf5
Power Assert shows each value of variables and method calls in the expression.
622cf5
It is useful for testing, providing which value wasn't correct when the
622cf5
condition is not satisfied.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-psych
622cf5
Summary:    A libyaml wrapper for Ruby
622cf5
Version:    %{psych_version}
622cf5
Group:      Development/Libraries
622cf5
License:    MIT
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Provides:   %{?scl_prefix}rubygem(psych) = %{version}-%{release}
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-psych
622cf5
Psych is a YAML parser and emitter. Psych leverages
622cf5
libyaml[http://pyyaml.org/wiki/LibYAML] for its YAML parsing and emitting
622cf5
capabilities. In addition to wrapping libyaml, Psych also knows how to
622cf5
serialize and de-serialize most Ruby objects to and from the YAML format.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-net-telnet
622cf5
Summary:    Provides telnet client functionality
622cf5
Version:    %{net_telnet_version}
622cf5
Group:      Development/Libraries
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Provides:   %{?scl_prefix}rubygem(net-telnet) = %{version}-%{release}
622cf5
BuildArch:  noarch
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-net-telnet
622cf5
Provides telnet client functionality.
622cf5
622cf5
This class also has, through delegation, all the methods of a socket object
622cf5
(by default, a TCPSocket, but can be set by the Proxy option to new()). This
622cf5
provides methods such as close() to end the session and sysread() to read data
622cf5
directly from the host, instead of via the waitfor() mechanism. Note that if
622cf5
you do use sysread() directly when in telnet mode, you should probably pass
622cf5
the output through preprocess() to extract telnet command sequences.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-test-unit
622cf5
Summary:    An xUnit family unit testing framework for Ruby
622cf5
Version:    %{test_unit_version}
622cf5
Group:      Development/Libraries
622cf5
# lib/test/unit/diff.rb is a double license of the Ruby license and PSF license.
622cf5
# lib/test-unit.rb is a dual license of the Ruby license and LGPLv2.1 or later.
622cf5
License:    (Ruby or BSD) and (Ruby or BSD or Python) and (Ruby or BSD or LGPLv2+)
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Requires:   %{?scl_prefix}rubygem(power_assert)
622cf5
Provides:   %{?scl_prefix}rubygem(test-unit) = %{version}-%{release}
622cf5
BuildArch:  noarch
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-test-unit
622cf5
Test::Unit (test-unit) is unit testing framework for Ruby, based on xUnit
622cf5
principles. These were originally designed by Kent Beck, creator of extreme
622cf5
programming software development methodology, for Smalltalk's SUnit. It allows
622cf5
writing tests, checking results and automated testing in Ruby.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-xmlrpc
622cf5
Summary:    XMLRPC is a lightweight protocol that enables remote procedure calls over HTTP
622cf5
Version:    %{xmlrpc_version}
622cf5
Group:      Development/Libraries
622cf5
License:    Ruby or BSD
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Provides:   %{?scl_prefix}rubygem(xmlrpc) = %{version}-%{release}
622cf5
BuildArch:  noarch
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-xmlrpc
622cf5
XMLRPC is a lightweight protocol that enables remote procedure calls over
622cf5
HTTP.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-bundler
622cf5
Summary:    Library and utilities to manage a Ruby application's gem dependencies
622cf5
Version:    %{bundler_version}
622cf5
Group:      Development/Libraries
622cf5
License:    MIT
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Requires:   %{?scl_prefix}rubygem(io-console)
622cf5
Provides:   %{?scl_prefix}rubygem(bundler) = %{version}-%{release}
622cf5
# https://github.com/bundler/bundler/issues/3647
622cf5
Provides:   bundled(connection_pool) = %{bundler_connection_pool_version}
622cf5
Provides:   bundled(rubygem-fileutils) = %{bundler_fileutils_version}
622cf5
Provides:   bundled(rubygem-molinillo) = %{bundler_molinillo_version}
622cf5
Provides:   bundled(rubygem-net-http-persisntent) = %{bundler_net_http_persistent_version}
622cf5
Provides:   bundled(rubygem-thor) = %{bundler_thor_version}
622cf5
BuildArch:  noarch
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-bundler
622cf5
Bundler manages an application's dependencies through its entire life, across
622cf5
many machines, systematically and repeatably.
622cf5
622cf5
622cf5
%package -n %{?scl_prefix}rubygem-racc
622cf5
Summary:    Racc is a LALR(1) parser generator
622cf5
Version:    %{racc_version}
622cf5
License:    MIT
622cf5
Requires:   %{?scl_prefix}ruby(release)
622cf5
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
622cf5
Provides:   %{?scl_prefix}rubygem(racc) = %{version}-%{release}
622cf5
622cf5
%description -n %{?scl_prefix}rubygem-racc
622cf5
Racc is a LALR(1) parser generator. It is written in Ruby itself, and
622cf5
generates Ruby program.
622cf5
622cf5
622cf5
%prep
60f33a
%setup -q -n %{ruby_archive} -b15
622cf5
622cf5
# Remove bundled libraries to be sure they are not used.
622cf5
rm -rf ext/psych/yaml
622cf5
rm -rf ext/fiddle/libffi*
622cf5
60f33a
# Update Bundler to fix CVE-2020-36327.
60f33a
# https://bugzilla.redhat.com/show_bug.cgi?id=1958999
60f33a
rm -rf lib/bundler{.rb,}
60f33a
rm -rf {spec,tool}/bundler
60f33a
cp -a %{_builddir}/rubygems/bundler/lib/bundler{.rb,} lib/
60f33a
cp -a %{_builddir}/rubygems/bundler/bundler.gemspec lib/bundler/
60f33a
cp -a %{_builddir}/rubygems/bundler/spec spec/bundler
60f33a
cp -a %{_builddir}/rubygems/bundler/tool/bundler tool/bundler
60f33a
622cf5
%patch0 -p1
622cf5
%patch1 -p1
622cf5
%patch2 -p1
622cf5
%patch3 -p1
622cf5
%patch4 -p1
622cf5
%patch5 -p1
622cf5
%patch6 -p1
622cf5
%patch9 -p1
0f7e54
%patch13 -p1
0f7e54
%patch19 -p1
0f7e54
%patch20 -p1
60f33a
%patch21 -p1
60f33a
%patch22 -p1
60f33a
%patch23 -p1
60f33a
%patch24 -p1
12267e
%patch25 -p1
622cf5
%patch100 -p1
622cf5
622cf5
# Provide an example of usage of the tapset:
622cf5
cp -a %{SOURCE3} .
622cf5
622cf5
%build
622cf5
autoconf
622cf5
622cf5
%configure \
622cf5
        --with-rubylibprefix='%{ruby_libdir}' \
622cf5
        --with-archlibdir='%{_libdir}' \
622cf5
        --with-rubyarchprefix='%{ruby_libarchdir}' \
622cf5
        --with-sitedir='%{ruby_sitelibdir}' \
622cf5
        --with-sitearchdir='%{ruby_sitearchdir}' \
622cf5
        --with-vendordir='%{ruby_vendorlibdir}' \
622cf5
        --with-vendorarchdir='%{ruby_vendorarchdir}' \
622cf5
        --with-rubyhdrdir='%{_includedir}' \
622cf5
        --with-rubyarchhdrdir='%{_includedir}' \
622cf5
        --with-sitearchhdrdir='$(sitehdrdir)/$(arch)' \
622cf5
        --with-vendorarchhdrdir='$(vendorhdrdir)/$(arch)' \
622cf5
        --with-rubygemsdir='%{rubygems_dir}' \
622cf5
        --with-ruby-pc='%{pkg_name}.pc' \
622cf5
        --with-compress-debug-sections=no \
622cf5
        --disable-rpath \
622cf5
        --enable-shared \
622cf5
        --with-ruby-version='' \
622cf5
        --enable-multiarch \
622cf5
622cf5
# Q= makes the build output more verbose and allows to check Fedora
622cf5
# compiler options.
622cf5
make %{?_smp_mflags} COPY="cp -p" Q=
622cf5
622cf5
%install
622cf5
rm -rf %{buildroot}
622cf5
make install DESTDIR=%{buildroot}
622cf5
622cf5
# Rename ruby/config.h to ruby/config-<arch>.h to avoid file conflicts on
622cf5
# multilib systems and install config.h wrapper
622cf5
%multilib_fix_c_header --file %{_includedir}/%{pkg_name}/config.h
622cf5
# TODO: The correct patch should be %%{_includedir}/%%{name}/rb_mjit_min_header-%%{ruby_version}.h
622cf5
# https://bugs.ruby-lang.org/issues/15425
622cf5
%multilib_fix_c_header --file %{_includedir}/rb_mjit_min_header-%{ruby_version}.h
622cf5
622cf5
# Rename the ruby executable. It is replaced by RubyPick.
622cf5
%{?with_rubypick:mv %{buildroot}%{_bindir}/%{pkg_name}{,-mri}}
622cf5
622cf5
# Version is empty if --with-ruby-version is specified.
622cf5
# http://bugs.ruby-lang.org/issues/7807
622cf5
sed -i 's/Version: \${ruby_version}/Version: %{ruby_version}/' %{buildroot}%{_libdir}/pkgconfig/%{pkg_name}.pc
622cf5
622cf5
# Kill bundled certificates, as they should be part of ca-certificates.
622cf5
for cert in \
622cf5
  rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem \
622cf5
  rubygems.org/AddTrustExternalCARoot.pem \
622cf5
  index.rubygems.org/GlobalSignRootCA.pem
622cf5
do
622cf5
  rm %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/$cert
622cf5
  rm -r $(dirname %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/$cert)
622cf5
done
622cf5
# Ensure there is not forgotten any certificate.
622cf5
test ! "$(ls -A  %{buildroot}%{rubygems_dir}/rubygems/ssl_certs/ 2>/dev/null)"
622cf5
622cf5
# Move macros file into proper place and replace the %%{pkg_name} macro, since it
622cf5
# would be wrongly evaluated during build of other packages.
622cf5
mkdir -p %{buildroot}%{_root_sysconfdir}/rpm
622cf5
install -m 644 %{SOURCE4} %{buildroot}%{_root_sysconfdir}/rpm/macros.ruby%{?scl:.%{scl}}
622cf5
sed -i "s/%%{pkg_name}/%{pkg_name}/" %{buildroot}%{_root_sysconfdir}/rpm/macros.ruby%{?scl:.%{scl}}
622cf5
install -m 644 %{SOURCE5} %{buildroot}%{_root_sysconfdir}/rpm/macros.rubygems%{?scl:.%{scl}}
622cf5
sed -i "s/%%{pkg_name}/%{pkg_name}/" %{buildroot}%{_root_sysconfdir}/rpm/macros.rubygems%{?scl:.%{scl}}
622cf5
622cf5
# Install custom operating_system.rb.
622cf5
mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults
622cf5
sed 's/@SCL@/%{scl}/' %{SOURCE1} > %{buildroot}%{rubygems_dir}/rubygems/defaults/%{basename:%{SOURCE1}}
622cf5
622cf5
# Move gems root into common direcotry, out of Ruby directory structure.
622cf5
mv %{buildroot}%{ruby_libdir}/gems %{buildroot}%{gem_dir}
622cf5
622cf5
# Create folders for gem binary extensions.
622cf5
# TODO: These folders should go into rubygem-filesystem but how to achieve it,
622cf5
# since noarch package cannot provide arch dependent subpackages?
622cf5
# http://rpm.org/ticket/78
622cf5
mkdir -p %{buildroot}%{_exec_prefix}/lib{,64}/gems/%{pkg_name}
622cf5
622cf5
# Move bundled rubygems to %%gem_dir and %%gem_extdir_mri
622cf5
# make symlinks for io-console and bigdecimal, which are considered to be part of stdlib by other Gems
622cf5
mkdir -p %{buildroot}%{gem_dir}/gems/irb-%{irb_version}/lib
622cf5
mv %{buildroot}%{ruby_libdir}/irb* %{buildroot}%{gem_dir}/gems/irb-%{irb_version}/lib
622cf5
mv %{buildroot}%{gem_dir}/specifications/default/irb-%{irb_version}.gemspec %{buildroot}%{gem_dir}/specifications
622cf5
ln -s %{gem_dir}/gems/irb-%{irb_version}/lib/irb.rb %{buildroot}%{ruby_libdir}/irb.rb
622cf5
ln -s %{gem_dir}/gems/irb-%{irb_version}/lib/irb %{buildroot}%{ruby_libdir}/irb
622cf5
622cf5
mkdir -p %{buildroot}%{gem_dir}/gems/rdoc-%{rdoc_version}/lib
622cf5
mv %{buildroot}%{ruby_libdir}/rdoc* %{buildroot}%{gem_dir}/gems/rdoc-%{rdoc_version}/lib
622cf5
mv %{buildroot}%{gem_dir}/specifications/default/rdoc-%{rdoc_version}.gemspec %{buildroot}%{gem_dir}/specifications
622cf5
# Below rdoc symbolic links' change is only on SCL. Not on Fedora.
622cf5
# http://pkgs.devel.redhat.com/cgit/rpms/ruby/commit/?id=369e65c
622cf5
# https://src.fedoraproject.org/rpms/ruby/pull-request/9
622cf5
ln -s %{gem_dir}/gems/rdoc-%{rdoc_version}/lib/rdoc.rb %{buildroot}%{ruby_libdir}/rdoc.rb
622cf5
ln -s %{gem_dir}/gems/rdoc-%{rdoc_version}/lib/rdoc %{buildroot}%{ruby_libdir}/rdoc
622cf5
622cf5
mkdir -p %{buildroot}%{gem_dir}/gems/bigdecimal-%{bigdecimal_version}/lib
622cf5
mkdir -p %{buildroot}%{_libdir}/gems/%{pkg_name}/bigdecimal-%{bigdecimal_version}/bigdecimal
622cf5
mv %{buildroot}%{ruby_libdir}/bigdecimal %{buildroot}%{gem_dir}/gems/bigdecimal-%{bigdecimal_version}/lib
622cf5
mv %{buildroot}%{ruby_libarchdir}/bigdecimal.so %{buildroot}%{_libdir}/gems/%{pkg_name}/bigdecimal-%{bigdecimal_version}
622cf5
mv %{buildroot}%{gem_dir}/specifications/default/bigdecimal-%{bigdecimal_version}.gemspec %{buildroot}%{gem_dir}/specifications
622cf5
ln -s %{gem_dir}/gems/bigdecimal-%{bigdecimal_version}/lib/bigdecimal %{buildroot}%{ruby_libdir}/bigdecimal
622cf5
ln -s %{_libdir}/gems/%{pkg_name}/bigdecimal-%{bigdecimal_version}/bigdecimal.so %{buildroot}%{ruby_libarchdir}/bigdecimal.so
622cf5
622cf5
# TODO: Put help files into proper location.
622cf5
# https://bugs.ruby-lang.org/issues/15359
622cf5
mkdir -p %{buildroot}%{gem_dir}/gems/bundler-%{bundler_version}/lib
622cf5
mv %{buildroot}%{ruby_libdir}/bundler.rb %{buildroot}%{gem_dir}/gems/bundler-%{bundler_version}/lib
622cf5
mv %{buildroot}%{ruby_libdir}/bundler %{buildroot}%{gem_dir}/gems/bundler-%{bundler_version}/lib
622cf5
mv %{buildroot}%{gem_dir}/specifications/default/bundler-%{bundler_version}.gemspec %{buildroot}%{gem_dir}/specifications
622cf5
622cf5
mkdir -p %{buildroot}%{gem_dir}/gems/did_you_mean-%{did_you_mean_version}/lib
622cf5
mv %{buildroot}%{ruby_libdir}/did_you_mean.rb %{buildroot}%{gem_dir}/gems/did_you_mean-%{did_you_mean_version}/lib
622cf5
mv %{buildroot}%{ruby_libdir}/did_you_mean %{buildroot}%{gem_dir}/gems/did_you_mean-%{did_you_mean_version}/lib
622cf5
mv %{buildroot}%{gem_dir}/specifications/default/did_you_mean-%{did_you_mean_version}.gemspec %{buildroot}%{gem_dir}/specifications
622cf5
ln -s %{gem_dir}/gems/did_you_mean-%{did_you_mean_version}/lib/did_you_mean.rb %{buildroot}%{ruby_libdir}/did_you_mean.rb
622cf5
ln -s %{gem_dir}/gems/did_you_mean-%{did_you_mean_version}/lib/did_you_mean %{buildroot}%{ruby_libdir}/did_you_mean
622cf5
622cf5
mkdir -p %{buildroot}%{gem_dir}/gems/io-console-%{io_console_version}/lib
622cf5
mkdir -p %{buildroot}%{_libdir}/gems/%{pkg_name}/io-console-%{io_console_version}/io
622cf5
mv %{buildroot}%{ruby_libdir}/io %{buildroot}%{gem_dir}/gems/io-console-%{io_console_version}/lib
622cf5
mv %{buildroot}%{ruby_libarchdir}/io/console.so %{buildroot}%{_libdir}/gems/%{pkg_name}/io-console-%{io_console_version}/io
622cf5
mv %{buildroot}%{gem_dir}/specifications/default/io-console-%{io_console_version}.gemspec %{buildroot}%{gem_dir}/specifications
622cf5
ln -s %{gem_dir}/gems/io-console-%{io_console_version}/lib/io %{buildroot}%{ruby_libdir}/io
622cf5
ln -s %{_libdir}/gems/%{pkg_name}/io-console-%{io_console_version}/io/console.so %{buildroot}%{ruby_libarchdir}/io/console.so
622cf5
622cf5
mkdir -p %{buildroot}%{gem_dir}/gems/json-%{json_version}/lib
622cf5
mkdir -p %{buildroot}%{_libdir}/gems/%{pkg_name}/json-%{json_version}
622cf5
mv %{buildroot}%{ruby_libdir}/json* %{buildroot}%{gem_dir}/gems/json-%{json_version}/lib
622cf5
mv %{buildroot}%{ruby_libarchdir}/json/ %{buildroot}%{_libdir}/gems/%{pkg_name}/json-%{json_version}/
622cf5
mv %{buildroot}%{gem_dir}/specifications/default/json-%{json_version}.gemspec %{buildroot}%{gem_dir}/specifications
622cf5
ln -s %{gem_dir}/gems/json-%{json_version}/lib/json.rb %{buildroot}%{ruby_libdir}/json.rb
622cf5
ln -s %{gem_dir}/gems/json-%{json_version}/lib/json %{buildroot}%{ruby_libdir}/json
622cf5
ln -s %{_libdir}/gems/%{pkg_name}/json-%{json_version}/json/ %{buildroot}%{ruby_libarchdir}/json
622cf5
622cf5
mkdir -p %{buildroot}%{gem_dir}/gems/openssl-%{openssl_version}/lib
622cf5
mkdir -p %{buildroot}%{_libdir}/gems/%{pkg_name}/openssl-%{openssl_version}
622cf5
mv %{buildroot}%{ruby_libdir}/openssl* %{buildroot}%{gem_dir}/gems/openssl-%{openssl_version}/lib
622cf5
mv %{buildroot}%{ruby_libarchdir}/openssl.so %{buildroot}%{_libdir}/gems/%{pkg_name}/openssl-%{openssl_version}/
622cf5
mv %{buildroot}%{gem_dir}/specifications/default/openssl-%{openssl_version}.gemspec %{buildroot}%{gem_dir}/specifications
622cf5
# This used to be directory when OpenSSL was integral part of StdLib => Keep
622cf5
# it as directory and link everything in it to prevent directory => symlink
622cf5
# conversion RPM issues.
622cf5
mkdir -p %{buildroot}%{ruby_libdir}/openssl
622cf5
find %{buildroot}%{gem_dir}/gems/openssl-%{openssl_version}/lib/openssl -maxdepth 1 -type f -exec \
622cf5
  sh -c 'ln -s %{gem_dir}/gems/openssl-%{openssl_version}/lib/openssl/`basename {}` %{buildroot}%{ruby_libdir}/openssl' \;
622cf5
ln -s %{gem_dir}/gems/openssl-%{openssl_version}/lib/openssl.rb %{buildroot}%{ruby_libdir}/openssl.rb
622cf5
ln -s %{_libdir}/gems/%{pkg_name}/openssl-%{openssl_version}/openssl.so %{buildroot}%{ruby_libarchdir}/openssl.so
622cf5
622cf5
mkdir -p %{buildroot}%{gem_dir}/gems/psych-%{psych_version}/lib
622cf5
mkdir -p %{buildroot}%{_libdir}/gems/%{pkg_name}/psych-%{psych_version}
622cf5
mv %{buildroot}%{ruby_libdir}/psych* %{buildroot}%{gem_dir}/gems/psych-%{psych_version}/lib
622cf5
mv %{buildroot}%{ruby_libarchdir}/psych.so %{buildroot}%{_libdir}/gems/%{pkg_name}/psych-%{psych_version}/
622cf5
mv %{buildroot}%{gem_dir}/specifications/default/psych-%{psych_version}.gemspec %{buildroot}%{gem_dir}/specifications
622cf5
ln -s %{gem_dir}/gems/psych-%{psych_version}/lib/psych %{buildroot}%{ruby_libdir}/psych
622cf5
ln -s %{gem_dir}/gems/psych-%{psych_version}/lib/psych.rb %{buildroot}%{ruby_libdir}/psych.rb
622cf5
ln -s %{_libdir}/gems/%{pkg_name}/psych-%{psych_version}/psych.so %{buildroot}%{ruby_libarchdir}/psych.so
622cf5
622cf5
# These has wrong shebangs. Exclude them for now and let's see what upstream
622cf5
# thinks about them.
622cf5
# https://bugs.ruby-lang.org/issues/15982
622cf5
rm %{buildroot}%{_bindir}/{racc2y,y2racc}
622cf5
rm %{buildroot}%{gem_dir}/gems/racc-%{racc_version}/bin/{racc2y,y2racc}
622cf5
mkdir -p %{buildroot}%{gem_dir}/gems/racc-%{racc_version}/lib
622cf5
mkdir -p %{buildroot}%{_libdir}/gems/%{pkg_name}/racc-%{racc_version}
622cf5
mv %{buildroot}%{ruby_libdir}/racc* %{buildroot}%{gem_dir}/gems/racc-%{racc_version}/lib
622cf5
mv %{buildroot}%{ruby_libarchdir}/racc/ %{buildroot}%{_libdir}/gems/%{pkg_name}/racc-%{racc_version}/
622cf5
touch %{buildroot}%{_libdir}/gems/%{pkg_name}/racc-%{racc_version}/gem.build_complete
622cf5
mv %{buildroot}%{gem_dir}/specifications/default/racc-%{racc_version}.gemspec %{buildroot}%{gem_dir}/specifications
622cf5
# This used to be directories when racc was integral part of StdLib => Keep
622cf5
# them as directories and link everything in them to prevent directory =>
622cf5
# symlink conversion RPM issues.
622cf5
mkdir -p %{buildroot}%{ruby_libdir}/racc
622cf5
mkdir -p %{buildroot}%{ruby_libarchdir}/racc
622cf5
find %{buildroot}%{gem_dir}/gems/racc-%{racc_version}/lib/racc -maxdepth 1 -type f -exec \
622cf5
  sh -c 'ln -s %{gem_dir}/gems/racc-%{racc_version}/lib/racc/`basename {}` %{buildroot}%{ruby_libdir}/racc' \;
622cf5
ln -s %{gem_dir}/gems/racc-%{racc_version}/lib/racc.rb %{buildroot}%{ruby_libdir}/racc.rb
622cf5
ln -s %{_libdir}/gems/%{pkg_name}/racc-%{racc_version}/racc/cparse.so %{buildroot}%{ruby_libarchdir}/racc/cparse.so
622cf5
622cf5
# Move the binary extensions into proper place (if no gem has binary extension,
622cf5
# the extensions directory might be empty).
622cf5
find %{buildroot}%{gem_dir}/extensions/*-%{_target_os}/%{ruby_version}/* -maxdepth 0 \
622cf5
  -exec mv '{}' %{buildroot}%{_libdir}/gems/%{name}/ \; \
622cf5
  || echo "No gem binary extensions to move."
622cf5
622cf5
# Move man pages into proper location
622cf5
mv %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/doc/rake.1 %{buildroot}%{_mandir}/man1
622cf5
622cf5
%if %{with systemtap}
622cf5
# Install a tapset and fix up the path to the library.
622cf5
mkdir -p %{buildroot}%{tapset_dir}
622cf5
sed -e "s|@LIBRARY_PATH@|%{tapset_libdir}/libruby.so.%{major_minor_version}|" \
622cf5
  %{SOURCE2} > %{buildroot}%{tapset_dir}/libruby.so.%{major_minor_version}.stp
622cf5
# Escape '*/' in comment.
622cf5
sed -i -r "s|( \*.*\*)\/(.*)|\1\\\/\2|" %{buildroot}%{tapset_dir}/libruby.so.%{major_minor_version}.stp
622cf5
%endif
622cf5
622cf5
# Prepare -doc subpackage file lists.
622cf5
find doc -maxdepth 1 -type f ! -name '.*' ! -name '*.ja*' > .ruby-doc.en
622cf5
echo 'doc/images' >> .ruby-doc.en
622cf5
echo 'doc/syntax' >> .ruby-doc.en
622cf5
622cf5
find doc -maxdepth 1 -type f -name '*.ja*' > .ruby-doc.ja
622cf5
echo 'doc/irb' >> .ruby-doc.ja
622cf5
echo 'doc/pty' >> .ruby-doc.ja
622cf5
622cf5
sed -i 's/^/%doc /' .ruby-doc.*
622cf5
sed -i 's/^/%lang(ja) /' .ruby-doc.ja
622cf5
622cf5
# Remove useless .github directory from Rake.
622cf5
# https://github.com/ruby/rake/pull/333
622cf5
rm -rf %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/.github
622cf5
0f7e54
# Remove accidentaly added files
0f7e54
# https://bugs.ruby-lang.org/issues/17784
0f7e54
rm -rf %{buildroot}%{ruby_libdir}/exe/
0f7e54
622cf5
%check
622cf5
# Ruby software collection tests
622cf5
%{?scl:scl enable %scl - << \EOF
622cf5
set -ex
622cf5
mkdir -p ./lib/rubygems/defaults
622cf5
cp %{SOURCE1} ./lib/rubygems/defaults
622cf5
sed 's/@SCL@/%{scl}/' %{SOURCE14} > ./%{basename:%{SOURCE14}}
622cf5
make test-all TESTS="%{basename:%{SOURCE14}}"
622cf5
rm -rf ./lib/rubygems/defaults ./%{basename:%{SOURCE14}}
622cf5
EOF}
622cf5
622cf5
%if 0%{?with_hardening_test}
622cf5
# Check Ruby hardening.
622cf5
checksec -f libruby.so.%{ruby_version} | \
622cf5
  grep "Full RELRO.*Canary found.*NX enabled.*DSO.*No RPATH.*No RUNPATH.*Yes.*\d*.*\d*.*libruby.so.%{ruby_version}"
622cf5
%endif
622cf5
622cf5
# Check RubyGems version.
622cf5
[ "`make runruby TESTRUN_SCRIPT='bin/gem -v' | tail -1`" == '%{rubygems_version}' ]
622cf5
622cf5
# Check Rubygems bundled dependencies versions.
622cf5
622cf5
# Molinillo.
622cf5
[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \
622cf5
  module Gem; module Resolver; end; end; \
622cf5
  require 'rubygems/resolver/molinillo/lib/molinillo/gem_metadata'; \
622cf5
  puts Gem::Resolver::Molinillo::VERSION\\\"\" | tail -1`" \
622cf5
  == '%{rubygems_molinillo_version}' ]
622cf5
622cf5
# Check Bundler bundled dependencies versions.
622cf5
622cf5
# connection_pool.
622cf5
[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \
622cf5
  module Bundler; end; \
622cf5
  require 'bundler/vendor/connection_pool/lib/connection_pool/version'; \
622cf5
  puts Bundler::ConnectionPool::VERSION\\\"\" | tail -1`" \
622cf5
  == '%{bundler_connection_pool_version}' ]
622cf5
622cf5
# FileUtils.
622cf5
[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \
622cf5
  module Bundler; end; \
60f33a
  require 'bundler/vendor/fileutils/lib/fileutils'; \
622cf5
  puts Bundler::FileUtils::VERSION\\\"\" | tail -1`" \
622cf5
  == '%{bundler_fileutils_version}' ]
622cf5
622cf5
# Molinillo.
622cf5
[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \
622cf5
  module Bundler; end; \
622cf5
  require 'bundler/vendor/molinillo/lib/molinillo/gem_metadata'; \
622cf5
  puts Bundler::Molinillo::VERSION\\\"\" | tail -1`" \
622cf5
  == '%{bundler_molinillo_version}' ]
622cf5
622cf5
# Net::HTTP::Persistent.
622cf5
[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \
622cf5
  module Bundler; module Persistent; module Net; module HTTP; \
622cf5
  end; end; end; end; \
622cf5
  require 'bundler/vendor/net-http-persistent/lib/net/http/persistent'; \
622cf5
  puts Bundler::Persistent::Net::HTTP::Persistent::VERSION\\\"\" | tail -1`" \
622cf5
  == '%{bundler_net_http_persistent_version}' ]
622cf5
622cf5
# Thor.
622cf5
[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \
622cf5
  module Bundler; end; \
622cf5
  require 'bundler/vendor/thor/lib/thor/version'; \
622cf5
  puts Bundler::Thor::VERSION\\\"\" | tail -1`" \
622cf5
  == '%{bundler_thor_version}' ]
622cf5
60f33a
# tmpdir.
60f33a
# TODO: There is no version in bundled tmpdir yet.
60f33a
#%%{global bundler_tmpdir_version}
60f33a
60f33a
# URI.
60f33a
[ "`make runruby TESTRUN_SCRIPT=\"-e \\\" \
60f33a
  module Bundler; end; \
60f33a
  require 'bundler/vendor/uri/lib/uri/version'; \
60f33a
  puts Bundler::URI::VERSION\\\"\" | tail -1`" \
60f33a
  == '%{bundler_uri_version}' ]
60f33a
622cf5
622cf5
# test_debug(TestRubyOptions) fails due to LoadError reported in debug mode,
622cf5
# when abrt.rb cannot be required (seems to be easier way then customizing
622cf5
# the test suite).
622cf5
touch abrt.rb
622cf5
622cf5
# Check if abrt hook is required (RubyGems are disabled by default when using
622cf5
# runruby, so re-enable them).
622cf5
make runruby TESTRUN_SCRIPT="--enable-gems %{SOURCE12}"
622cf5
622cf5
# Check if systemtap is supported.
622cf5
%{?with_systemtap:make runruby TESTRUN_SCRIPT=%{SOURCE13}}
622cf5
622cf5
DISABLE_TESTS=""
622cf5
MSPECOPTS=""
622cf5
622cf5
# Avoid `hostname' dependency.
622cf5
%{!?with_hostname:MSPECOPTS="-P 'Socket.gethostname returns the host name'"}
622cf5
622cf5
# Increase timeout for TestBugReporter#test_bug_reporter_add test, which fails
622cf5
# quite often.
622cf5
# https://bugs.ruby-lang.org/issues/16492
622cf5
%ifarch s390x
622cf5
sed -i '/assert_in_out_err/ s/)/, timeout: 30)/' test/-ext-/bug_reporter/test_bug_reporter.rb
622cf5
%endif
622cf5
622cf5
make check TESTS="-v $DISABLE_TESTS" MSPECOPT="-fs $MSPECOPTS"
622cf5
60f33a
%if %{with bundler_tests}
60f33a
# Fix some failing Bundler tests with old Git.
60f33a
# https://github.com/rubygems/rubygems/pull/4851
60f33a
sed -i 's/branch -l /branch --list /' ./spec/bundler/support/builders.rb
60f33a
make test-bundler
60f33a
%endif
60f33a
622cf5
%post libs -p /sbin/ldconfig
622cf5
622cf5
%postun libs -p /sbin/ldconfig
622cf5
622cf5
%files
622cf5
%license BSDL
622cf5
%license COPYING
622cf5
%lang(ja) %license COPYING.ja
622cf5
%license GPL
622cf5
%license LEGAL
622cf5
%{_bindir}/erb
622cf5
%{_bindir}/%{pkg_name}%{?with_rubypick:-mri}
622cf5
%{_mandir}/man1/erb*
622cf5
%{_mandir}/man1/ruby*
622cf5
622cf5
%files devel
622cf5
%license BSDL
622cf5
%license COPYING
622cf5
%lang(ja) %license COPYING.ja
622cf5
%license GPL
622cf5
%license LEGAL
622cf5
622cf5
%config(noreplace) %{_root_sysconfdir}/rpm/macros.ruby%{?scl:.%{scl}}
622cf5
622cf5
%{_includedir}/*
622cf5
%{_libdir}/libruby.so
622cf5
%{_libdir}/pkgconfig/%{pkg_name}.pc
622cf5
622cf5
%files libs
622cf5
%license COPYING
622cf5
%lang(ja) %license COPYING.ja
622cf5
%license GPL
622cf5
%license LEGAL
622cf5
%doc README.md
622cf5
%doc NEWS
622cf5
# Exclude /usr/local directory since it is supposed to be managed by
622cf5
# local system administrator.
622cf5
%exclude %{ruby_sitelibdir}
622cf5
%exclude %{ruby_sitearchdir}
622cf5
%dir %{ruby_vendorlibdir}
622cf5
%dir %{ruby_vendorarchdir}
622cf5
622cf5
# List all these files explicitly to prevent surprises
622cf5
# Platform independent libraries.
622cf5
%dir %{ruby_libdir}
622cf5
%{ruby_libdir}/*.rb
622cf5
%exclude %{ruby_libdir}/did_you_mean.rb
622cf5
%exclude %{ruby_libdir}/irb.rb
622cf5
%exclude %{ruby_libdir}/json.rb
622cf5
%exclude %{ruby_libdir}/openssl.rb
622cf5
%exclude %{ruby_libdir}/psych.rb
622cf5
%exclude %{ruby_libdir}/racc.rb
622cf5
%exclude %{ruby_libdir}/rdoc.rb
622cf5
%{ruby_libdir}/benchmark
622cf5
%{ruby_libdir}/cgi
622cf5
%{ruby_libdir}/csv
622cf5
%{ruby_libdir}/delegate
622cf5
%{ruby_libdir}/digest
622cf5
%{ruby_libdir}/drb
622cf5
%{ruby_libdir}/fiddle
622cf5
%{ruby_libdir}/forwardable
622cf5
%{ruby_libdir}/getoptlong
622cf5
%{ruby_libdir}/logger
622cf5
%{ruby_libdir}/matrix
622cf5
%{ruby_libdir}/net
622cf5
%{ruby_libdir}/observer
622cf5
%{ruby_libdir}/open3
622cf5
%{ruby_libdir}/optparse
622cf5
%{ruby_libdir}/ostruct
622cf5
%{ruby_libdir}/pstore
622cf5
%{ruby_libdir}/reline
622cf5
%{ruby_libdir}/rexml
622cf5
%{ruby_libdir}/rinda
622cf5
%{ruby_libdir}/ripper
622cf5
%{ruby_libdir}/rss
622cf5
%{ruby_libdir}/singleton
622cf5
%{ruby_libdir}/syslog
622cf5
%{ruby_libdir}/timeout
622cf5
%{ruby_libdir}/tracer
622cf5
%{ruby_libdir}/unicode_normalize
622cf5
%{ruby_libdir}/uri
622cf5
%{ruby_libdir}/webrick
622cf5
%{ruby_libdir}/yaml
622cf5
622cf5
# Platform specific libraries.
622cf5
%{_libdir}/libruby.so.*
622cf5
%dir %{ruby_libarchdir}
622cf5
%dir %{ruby_libarchdir}/cgi
622cf5
%{ruby_libarchdir}/cgi/escape.so
622cf5
%{ruby_libarchdir}/continuation.so
622cf5
%{ruby_libarchdir}/coverage.so
622cf5
%{ruby_libarchdir}/date_core.so
622cf5
%{ruby_libarchdir}/dbm.so
622cf5
%dir %{ruby_libarchdir}/digest
622cf5
%{ruby_libarchdir}/digest.so
622cf5
%{ruby_libarchdir}/digest/bubblebabble.so
622cf5
%{ruby_libarchdir}/digest/md5.so
622cf5
%{ruby_libarchdir}/digest/rmd160.so
622cf5
%{ruby_libarchdir}/digest/sha1.so
622cf5
%{ruby_libarchdir}/digest/sha2.so
622cf5
%dir %{ruby_libarchdir}/enc
622cf5
%{ruby_libarchdir}/enc/big5.so
622cf5
%{ruby_libarchdir}/enc/cesu_8.so
622cf5
%{ruby_libarchdir}/enc/cp949.so
622cf5
%{ruby_libarchdir}/enc/emacs_mule.so
622cf5
%{ruby_libarchdir}/enc/encdb.so
622cf5
%{ruby_libarchdir}/enc/euc_jp.so
622cf5
%{ruby_libarchdir}/enc/euc_kr.so
622cf5
%{ruby_libarchdir}/enc/euc_tw.so
622cf5
%{ruby_libarchdir}/enc/gb18030.so
622cf5
%{ruby_libarchdir}/enc/gb2312.so
622cf5
%{ruby_libarchdir}/enc/gbk.so
622cf5
%{ruby_libarchdir}/enc/iso_8859_1.so
622cf5
%{ruby_libarchdir}/enc/iso_8859_10.so
622cf5
%{ruby_libarchdir}/enc/iso_8859_11.so
622cf5
%{ruby_libarchdir}/enc/iso_8859_13.so
622cf5
%{ruby_libarchdir}/enc/iso_8859_14.so
622cf5
%{ruby_libarchdir}/enc/iso_8859_15.so
622cf5
%{ruby_libarchdir}/enc/iso_8859_16.so
622cf5
%{ruby_libarchdir}/enc/iso_8859_2.so
622cf5
%{ruby_libarchdir}/enc/iso_8859_3.so
622cf5
%{ruby_libarchdir}/enc/iso_8859_4.so
622cf5
%{ruby_libarchdir}/enc/iso_8859_5.so
622cf5
%{ruby_libarchdir}/enc/iso_8859_6.so
622cf5
%{ruby_libarchdir}/enc/iso_8859_7.so
622cf5
%{ruby_libarchdir}/enc/iso_8859_8.so
622cf5
%{ruby_libarchdir}/enc/iso_8859_9.so
622cf5
%{ruby_libarchdir}/enc/koi8_r.so
622cf5
%{ruby_libarchdir}/enc/koi8_u.so
622cf5
%{ruby_libarchdir}/enc/shift_jis.so
622cf5
%dir %{ruby_libarchdir}/enc/trans
622cf5
%{ruby_libarchdir}/enc/trans/big5.so
622cf5
%{ruby_libarchdir}/enc/trans/cesu_8.so
622cf5
%{ruby_libarchdir}/enc/trans/chinese.so
622cf5
%{ruby_libarchdir}/enc/trans/ebcdic.so
622cf5
%{ruby_libarchdir}/enc/trans/emoji.so
622cf5
%{ruby_libarchdir}/enc/trans/emoji_iso2022_kddi.so
622cf5
%{ruby_libarchdir}/enc/trans/emoji_sjis_docomo.so
622cf5
%{ruby_libarchdir}/enc/trans/emoji_sjis_kddi.so
622cf5
%{ruby_libarchdir}/enc/trans/emoji_sjis_softbank.so
622cf5
%{ruby_libarchdir}/enc/trans/escape.so
622cf5
%{ruby_libarchdir}/enc/trans/gb18030.so
622cf5
%{ruby_libarchdir}/enc/trans/gbk.so
622cf5
%{ruby_libarchdir}/enc/trans/iso2022.so
622cf5
%{ruby_libarchdir}/enc/trans/japanese.so
622cf5
%{ruby_libarchdir}/enc/trans/japanese_euc.so
622cf5
%{ruby_libarchdir}/enc/trans/japanese_sjis.so
622cf5
%{ruby_libarchdir}/enc/trans/korean.so
622cf5
%{ruby_libarchdir}/enc/trans/single_byte.so
622cf5
%{ruby_libarchdir}/enc/trans/transdb.so
622cf5
%{ruby_libarchdir}/enc/trans/utf8_mac.so
622cf5
%{ruby_libarchdir}/enc/trans/utf_16_32.so
622cf5
%{ruby_libarchdir}/enc/utf_16be.so
622cf5
%{ruby_libarchdir}/enc/utf_16le.so
622cf5
%{ruby_libarchdir}/enc/utf_32be.so
622cf5
%{ruby_libarchdir}/enc/utf_32le.so
622cf5
%{ruby_libarchdir}/enc/windows_1250.so
622cf5
%{ruby_libarchdir}/enc/windows_1251.so
622cf5
%{ruby_libarchdir}/enc/windows_1252.so
622cf5
%{ruby_libarchdir}/enc/windows_1253.so
622cf5
%{ruby_libarchdir}/enc/windows_1254.so
622cf5
%{ruby_libarchdir}/enc/windows_1257.so
622cf5
%{ruby_libarchdir}/enc/windows_31j.so
622cf5
%{ruby_libarchdir}/etc.so
622cf5
%{ruby_libarchdir}/fcntl.so
622cf5
%{ruby_libarchdir}/fiber.so
622cf5
%{ruby_libarchdir}/fiddle.so
622cf5
%{ruby_libarchdir}/gdbm.so
622cf5
%dir %{ruby_libarchdir}/io
622cf5
%{ruby_libarchdir}/io/nonblock.so
622cf5
%{ruby_libarchdir}/io/wait.so
622cf5
%{ruby_libarchdir}/monitor.so
622cf5
%{ruby_libarchdir}/nkf.so
622cf5
%{ruby_libarchdir}/objspace.so
622cf5
%{ruby_libarchdir}/pathname.so
622cf5
%{ruby_libarchdir}/pty.so
622cf5
%dir %{ruby_libarchdir}/rbconfig
622cf5
%{ruby_libarchdir}/rbconfig.rb
622cf5
%{ruby_libarchdir}/rbconfig/sizeof.so
622cf5
%{ruby_libarchdir}/readline.so
622cf5
%{ruby_libarchdir}/ripper.so
622cf5
%{ruby_libarchdir}/sdbm.so
622cf5
%{ruby_libarchdir}/socket.so
622cf5
%{ruby_libarchdir}/stringio.so
622cf5
%{ruby_libarchdir}/strscan.so
622cf5
%{ruby_libarchdir}/syslog.so
622cf5
%{ruby_libarchdir}/zlib.so
622cf5
622cf5
%{?with_systemtap:%{tapset_root}}
622cf5
622cf5
%files -n %{?scl_prefix}rubygems
622cf5
%{_bindir}/gem
622cf5
%dir %{rubygems_dir}
622cf5
%{rubygems_dir}/rubygems
622cf5
%{rubygems_dir}/rubygems.rb
622cf5
622cf5
# Explicitly include only RubyGems directory strucure to avoid accidentally
622cf5
# packaged content.
622cf5
%dir %{gem_dir}
622cf5
%dir %{gem_dir}/build_info
622cf5
%dir %{gem_dir}/cache
622cf5
%dir %{gem_dir}/doc
622cf5
%dir %{gem_dir}/extensions
622cf5
%dir %{gem_dir}/gems
622cf5
%dir %{gem_dir}/specifications
622cf5
%dir %{gem_dir}/specifications/default
622cf5
%dir %{_exec_prefix}/lib*/gems
622cf5
%dir %{_exec_prefix}/lib*/gems/ruby
622cf5
622cf5
%exclude %{gem_dir}/cache/*
622cf5
622cf5
# TODO: Gemify these libraries
622cf5
%{gem_dir}/specifications/default/benchmark-0.1.0.gemspec
12267e
%{gem_dir}/specifications/default/cgi-0.1.0.1.gemspec
622cf5
%{gem_dir}/specifications/default/csv-3.1.2.gemspec
12267e
%{gem_dir}/specifications/default/date-3.0.3.gemspec
622cf5
%{gem_dir}/specifications/default/dbm-1.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/delegate-0.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/etc-1.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/fcntl-1.0.0.gemspec
622cf5
%{gem_dir}/specifications/default/fiddle-1.0.0.gemspec
622cf5
%{gem_dir}/specifications/default/fileutils-1.4.1.gemspec
622cf5
%{gem_dir}/specifications/default/forwardable-1.3.1.gemspec
622cf5
%{gem_dir}/specifications/default/gdbm-2.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/getoptlong-0.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/ipaddr-1.2.2.gemspec
622cf5
%{gem_dir}/specifications/default/logger-1.4.2.gemspec
622cf5
%{gem_dir}/specifications/default/matrix-0.2.0.gemspec
622cf5
%{gem_dir}/specifications/default/mutex_m-0.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/net-pop-0.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/net-smtp-0.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/observer-0.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/open3-0.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/ostruct-0.2.0.gemspec
622cf5
%{gem_dir}/specifications/default/prime-0.1.1.gemspec
622cf5
%{gem_dir}/specifications/default/pstore-0.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/readline-0.0.2.gemspec
622cf5
%{gem_dir}/specifications/default/readline-ext-0.1.0.gemspec
0f7e54
%{gem_dir}/specifications/default/reline-0.1.5.gemspec
0f7e54
%{gem_dir}/specifications/default/rexml-3.2.3.1.gemspec
622cf5
%{gem_dir}/specifications/default/rss-0.2.8.gemspec
622cf5
%{gem_dir}/specifications/default/sdbm-1.0.0.gemspec
622cf5
%{gem_dir}/specifications/default/singleton-0.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/stringio-0.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/strscan-1.0.3.gemspec
622cf5
%{gem_dir}/specifications/default/timeout-0.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/tracer-0.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/uri-0.10.0.gemspec
0f7e54
%{gem_dir}/specifications/default/webrick-1.6.1.gemspec
622cf5
%{gem_dir}/specifications/default/yaml-0.1.0.gemspec
622cf5
%{gem_dir}/specifications/default/zlib-1.1.0.gemspec
622cf5
622cf5
%files -n %{?scl_prefix}rubygems-devel
622cf5
%config(noreplace) %{_root_sysconfdir}/rpm/macros.rubygems%{?scl:.%{scl}}
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-rake
622cf5
%{_bindir}/rake
622cf5
%{gem_dir}/gems/rake-%{rake_version}
622cf5
%{gem_dir}/specifications/rake-%{rake_version}.gemspec
622cf5
%{_mandir}/man1/rake.1*
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-irb
622cf5
%{_bindir}/irb
622cf5
%{ruby_libdir}/irb*
622cf5
%{gem_dir}/gems/irb-%{irb_version}
622cf5
%{gem_dir}/specifications/irb-%{irb_version}.gemspec
622cf5
%{_mandir}/man1/irb.1*
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-rdoc
622cf5
%{ruby_libdir}/rdoc*
622cf5
%{_bindir}/rdoc
622cf5
%{_bindir}/ri
622cf5
%{gem_dir}/gems/rdoc-%{rdoc_version}
622cf5
%{gem_dir}/specifications/rdoc-%{rdoc_version}.gemspec
622cf5
%{_mandir}/man1/ri*
622cf5
622cf5
%files doc -f .ruby-doc.en -f .ruby-doc.ja
622cf5
%doc README.md
622cf5
%doc ChangeLog
622cf5
%{?with_systemtap:%doc ruby-exercise.stp}
622cf5
%{_datadir}/ri
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-bigdecimal
622cf5
%{ruby_libdir}/bigdecimal
622cf5
%{ruby_libarchdir}/bigdecimal*
622cf5
%{_libdir}/gems/%{pkg_name}/bigdecimal-%{bigdecimal_version}
622cf5
%{gem_dir}/gems/bigdecimal-%{bigdecimal_version}
622cf5
%{gem_dir}/specifications/bigdecimal-%{bigdecimal_version}.gemspec
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-did_you_mean
622cf5
%{ruby_libdir}/did_you_mean*
622cf5
%{gem_dir}/gems/did_you_mean-%{did_you_mean_version}
622cf5
%exclude %{gem_dir}/gems/did_you_mean-%{did_you_mean_version}/.*
622cf5
%{gem_dir}/specifications/did_you_mean-%{did_you_mean_version}.gemspec
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-io-console
622cf5
%{ruby_libdir}/io
622cf5
%{ruby_libarchdir}/io/console.so
622cf5
%{_libdir}/gems/%{pkg_name}/io-console-%{io_console_version}
622cf5
%{gem_dir}/gems/io-console-%{io_console_version}
622cf5
%{gem_dir}/specifications/io-console-%{io_console_version}.gemspec
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-json
622cf5
%{ruby_libdir}/json*
622cf5
%{ruby_libarchdir}/json*
622cf5
%{_libdir}/gems/%{pkg_name}/json-%{json_version}
622cf5
%{gem_dir}/gems/json-%{json_version}
622cf5
%{gem_dir}/specifications/json-%{json_version}.gemspec
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-minitest
622cf5
%{gem_dir}/gems/minitest-%{minitest_version}
622cf5
%exclude %{gem_dir}/gems/minitest-%{minitest_version}/.*
622cf5
%{gem_dir}/specifications/minitest-%{minitest_version}.gemspec
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-openssl
622cf5
%{ruby_libdir}/openssl
622cf5
%{ruby_libdir}/openssl.rb
622cf5
%{ruby_libarchdir}/openssl.so
622cf5
%{_libdir}/gems/%{pkg_name}/openssl-%{openssl_version}
622cf5
%{gem_dir}/gems/openssl-%{openssl_version}
622cf5
%{gem_dir}/specifications/openssl-%{openssl_version}.gemspec
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-power_assert
622cf5
%{gem_dir}/gems/power_assert-%{power_assert_version}
622cf5
%exclude %{gem_dir}/gems/power_assert-%{power_assert_version}/.*
622cf5
%{gem_dir}/specifications/power_assert-%{power_assert_version}.gemspec
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-psych
622cf5
%{ruby_libdir}/psych
622cf5
%{ruby_libdir}/psych.rb
622cf5
%{ruby_libarchdir}/psych.so
622cf5
%{_libdir}/gems/%{pkg_name}/psych-%{psych_version}
622cf5
%{gem_dir}/gems/psych-%{psych_version}
622cf5
%{gem_dir}/specifications/psych-%{psych_version}.gemspec
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-net-telnet
622cf5
%{gem_dir}/gems/net-telnet-%{net_telnet_version}
622cf5
%exclude %{gem_dir}/gems/net-telnet-%{net_telnet_version}/.*
622cf5
%{gem_dir}/specifications/net-telnet-%{net_telnet_version}.gemspec
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-test-unit
622cf5
%{gem_dir}/gems/test-unit-%{test_unit_version}
622cf5
%{gem_dir}/specifications/test-unit-%{test_unit_version}.gemspec
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-xmlrpc
622cf5
%license %{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/LICENSE.txt
622cf5
%dir %{gem_dir}/gems/xmlrpc-%{xmlrpc_version}
622cf5
%exclude %{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/.*
622cf5
%{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/Gemfile
622cf5
%{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/Rakefile
622cf5
%doc %{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/README.md
622cf5
%{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/bin
622cf5
%{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/lib
622cf5
%{gem_dir}/gems/xmlrpc-%{xmlrpc_version}/xmlrpc.gemspec
622cf5
%{gem_dir}/specifications/xmlrpc-%{xmlrpc_version}.gemspec
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-bundler
622cf5
%{_bindir}/bundle
622cf5
%{_bindir}/bundler
622cf5
%{gem_dir}/gems/bundler-%{bundler_version}
622cf5
%{gem_dir}/specifications/bundler-%{bundler_version}.gemspec
622cf5
%{_mandir}/man1/bundle*.1*
622cf5
%{_mandir}/man5/gemfile.5*
622cf5
622cf5
%files -n %{?scl_prefix}rubygem-racc
622cf5
%{ruby_libdir}/racc*
622cf5
%{ruby_libarchdir}/racc
622cf5
%{_bindir}/racc
622cf5
%{_libdir}/gems/%{pkg_name}/racc-%{racc_version}
622cf5
%{gem_dir}/gems/racc-%{racc_version}
622cf5
%{gem_dir}/specifications/racc-%{racc_version}.gemspec
622cf5
622cf5
%changelog
12267e
* Mon Sep 19 2022 Jarek Prokop <jprokop@redhat.com> - 2.7.6-131
12267e
- Upgrade to Ruby 2.7.6.
12267e
  Resolves: rhbz#2128631
12267e
- Fix buffer overflow in CGI.escape_html.
12267e
  Resolves: CVE-2021-41816
12267e
- Fix Regular Expression Denial of Service Vulnerability of Date parsing methods.
12267e
  Resolves: CVE-2021-41817
12267e
- Fix cookie prefix spoofing in CGI::Cookie.parse.
12267e
  Resolves: CVE-2021-41819
12267e
- Fix buffer overrun in String-to-Float conversion.
12267e
  Resolves: CVE-2022-28739
12267e
60f33a
* Thu Jul 15 2021 Jun Aruga <jaruga@redhat.com> - 2.7.4-130
60f33a
- Upgrade to Ruby 2.7.4.
60f33a
- Fix command injection vulnerability in RDoc.
12267e
  Resolves: CVE-2021-31799
60f33a
- Fix FTP PASV command response can cause Net::FTP to connect to arbitrary host.
12267e
  Resolves: CVE-2021-31810
60f33a
- Fix StartTLS stripping vulnerability in Net::IMAP.
12267e
  Resolves: CVE-2021-32066
60f33a
- Revert a commit changing CFLAGS to avoid failures in test_jit.rb.
60f33a
- Upgrade to Bundler 2.2.24.
60f33a
  Resolves: CVE-2020-36327
60f33a
- Fix some failing Bundler tests with old Git.
60f33a
0f7e54
* Tue Oct 13 2020 Vít Ondruch <vondruch@redhat.com> - 2.7.3-129
0f7e54
- Upgrade to Ruby 2.7.3.
0f7e54
  Resolves: rhbz#1947931
0f7e54
- Resolv::DNS: timeouts if multiple IPv6 name servers are given and address
0f7e54
  contains leading zero
0f7e54
  Resolves: rhbz#1950016
0f7e54
622cf5
* Tue Apr 14 2020 Jun Aruga <jaruga@redhat.com> - 2.7.1-128
622cf5
- Upgrade to Ruby 2.7.1.
622cf5
  Resolves: rhbz#1826872
622cf5
- Call load builtin macro if it is defined, or call own load macro.
622cf5
622cf5
* Thu Apr 02 2020 Jun Aruga <jaruga@redhat.com> 2.7.0-127
622cf5
- Fix did_you_mean (LoadError) that happens when running `bundle install`.
622cf5
  Resolves: rhbz#1819245
622cf5
622cf5
* Thu Mar 12 2020 Jun Aruga <jaruga@redhat.com> 2.7.0-126
622cf5
- Provide StdLib links for Racc and install it by default.
622cf5
622cf5
* Thu Jan 16 2020 Jun Aruga <jaruga@redhat.com> 2.7.0-125
622cf5
- Upgrade to Ruby 2.7.0.
622cf5
622cf5
* Mon Mar 25 2019 Vít Ondruch <vondruch@redhat.com> - 2.6.2-118
622cf5
- Exclude {rdoc,irb}.rb dangling symlinks from ruby-libs.
622cf5
622cf5
* Tue Mar 19 2019 Vít Ondruch <vondruch@redhat.com> - 2.6.2-117
622cf5
- Link IRB back to StdLib.
622cf5
622cf5
* Thu Mar 14 2019 Vít Ondruch <vondruch@redhat.com> - 2.6.2-116
622cf5
- Upgrade to Ruby 2.6.2.
622cf5
622cf5
* Thu Feb 07 2019 Vít Ondruch <vondruch@redhat.com> - 2.6.1-113
622cf5
- Don't ship .stp files when SystemTap support is disabled.
622cf5
622cf5
* Thu Jan 31 2019 Vít Ondruch <vondruch@redhat.com> - 2.6.1-112
622cf5
- Upgrade to Ruby 2.6.1.
622cf5
622cf5
* Tue Nov 20 2018 Vít Ondruch <vondruch@redhat.com> - 2.6.0-110
622cf5
- Upgrade to Ruby 2.6.0.
622cf5
622cf5
* Mon Oct 29 2018 Pavel Valena <pvalena@redhat.com> - 2.5.3-6
622cf5
- Update to Ruby 2.5.3.
622cf5
  Resolves: CVE-2018-16395
622cf5
  Resolves: CVE-2018-16396
622cf5
  Resolves: rhbz#1563076
622cf5
  Removed Patch11: ruby-2.5.0-parse.y-assignable_error.patch; subsumed
622cf5
  Removed Patch12: ruby-2.5.0-Disable-Tokyo-TZ-tests.patch; subsumed
622cf5
  Removed Patch13: ruby-2.5.0-st.c-retry-operations-if-rebuilt.patch; subsumed
622cf5
- Properly harden package using -fstack-protector-strong.
622cf5
- Fix: return default path with nonexistent home dir
622cf5
  Resolves: rhbz#1602877
622cf5
622cf5
* Wed Feb 21 2018 Jun Aruga <jaruga@redhat.com> - 2.5.0-5
622cf5
- They are broken by recen tzdata update.
622cf5
- Fix thread_safe test suite segfaults.
622cf5
- Fix invalid licenses.
622cf5
622cf5
* Mon Jan 15 2018 Jun Aruga <jaruga@redhat.com> - 2.5.0-4
622cf5
- Fix segfaults during generating of documentation.
622cf5
  Resolves: rhbz#1532585
622cf5
622cf5
* Mon Jan 15 2018 Jun Aruga <jaruga@redhat.com> - 2.5.0-3
622cf5
- Update for did_you_mean required by ruby
622cf5
  Resolves: rhbz#1533920
622cf5
622cf5
* Tue Jan 02 2018 Jun Aruga <jaruga@redhat.com> - 2.5.0-2
622cf5
- Upgrade to Ruby 2.5.0.
622cf5
622cf5
* Mon Oct 30 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.2-86
622cf5
- Upgrade to Ruby 2.4.2.
622cf5
  * Remove Patch10: ruby-2.4.0-vm_insnhelper.c-block-argument-at-tailcall.patch;
622cf5
      subsumed
622cf5
  Resolves: rhbz#1506785
622cf5
- Fix unsafe object deserialization in RubyGems (CVE-2017-0903).
622cf5
  * ruby-2.4.3-CVE-2017-0903-Fix-unsafe-object-deserialization
622cf5
      -vulnerability.patch
622cf5
  Resolves: CVE-2017-0903
622cf5
622cf5
* Tue Jan 17 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.0-75
622cf5
- Apply patch fixing rubygem-mongo build failures.
622cf5
622cf5
* Mon Jan 09 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.0-73
622cf5
- Reshuffle the %%license macro to avoid %%postun scriptlet issues.
622cf5
  Resolves: rhbz#1411233
622cf5
622cf5
* Mon Jan 09 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.0-72
622cf5
- Add rubygem-io-console dependency for rubygem-rdoc.
622cf5
622cf5
* Mon Jan 02 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.0-71
622cf5
- ruby-libs should not own links to unbundled gems.
622cf5
622cf5
* Mon Jan 02 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.0-70
622cf5
- Upgrade to Ruby 2.4.0.
622cf5
- Workaround "an invalid stdio handle" error on PPC (rhbz#1361037).
622cf5
- Add gemspec_add_dep and gemspec_remove_dep macros.
622cf5
- Move gemified xmlrpc into subpackage.
622cf5
- Move gemified openssl into subpackage.
622cf5
- Make symlinks for json gem.
622cf5
- Tk is removed from stdlib.
622cf5
- Harden package.
622cf5
- Extend 'gem_' macros for pre-release version support.
622cf5
622cf5
* Wed Oct 26 2016 Pavel Valena <pvalena@redhat.com> - 2.3.1-64
622cf5
- Fix: do not fail in operating_system.rb when X_SCLS is empty
622cf5
  Resolves: rhbz#1387139
622cf5
622cf5
* Mon Oct 17 2016 Pavel Valena <pvalena@redhat.com> - 2.3.1-63
622cf5
- Support in no_proxy for domain names with whitespaces and leading dots
622cf5
  Resolves: rhbz#1384810
622cf5
622cf5
* Fri Aug 12 2016 Pavel Valena <pvalena@redhat.com> - 2.3.1-62
622cf5
- Fix support for dependent^2 SCLs
622cf5
- Update to Ruby 2.3.1
622cf5
  * Remove Patch8:
622cf5
      ruby-2.3.0-undef-BUILTIN_CHOOSE_EXPR_CONSTANT_P.patch; subsumed
622cf5
  * Remove Patch10:
622cf5
      ruby-2.3.1-remove-tests-depending-on-europe-moscow.patch; subsumed
622cf5
      also removed "UTC=TZ " tests prefix
622cf5
622cf5
* Mon Jul 25 2016 Pavel Valena <pvalena@redhat.com> - 2.3.0-61
622cf5
- Add %%{scl}-runtime to Requires in libs subpackage
622cf5
622cf5
* Tue Jul 19 2016 Pavel Valena <pvalena@redhat.com> - 2.3.0-60
622cf5
- Fix and enhance systemtap tests
622cf5
- Remove tests depending on Europe/Moscow to avoid failures due to tzdata change
622cf5
622cf5
* Wed Apr 13 2016 Pavel Valena <pvalena@redhat.com> - 2.3.0-60
622cf5
- Fix ruby lib path in macros.ruby.rh-ruby23
622cf5
  - Resolves: rhbz#1255753
622cf5
- Manually set UTC timezone for tests
622cf5
622cf5
* Mon Feb 22 2016 Vít Ondruch <vondruch@redhat.com> - 2.3.0-59
622cf5
- Don't prefix bundling provides.
622cf5
- Don't enable collections for build.
622cf5
- Optimize operating_system.rb a bit.
622cf5
622cf5
* Fri Feb 19 2016 Pavel Valena <pvalena@redhat.com> - 2.3.0-58
622cf5
- Fix default_dir and default_bindir
622cf5
622cf5
* Fri Feb 19 2016 Pavel Valena <pvalena@redhat.com> - 2.3.0-57
622cf5
- Fix dependent scls's paths
622cf5
622cf5
* Thu Feb 18 2016 Pavel Valena <pvalena@redhat.com> - 2.3.0-56
622cf5
- Fix macros.ruby and macros.rubygems
622cf5
622cf5
* Wed Feb 17 2016 Pavel Valena <pvalena@redhat.com> - 2.3.0-55
622cf5
- Add scl macros
622cf5
622cf5
* Wed Feb  3 2016 Peter Robinson <pbrobinson@fedoraproject.org> 2.3.0-54
622cf5
- Add rubypick and rubygems requires to ruby-devel to deal with BuildRequires
622cf5
622cf5
* Fri Jan 15 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.3.0-53
622cf5
- Backport trunk@53455 to make ruby-qt build
622cf5
622cf5
* Wed Jan 06 2016 Vít Ondruch <vondruch@redhat.com> - 2.3.0-52
622cf5
- Explicitly require RDoc, since weak dependencies are ignored by default.
622cf5
622cf5
* Wed Jan 06 2016 Vít Ondruch <vondruch@redhat.com> - 2.3.0-51
622cf5
- Load RubyGems prior ABRT hook to properly rescue RubyGems exceptions.
622cf5
622cf5
* Mon Jan 04 2016 Vít Ondruch <vondruch@redhat.com> - 2.3.0-50
622cf5
- Upgrade to Ruby 2.3.0.
622cf5
- Move gemified net-telnet into subpackage.
622cf5
- Add did_you_mean subpackage.
622cf5
- Add virtual provides for CCAN copylibs.
622cf5
- Use weak dependencies.
622cf5
622cf5
* Tue Dec 22 2015 Pavel Valena <pvalena@redhat.com> - 2.3.0-0.7.preview2
622cf5
- Add systemtap tests.
622cf5
622cf5
* Mon Dec 21 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.4-47
622cf5
- Update to Ruby 2.2.4.
622cf5
622cf5
* Thu Dec 10 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.3-46
622cf5
- Fix ABRT hook autoloading.
622cf5
622cf5
* Fri Sep 04 2015 Michal Toman <mtoman@fedoraproject.org> - 2.2.3-45
622cf5
- Add support for MIPS architecture to config.h
622cf5
622cf5
* Tue Sep 01 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.3-44
622cf5
- Update to Ruby 2.2.3.
622cf5
622cf5
* Tue Jun 23 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.2-43
622cf5
- Fix for "dh key too small" error of OpenSSL 1.0.2+.
622cf5
622cf5
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-42
622cf5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
622cf5
622cf5
* Wed Jun 10 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.2-41
622cf5
- Fix the git BR following the git package split.
622cf5
622cf5
* Mon May 04 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.2-40
622cf5
- Fix upgrade path (rubygem-io-console's version was recently bumped in F21
622cf5
  and makes the higher release to win).
622cf5
622cf5
* Tue Apr 14 2015 Josef Stribny <jstribny@redhat.com> - 2.2.2-11
622cf5
- Bump release because of gems
622cf5
622cf5
* Tue Apr 14 2015 Josef Stribny <jstribny@redhat.com> - 2.2.2-1
622cf5
- Update to Ruby 2.2.2
622cf5
622cf5
* Fri Mar 20 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.1-10
622cf5
- Fix libruby.so versions in SystemTap scripts (rhbz#1202232).
622cf5
622cf5
* Wed Mar 04 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.1-9
622cf5
- Update to Ruby 2.2.1.
622cf5
622cf5
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.2.0-8
622cf5
- Rebuilt for Fedora 23 Change
622cf5
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
622cf5
622cf5
* Thu Feb 05 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.0-7
622cf5
- Fix directory ownership.
622cf5
622cf5
* Wed Feb 04 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.0-6
622cf5
- Initialize all load paths in operating_system.rb.
622cf5
622cf5
* Tue Feb 03 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.0-5
622cf5
- Make operating_system.rb more robust.
622cf5
- Add RubyGems stub headers for bundled gems.
622cf5
622cf5
* Thu Jan 29 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.0-4
622cf5
- Add missing rubygem-test-unit dependency on rubygem-power_assert.
622cf5
622cf5
* Thu Jan 15 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.2.0-3
622cf5
- Bump release to avoid EVR issue on rubygem-test-unit
622cf5
622cf5
* Fri Jan 02 2015 Vít Ondruch <vondruch@redhat.com> - 2.2.0-1
622cf5
- Upgrade to Ruby 2.2.0.
622cf5
- Explicitly list RubyGems directories to avoid accidentaly packaged content.
622cf5
- Split test-unit and power_assert gems into separate sub-packages.
622cf5
- Drop libdb dependency in favor of gdbm.
622cf5
622cf5
* Fri Dec 26 2014 Orion Poplwski <orion@cora.nwra.com> - 2.1.5-26
622cf5
- Disbable sse2 on i668 (bug #1101811)
622cf5
622cf5
* Thu Nov 20 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.5-25
622cf5
- Update to Ruby 2.1.5.
622cf5
622cf5
* Fri Oct 31 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.4-24
622cf5
- Update to Ruby 2.1.4.
622cf5
- Include only vendor directories, not their content (rhbz#1114071).
622cf5
- Fix "invalid regex" warning for non-rubygem packages (rhbz#1154067).
622cf5
- Use load macro introduced in RPM 4.12.
622cf5
622cf5
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
622cf5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
622cf5
622cf5
* Tue Jun 24 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2.1.2-23
622cf5
- Fix FTBFS 
622cf5
- Specify tcl/tk 8.6
622cf5
- Add upstream patch to build with libffi 3.1
622cf5
622cf5
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
622cf5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
622cf5
622cf5
* Wed May 21 2014 Jaroslav Å karvada <jskarvad@redhat.com>
622cf5
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
622cf5
622cf5
* Tue May 20 2014 Josef Stribny <jstribny@redhat.com> - 2.1.2-21
622cf5
- Update to Ruby 2.1.2
622cf5
622cf5
* Tue May 06 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.1-20
622cf5
- Remove useless exclude (rhbz#1065897).
622cf5
- Extract load macro into external file and include it.
622cf5
- Kill bundled certificates.
622cf5
622cf5
* Wed Apr 23 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.1-19
622cf5
- Correctly expand $(prefix) in some Makefiles, e.g. eruby.
622cf5
622cf5
* Tue Apr 08 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.1-18
622cf5
- Update to Ruby 2.1.1.
622cf5
- Revert regression of Hash#reject.
622cf5
622cf5
* Mon Mar 03 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.0-19
622cf5
- Add RPM dependency generators for RubyGems.
622cf5
622cf5
* Mon Feb 10 2014 Josef Stribny <jstribny@redhat.com> - 2.1.0-19
622cf5
- Don't link cert.pem explicitely
622cf5
622cf5
* Wed Jan 15 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.0-18
622cf5
- Don't generate documentation on unexpected places.
622cf5
- Detect if rubygems are running under rpmbuild and install gem binary
622cf5
  extensions into appropriate place.
622cf5
- Add support for ppc64le arch (rhbz#1053263).
622cf5
- Re-enable some test cases, which are passing now with Kernel 3.12.8+.
622cf5
- Backport fix for floating point issues on i686.
622cf5
622cf5
* Thu Jan 02 2014 Vít Ondruch <vondruch@redhat.com> - 2.1.0-17
622cf5
- Upgrade to Ruby 2.1.0.
622cf5
- Move RPM macros into /usr/lib/rpm/macros.d directory.
622cf5
- Allow MD5 in OpenSSL for tests.
622cf5
622cf5
* Tue Jul 30 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.247-15
622cf5
- Move Psych symlinks to vendor dir, to prevent F18 -> F19 upgrade issues
622cf5
  (rhbz#988490).
622cf5
622cf5
* Mon Jul 15 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.247-14
622cf5
- Add forgotten psych.rb link into rubygem-psych to fix "private method `load'
622cf5
  called for Psych:Moduler" error (rhbz#979133).
622cf5
622cf5
* Thu Jul 11 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.247-13
622cf5
- Fixes multilib conlicts of .gemspec files.
622cf5
- Make symlinks for psych gem to ruby stdlib dirs (rhbz#979133).
622cf5
- Use system-wide cert.pem.
622cf5
622cf5
* Thu Jul 04 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.247-12
622cf5
- Fix RubyGems search paths when building gems with native extension
622cf5
  (rhbz#979133).
622cf5
622cf5
* Tue Jul 02 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.247-11
622cf5
- Fix RubyGems version.
622cf5
622cf5
* Tue Jul 02 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.247-10
622cf5
- Better support for build without configuration (rhbz#977941).
622cf5
622cf5
* Mon Jul 01 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.247-9
622cf5
- Update to Ruby 2.0.0-p247 (rhbz#979605).
622cf5
- Fix CVE-2013-4073.
622cf5
- Fix for wrong makefiles created by mkmf (rhbz#921650).
622cf5
- Add support for ABRT autoloading.
622cf5
622cf5
* Fri May 17 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.195-8
622cf5
- Update to Ruby 2.0.0-p195 (rhbz#917374).
622cf5
- Fix object taint bypassing in DL and Fiddle (CVE-2013-2065).
622cf5
- Fix build against OpenSSL with enabled ECC curves.
622cf5
- Add aarch64 support (rhbz#926463).
622cf5
622cf5
* Fri Apr 19 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-7
622cf5
- Macro definition moved into macros.ruby and macros.rubygems files.
622cf5
- Added filtering macros.
622cf5
- Filter automatically generated provides of private libraries (rhbz#947408).
622cf5
622cf5
* Fri Mar 22 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-6
622cf5
- Fix RbConfig::CONFIG['exec_prefix'] returns empty string (rhbz#924851).
622cf5
622cf5
* Thu Mar 21 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-5
622cf5
- Make Ruby buildable without rubypick.
622cf5
- Prevent random test failures.
622cf5
622cf5
* Fri Mar 08 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.0.0.0-4
622cf5
- Don't mark rpm config file as %%config (fpc#259)
622cf5
622cf5
* Tue Mar 05 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-3
622cf5
- Avoid "method redefined;" warnings due to modified operating_system.rb.
622cf5
- Fix strange paths created during build of binary gems.
622cf5
622cf5
* Mon Feb 25 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-2
622cf5
- Prevent squash of %%gem_install with following line.
622cf5
622cf5
* Mon Feb 25 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-1
622cf5
- Update to Ruby 2.0.0-p0.
622cf5
- Change %%{ruby_extdir} to %%{ruby_extdir_mri} in preparation for better
622cf5
  JRuby support.
622cf5
622cf5
* Mon Feb 25 2013 Mamoru TASAKA <mtasaka@fedoraprojec.org> - 2.0.0.0-0.3.r39387
622cf5
- Move test-unit.gemspec to -libs subpackage for now because rubygems
622cf5
  2.0.0 does not create this
622cf5
622cf5
* Fri Feb 22 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-0.2.r39387
622cf5
- Fix issues with wrong value of Rubygem's shebang introduced in r39267.
622cf5
622cf5
* Fri Feb 22 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-0.1.r39387
622cf5
- Upgrade to Ruby 2.0.0 (r39387).
622cf5
- Introduce %%gem_install macro.
622cf5
- Build against libdb instead of libdb4 (rhbz#894022).
622cf5
- Move native extensions from exts to ruby directory.
622cf5
- Enable most of the PPC test suite.
622cf5
- Change ruby(abi) -> ruby(release).
622cf5
- Rename ruby executable to ruby-mri, to be prepared for RubyPick.
622cf5
- Add ruby(runtime_executable) virtual provide, which is later used
622cf5
  by RubyPick.
622cf5
- RDoc now depends on JSON.
622cf5
- Try to make -doc subpackage noarch again, since the new RDoc should resolve
622cf5
  the arch dependent issues (https://github.com/rdoc/rdoc/issues/71).
622cf5
- Enable SystemTap support.
622cf5
- Add TapSet for Ruby.
622cf5
- Split Psych into rubygem-psych subpackage.
622cf5
622cf5
* Mon Feb 11 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.385-28
622cf5
- Update to 1.9.3 p385
622cf5
622cf5
* Sat Jan 19 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.374-27
622cf5
- Update to 1.9.3 p374
622cf5
- Fix provided variables in pkgconfig (bug 789532:
622cf5
  Vít Ondruch <vondruch@redhat.com>)
622cf5
622cf5
* Fri Jan 18 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.362-26
622cf5
- Provide non-versioned pkgconfig file (bug 789532)
622cf5
- Use db5 on F-19 (bug 894022)
622cf5
 
622cf5
* Wed Jan 16 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.362-25
622cf5
- Backport fix for the upstream PR7629, save the proc made from the given block
622cf5
  (bug 895173)
622cf5
622cf5
* Wed Jan  2 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.362-24
622cf5
- Update to 1.9.3.362
622cf5
622cf5
* Mon Dec 03 2012 Jaromir Capik <jcapik@redhat.com> - 1.9.3.327-23
622cf5
- Skipping test_parse.rb (fails on ARM at line 787)
622cf5
- http://bugs.ruby-lang.org/issues/6899
622cf5
622cf5
* Sun Nov 11 2012 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.327-23
622cf5
- Skip test_str_crypt (on rawhide) for now (upstream bug 7312)
622cf5
622cf5
* Sat Nov 10 2012 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.327-22
622cf5
- Ignore some network related tests
622cf5
622cf5
* Sat Nov 10 2012 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.327-21
622cf5
- Update to 1.9.3.327
622cf5
- Fix Hash-flooding DoS vulnerability on MurmurHash function
622cf5
  (CVE-2012-5371)
622cf5
622cf5
* Sat Oct 13 2012 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.286-19
622cf5
- Update to 1.9.3 p286
622cf5
- Don't create files when NUL-containing path name is passed
622cf5
  (bug 865940, CVE-2012-4522)
622cf5
622cf5
* Thu Oct 04 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.9.3.194-18
622cf5
- Patch from trunk for CVE-2012-4464, CVE-2012-4466
622cf5
622cf5
* Thu Sep 06 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.194-17
622cf5
- Split documentation into -doc subpackage (rhbz#854418).
622cf5
622cf5
* Tue Aug 14 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.194-16
622cf5
- Revert the dependency of ruby-libs on rubygems (rhbz#845011, rhbz#847482).
622cf5
622cf5
* Wed Aug 01 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.194-15
622cf5
- ruby-libs must require rubygems (rhbz#845011).
622cf5
622cf5
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.3.194-14
622cf5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
622cf5
622cf5
* Mon Jun 11 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.9.3.194-13
622cf5
- Make the bigdecimal gem a runtime dependency of Ruby.
622cf5
622cf5
* Mon Jun 11 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.9.3.194-12
622cf5
- Make symlinks for bigdecimal and io-console gems to ruby stdlib dirs (RHBZ 829209).
622cf5
622cf5
* Tue May 29 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.9.3.194-11
622cf5
- Fix license to contain Public Domain.
622cf5
- macros.ruby now contains unexpanded macros.
622cf5
622cf5
* Sun Apr 22 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.9.3.194-10.1
622cf5
- Bump release
622cf5
622cf5
* Fri Apr 20 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.194-1
622cf5
- Update to Ruby 1.9.3-p194.
622cf5
622cf5
* Mon Apr 09 2012 Karsten Hopp <karsten@redhat.com> 1.9.3.125-3
622cf5
- disable check on ppc(64), RH bugzilla 803698
622cf5
622cf5
* Wed Feb 29 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.9.3.125-2
622cf5
- Temporarily disable make check on ARM until it's fixed upstream. Tracked in RHBZ 789410
622cf5
622cf5
* Mon Feb 20 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.125-1
622cf5
- Upgrade to Ruby 1.9.3-p125.
622cf5
622cf5
* Sun Jan 29 2012 Mamoru Tasaka <mtasaka@fedoraprpject.org> - 1.9.3.0-7
622cf5
- Make mkmf.rb verbose by default
622cf5
622cf5
* Thu Jan 26 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-6
622cf5
- Relax dependencies to allow external updates of bundled gems.
622cf5
622cf5
* Wed Jan 18 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-5
622cf5
- Initial release of Ruby 1.9.3.
622cf5
- Add rubygems dependency on io-console for user interactions.
622cf5
- Gems license clarification.
622cf5
622cf5
* Tue Jan 17 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-4
622cf5
- Bundled gems moved into dedicated directories and subpackages.
622cf5
- Create and own RubyGems directories for binary extensions.
622cf5
- Fix build with GCC 4.7.
622cf5
622cf5
* Mon Jan 16 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-3
622cf5
- Fix RHEL build.
622cf5
- Fixed directory ownership.
622cf5
- Verose build output.
622cf5
622cf5
* Sun Jan 15 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-2
622cf5
- Install RubyGems outside of Ruby directory structure.
622cf5
- RubyGems has not its own -devel subpackage.
622cf5
- Enhanced macros.ruby and macros.rubygems.
622cf5
- All tests are green now (bkabrda).
622cf5
622cf5
* Sat Jan 14 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-1
622cf5
- Initial package
622cf5
622cf5
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.7.357-2
622cf5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
622cf5
622cf5
* Thu Dec 29 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.357-1
622cf5
- Update to 1.8.7p357
622cf5
- Randomize hash on process startup (CVE-2011-4815, bug 750564)
622cf5
622cf5
* Fri Dec 23 2011 Dennis Gilmore <dennis@ausil.us> - 1.8.7.352-2
622cf5
- dont normalise arm cpus to arm
622cf5
- there is something weird about how ruby choses where to put bits
622cf5
622cf5
* Thu Nov 17 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.352-3
622cf5
- F-17: kill gdbm support for now due to licensing compatibility issue
622cf5
622cf5
* Sat Oct  1 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.352-2
622cf5
- F-17: rebuild against new gdbm
622cf5
622cf5
* Sat Jul 16 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.352-1
622cf5
- Update to 1.8.7 p352
622cf5
- CVE-2011-2686 is fixed in this version (bug 722415)
622cf5
- Update ext/tk to the latest git
622cf5
- Remove duplicate path entry (bug 718695)
622cf5
622cf5
* Thu Jul 14 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.334-4
622cf5
- Once fix FTBFS (bug 716021)
622cf5
622cf5
* Mon Jul 11 2011 Dennis Gilmore <dennis@ausil.us> - 1.8.7.334-3
622cf5
- normalise arm cpus to arm
622cf5
622cf5
* Mon May 30 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.334-2
622cf5
- Own %%{_normalized_cpu}-%%{_target_os} directory (bug 708816)
622cf5
622cf5
* Sat Feb 19 2011 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.334-1
622cf5
- Update to 1.8.7 p334
622cf5
622cf5
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.7.330-3
622cf5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
622cf5
622cf5
* Sun Jan 02 2011 Dennis Gilmore <dennis@ausil.us> - 1.8.7.330-2
622cf5
- nomalise the 32 bit sparc archs to sparc
622cf5
622cf5
* Sun Dec 26 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.330-1
622cf5
- Update to 1.8.7 p330
622cf5
- ext/tk updated to the newest header
622cf5
622cf5
* Thu Nov  4 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.302-2
622cf5
- Avoid multilib conflict on -libs subpackage (bug 649174)
622cf5
622cf5
* Mon Aug 23 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.302-1
622cf5
- Update to 1.8.7.302
622cf5
- CVE-2010-0541 (bug 587731) is fixed in this version
622cf5
- Update ext/tk to the latest head
622cf5
622cf5
* Mon Aug  2 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.299-5
622cf5
- More cleanup of spec file, expecially for rpmlint issue
622cf5
- build ri files in %%build
622cf5
622cf5
* Mon Jul 26 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.299-4
622cf5
- Cleanup spec file
622cf5
- Make -irb, -rdoc subpackage noarch
622cf5
- Make dependencies between arch-dependent subpackages isa specific
622cf5
- Improve sample documentation gathering
622cf5
622cf5
* Mon Jul 12 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.299-3
622cf5
- updated packaged based on feedback (from mtasaka)
622cf5
- added comments to all patches / sources
622cf5
- obsoleted ruby-mode, as it's now provided by the emacs package itself
622cf5
- readded missing documentation
622cf5
- various small compatability/regression fixes
622cf5
622cf5
* Tue Jul 06 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.299-2
622cf5
- readded bits to pull tk package from upstream source branch
622cf5
- removed unecessary .tk.old dir
622cf5
- renamed macros which may cause confusion, removed unused ones
622cf5
622cf5
* Thu Jun 24 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.299-1
622cf5
- integrate more of jmeyering's and mtaska's feedback
622cf5
- removed emacs bits that are now shipped with the emacs package
622cf5
- various patch and spec cleanup
622cf5
- rebased to ruby 1.8.7 patch 299, removed patches no longer needed:
622cf5
   ruby-1.8.7-openssl-1.0.patch, ruby-1.8.7-rb_gc_guard_ptr-optimization.patch
622cf5
622cf5
* Wed Jun 23 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.249-5
622cf5
- Various fixes
622cf5
622cf5
* Wed Jun 23 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.249-4
622cf5
- Fixed incorrect paths in 1.8.7 rpm
622cf5
622cf5
* Tue Jun 22 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.249-3
622cf5
- Integrated Jim Meyering's feedback and changes in to:
622cf5
- remove trailing blanks
622cf5
- placate rpmlint
622cf5
- ruby_* definitions: do not use trailing slashes in directory names
622cf5
- _normalized_cpu: simplify definition
622cf5
622cf5
* Mon Jun 21 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.249-2
622cf5
- Integrate mtasaka's feedback and changes
622cf5
- patch101 ruby_1_8_7-rb_gc_guard_ptr-optimization.patch
622cf5
622cf5
* Tue Jun 15 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.249-1
622cf5
- Initial Ruby 1.8.7 specfile
622cf5
622cf5
* Wed May 19 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.399-5
622cf5
- Retry for bug 559158, Simplify the OpenSSL::Digest class
622cf5
  pull more change commits from ruby_1_8 branch
622cf5
622cf5
* Mon May 17 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.399-4
622cf5
- Patch36 (ruby-1.8.x-RHASH_SIZE-rb_hash_lookup-def.patch)
622cf5
  also backport rb_hash_lookup definition (bug 592936)
622cf5
622cf5
* Thu May 13 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.399-3
622cf5
- ruby-1.8.x-null-class-must-be-Qnil.patch (bug 530407)
622cf5
- Recreate some patches using upstream svn when available, and
622cf5
  add some comments for patches
622cf5
622cf5
* Tue May 11 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.399-2
622cf5
- tcltk: Give up using potentially unmaintained ruby_1_8_6 branch
622cf5
  and instead completely replace with ruby_1_8 branch head
622cf5
  (at this time, using rev 27738)
622cf5
  (seems to fix 560053, 590503)
622cf5
- Fix Japanese encoding strings under ruby-tcltk/ext/tk/sample/
622cf5
622cf5
* Tue Apr 27 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.399-1
622cf5
- Update to 1.8.6 p 399 (bug 579675)
622cf5
- Patch to fix gc bug causing open4 crash (bug 580993)
622cf5
622cf5
* Fri Mar 12 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.388-9
622cf5
- F-14: rebuild against new gdbm
622cf5
622cf5
* Thu Jan 28 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp>
622cf5
- Once revert the previous change (patch34)
622cf5
622cf5
* Wed Jan 27 2010 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 1.8.6.388-8
622cf5
- Backport openssl/digest functions providing digest and hexdigest functions
622cf5
  directly in OpenSSL::Digest.methods
622cf5
- Make sure that Red Hat people version their changelog entries
622cf5
- This is actually release #1, but now needs to be release #7
622cf5
622cf5
* Mon Jan 18 2010 Akira TAGOH <tagoh@redhat.com> - 1.8.6.388-1
622cf5
- Add conditional for RHEL.
622cf5
622cf5
* Wed Jan 13 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.383-6
622cf5
- CVE-2009-4492 ruby WEBrick log escape sequence (bug 554485)
622cf5
622cf5
* Wed Dec  9 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.383-5
622cf5
- Change mkmf.rb to use LIBRUBYARG_SHARED so that have_library() works
622cf5
  without libruby-static.a (bug 428384)
622cf5
- And move libruby-static.a to -static subpackage
622cf5
622cf5
* Thu Oct 29 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.383-4
622cf5
- Use bison to regenerate parse.c to keep the original format of error
622cf5
  messages (bug 530275 comment 4)
622cf5
622cf5
* Sun Oct 25 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.383-3
622cf5
- Patch so that irb saves its history (bug 518584, ruby issue 1556)
622cf5
622cf5
* Sat Oct 24 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.383-2
622cf5
- Update to 1.8.6 patchlevel 383 (bug 520063)
622cf5
622cf5
* Wed Oct 14 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.369-5
622cf5
- Much better idea for Patch31 provided by Akira TAGOH <tagoh@redhat.com>
622cf5
622cf5
* Wed Oct 14 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.369-4
622cf5
- Fix the search path of ri command for ri manuals installed with gem
622cf5
  (bug 528787)
622cf5
622cf5
* Wed Aug 26 2009 Tomas Mraz <tmraz@redhat.com> - 1.8.6.369-3
622cf5
- Rebuild against new openssl
622cf5
622cf5
* Thu Jul 23 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.369-2
622cf5
- Make sure that readline.so is linked against readline 5 because
622cf5
  Ruby is under GPLv2
622cf5
622cf5
* Sat Jun 20 2009  Jeroen van Meeuwen <kanarip@fedoraproject.org> - 1.8.6.369-1
622cf5
- New patchlevel fixing CVE-2009-1904
622cf5
- Fix directory on ARM (#506233, Kedar Sovani)
622cf5
622cf5
* Sun May 31 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 1.8.6.368-1
622cf5
- New upstream release (p368)
622cf5
622cf5
* Sat Apr 11 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.287-8
622cf5
- Merge Review fix (#226381)
622cf5
622cf5
* Wed Mar 18 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 1.8.6.287-7
622cf5
- Fix regression in CVE-2008-3790 (#485383)
622cf5
622cf5
* Mon Mar 16 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.287-6
622cf5
- Again use -O2 optimization level
622cf5
- i586 should search i386-linux directory (on <= F-11)
622cf5
622cf5
* Thu Mar 05 2009 Jeroen van Meeuwen <kanarip@fedoraproject.org> - 1.8.6.287-5
622cf5
- Rebuild for gcc4.4
622cf5
622cf5
* Fri Feb 27 2009 Jeroen van Meeuwen <kanarip@fedoraproject.org> - 1.8.6.287-3
622cf5
- CVE-2008-5189: CGI header injection.
622cf5
622cf5
* Wed Oct  8 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.287-2
622cf5
- CVE-2008-3790: DoS vulnerability in the REXML module.
622cf5
622cf5
* Sat Aug 23 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.287-1
622cf5
- New upstream release.
622cf5
- Security fixes.
622cf5
  - CVE-2008-3655: Ruby does not properly restrict access to critical
622cf5
                   variables and methods at various safe levels.
622cf5
  - CVE-2008-3656: DoS vulnerability in WEBrick.
622cf5
  - CVE-2008-3657: Lack of taintness check in dl.
622cf5
  - CVE-2008-1447: DNS spoofing vulnerability in resolv.rb.
622cf5
  - CVE-2008-3443: Memory allocation failure in Ruby regex engine.
622cf5
- Remove the unnecessary backported patches.
622cf5
622cf5
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.8.6.230-5
622cf5
- rebuild against db4-4.7
622cf5
622cf5
* Tue Jul  1 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.230-4
622cf5
- Backported from upstream SVN to fix a segfault issue with Array#fill.
622cf5
622cf5
* Mon Jun 30 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.230-3
622cf5
- Backported from upstream SVN to fix a segfault issue. (#452825)
622cf5
- Backported from upstream SVN to fix an integer overflow in rb_ary_fill.
622cf5
622cf5
* Wed Jun 25 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.230-2
622cf5
- Fix a segfault issue. (#452810)
622cf5
622cf5
* Tue Jun 24 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.230-1
622cf5
- New upstream release.
622cf5
- Security fixes. (#452295)
622cf5
  - CVE-2008-1891: WEBrick CGI source disclosure.
622cf5
  - CVE-2008-2662: Integer overflow in rb_str_buf_append().
622cf5
  - CVE-2008-2663: Integer overflow in rb_ary_store().
622cf5
  - CVE-2008-2664: Unsafe use of alloca in rb_str_format().
622cf5
  - CVE-2008-2725: Integer overflow in rb_ary_splice().
622cf5
  - CVE-2008-2726: Integer overflow in rb_ary_splice().
622cf5
- ruby-1.8.6.111-CVE-2007-5162.patch: removed.
622cf5
- Build ruby-mode package for all archtectures.
622cf5
622cf5
* Tue Mar  4 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.114-1
622cf5
- Security fix for CVE-2008-1145.
622cf5
- Improve a spec file. (#226381)
622cf5
  - Correct License tag.
622cf5
  - Fix a timestamp issue.
622cf5
  - Own a arch-specific directory.
622cf5
622cf5
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.8.6.111-9
622cf5
- Autorebuild for GCC 4.3
622cf5
622cf5
* Tue Feb 19 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-8
622cf5
- Rebuild for gcc-4.3.
622cf5
622cf5
* Tue Jan 15 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-7
622cf5
- Revert the change of libruby-static.a. (#428384)
622cf5
622cf5
* Fri Jan 11 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-6
622cf5
- Fix an unnecessary replacement for shebang. (#426835)
622cf5
622cf5
* Fri Jan  4 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-5
622cf5
- Rebuild.
622cf5
622cf5
* Fri Dec 28 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-4
622cf5
- Clean up again.
622cf5
622cf5
* Fri Dec 21 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-3
622cf5
- Clean up the spec file.
622cf5
- Remove ruby-man-1.4.6 stuff. this is entirely the out-dated document.
622cf5
  this could be replaced by ri.
622cf5
- Disable the static library building.
622cf5
622cf5
* Tue Dec 04 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.8.6.111-2
622cf5
 - Rebuild for openssl bump
622cf5
622cf5
* Wed Oct 31 2007 Akira TAGOH <tagoh@redhat.com>
622cf5
- Fix the dead link.
622cf5
622cf5
* Mon Oct 29 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-1
622cf5
- New upstream release.
622cf5
- ruby-1.8.6.111-CVE-2007-5162.patch: Update a bit with backporting the changes
622cf5
   at trunk to enable the fix without any modifications on the users' scripts.
622cf5
   Note that Net::HTTP#enable_post_connection_check isn't available anymore.
622cf5
   If you want to disable this post-check, you should give OpenSSL::SSL::VERIFY_NONE
622cf5
   to Net::HTTP#verify_mode= instead of.
622cf5
622cf5
* Mon Oct 15 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.110-2
622cf5
- Enable pthread support for ppc too. (#201452)
622cf5
- Fix unexpected dependencies appears in ruby-libs. (#253325)
622cf5
622cf5
* Wed Oct 10 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.110-1
622cf5
- New upstream release.
622cf5
  - ruby-r12567.patch: removed.
622cf5
- ruby-1.8.6-CVE-2007-5162.patch: security fix for Net::HTTP that is
622cf5
  insufficient verification of SSL certificate.
622cf5
622cf5
* Thu Aug 23 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.36-4
622cf5
- Rebuild
622cf5
622cf5
* Fri Aug 10 2007 Akira TAGOH <tagoh@redhat.com>
622cf5
- Update License tag.
622cf5
622cf5
* Mon Jun 25 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.36-3
622cf5
- ruby-r12567.patch: backport patch from upstream svn to get rid of
622cf5
  the unnecessary declarations. (#245446)
622cf5
622cf5
* Wed Jun 20 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.36-2
622cf5
- New upstream release.
622cf5
  - Fix Etc::getgrgid to get the correct gid as requested. (#236647)
622cf5
622cf5
* Wed Mar 28 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6-2
622cf5
- Fix search path breakage. (#234029)
622cf5
622cf5
* Thu Mar 15 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6-1
622cf5
- New upstream release.
622cf5
- clean up a spec file.
622cf5
622cf5
* Tue Feb 13 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.5.12-2
622cf5
- Rebuild
622cf5
622cf5
* Mon Feb  5 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.5.12-1
622cf5
- New upstream release.
622cf5
622cf5
* Mon Dec 11 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.5.2-1
622cf5
- security fix release.
622cf5
622cf5
* Fri Oct 27 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.5-4
622cf5
- security fix release.
622cf5
- ruby-1.8.5-cgi-CVE-2006-5467.patch: fix a CGI multipart parsing bug that
622cf5
  causes the denial of service. (#212396)
622cf5
622cf5
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 1.8.5-3
622cf5
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
622cf5
622cf5
* Tue Sep 26 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.5-2
622cf5
- fixed rbconfig.rb to refer to DESTDIR for sitearchdir. (#207311)
622cf5
622cf5
* Mon Aug 28 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.5-1
622cf5
- New upstream release.
622cf5
- removed the unnecessary patches:
622cf5
  - ruby-1.8.4-no-eaccess.patch
622cf5
  - ruby-1.8.4-64bit-pack.patch
622cf5
  - ruby-1.8.4-fix-insecure-dir-operation.patch
622cf5
  - ruby-1.8.4-fix-insecure-regexp-modification.patch
622cf5
  - ruby-1.8.4-fix-alias-safe-level.patch
622cf5
- build with --enable-pthread except on ppc.
622cf5
- ruby-1.8.5-hash-memory-leak.patch: backported from CVS to fix a memory leak
622cf5
  on Hash. [ruby-talk:211233]
622cf5
622cf5
* Mon Aug  7 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-12
622cf5
- owns sitearchdir. (#201208)
622cf5
622cf5
* Thu Jul 20 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-11
622cf5
- security fixes [CVE-2006-3694]
622cf5
  - ruby-1.8.4-fix-insecure-dir-operation.patch:
622cf5
  - ruby-1.8.4-fix-insecure-regexp-modification.patch: fixed the insecure
622cf5
    operations in the certain safe-level restrictions. (#199538)
622cf5
  - ruby-1.8.4-fix-alias-safe-level.patch: fixed to not bypass the certain
622cf5
    safe-level restrictions. (#199543)
622cf5
622cf5
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.8.4-10.fc6.1
622cf5
- rebuild
622cf5
622cf5
* Mon Jun 19 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-10
622cf5
- fixed the wrong file list again. moved tcltk library into ruby-tcltk.
622cf5
  (#195872)
622cf5
622cf5
* Thu Jun  8 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-8
622cf5
- ruby-deprecated-sitelib-search-path.patch: correct the order of search path.
622cf5
622cf5
* Wed Jun  7 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-7
622cf5
- exclude ppc64 to make ruby-mode package. right now emacs.ppc64 isn't provided
622cf5
  and buildsys became much stricter.
622cf5
- ruby-deprecated-sitelib-search-path.patch: applied to add more search path
622cf5
  for backward compatiblity.
622cf5
- added byacc to BuildReq. (#194161)
622cf5
622cf5
* Wed May 17 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-6
622cf5
- ruby-deprecated-search-path.patch: added the deprecated installation paths
622cf5
  to the search path for the backward compatibility.
622cf5
- added a Provides: ruby(abi) to ruby-libs.
622cf5
- ruby-1.8.4-64bit-pack.patch: backport patch from upstream to fix unpack("l")
622cf5
  not working on 64bit arch and integer overflow on template "w". (#189350)
622cf5
- updated License tag to be more comfortable, and with a pointer to get more
622cf5
  details, like Python package does. (#179933)
622cf5
- clean up.
622cf5
622cf5
* Wed Apr 19 2006 Akira TAGOH <tagoh@redhat.com>
622cf5
- ruby-rubyprefix.patch: moved all arch-independent modules under /usr/lib/ruby
622cf5
  and keep arch-dependent modules under /usr/lib64/ruby for 64bit archs.
622cf5
  so 'rubylibdir', 'sitelibdir' and 'sitedir' in Config::CONFIG points to
622cf5
  the kind of /usr/lib/ruby now. (#184199)
622cf5
622cf5
* Mon Apr 17 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-4
622cf5
- correct sitelibdir. (#184198)
622cf5
622cf5
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.8.4-3.2
622cf5
- bump again for double-long bug on ppc(64)
622cf5
622cf5
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.8.4-3.1
622cf5
- rebuilt for new gcc4.1 snapshot and glibc changes
622cf5
622cf5
* Mon Feb  6 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-3
622cf5
- ruby-1.8.4-no-eaccess.patch: backported from ruby CVS to avoid conflict
622cf5
  between newer glibc. (#179835)
622cf5
622cf5
* Wed Jan  4 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-2
622cf5
- ruby-tcltk-multilib.patch: fixed a typo.
622cf5
622cf5
* Tue Dec 27 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.4-1
622cf5
- New upstream release.
622cf5
  - fixed a missing return statement. (#140833)
622cf5
  - fixed an use of uninitialized variable. (#144890)
622cf5
622cf5
* Fri Dec 16 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.4-0.4.preview2
622cf5
- updates to 1.8.4-preview2.
622cf5
- renamed the packages to ruby-* (#175765)
622cf5
  - irb  -> ruby-irb
622cf5
  - rdoc -> ruby-rdoc
622cf5
  - ri   -> ruby-ri
622cf5
- added tcl-devel and tk-devel into BuildRequires.
622cf5
622cf5
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
622cf5
- rebuilt
622cf5
622cf5
* Thu Nov 10 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.4-0.3.preview1
622cf5
- rebuilt against the latest openssl.
622cf5
622cf5
* Tue Nov  1 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.4-0.2.preview1
622cf5
- build-deps libX11-devel instead of xorg-x11-devel.
622cf5
622cf5
* Mon Oct 31 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.4-0.1.preview1
622cf5
- New upstream release.
622cf5
- ruby-1.8.2-strscan-memset.patch: removed because it's no longer needed.
622cf5
622cf5
* Tue Oct  4 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.3-4
622cf5
- moved the documents from ruby-libs to ruby-docs, which contains the arch
622cf5
  specific thing and to be multilib support. (#168826)
622cf5
622cf5
* Mon Oct  3 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.3-3
622cf5
- fixed the wrong file list. the external library for tcl/tk was included
622cf5
  in ruby-libs unexpectedly.
622cf5
622cf5
* Mon Sep 26 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.3-2
622cf5
- ruby-multilib.patch: added another chunk for multilib. (#169127)
622cf5
622cf5
* Wed Sep 21 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.3-1
622cf5
- New upstream release.
622cf5
- Build-Requires xorg-x11-devel instead of XFree86-devel.
622cf5
- ruby-multilib.patch: applied for only 64-bit archs.
622cf5
- ruby-1.8.2-xmlrpc-CAN-2005-1992.patch: removed. it has already been in upstream.
622cf5
622cf5
* Tue Jun 21 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-9
622cf5
- ruby-1.8.2-xmlrpc-CAN-2005-1992.patch: fixed the arbitrary command execution
622cf5
  on XMLRPC server. (#161096)
622cf5
622cf5
* Thu Jun 16 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-8
622cf5
- ruby-1.8.2-tcltk-multilib.patch: applied to get tcltklib.so built. (#160194)
622cf5
622cf5
* Thu Apr  7 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-7
622cf5
- ruby-1.8.2-deadcode.patch: removed the dead code from the source. (#146108)
622cf5
- make sure that all documentation files in ruby-docs are the world-
622cf5
  readable. (#147279)
622cf5
622cf5
* Tue Mar 22 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-6
622cf5
- ruby-1.8.2-strscan-memset.patch: fixed an wrong usage of memset(3).
622cf5
622cf5
* Tue Mar 15 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-5
622cf5
- rebuilt
622cf5
622cf5
* Tue Jan 25 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-4
622cf5
- fixed the wrong generation of file manifest. (#146055)
622cf5
- spec file clean up.
622cf5
622cf5
* Mon Jan 24 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-3
622cf5
- separated out to rdoc package.
622cf5
- make the dependency of irb for rdoc. (#144708)
622cf5
622cf5
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> - 1.8.2-2
622cf5
- Rebuilt for new readline.
622cf5
622cf5
* Wed Jan  5 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-1
622cf5
- New upstream release.
622cf5
- ruby-1.8.1-ia64-stack-limit.patch: removed - it's no longer needed.
622cf5
- ruby-1.8.1-cgi_session_perms.patch: likewise.
622cf5
- ruby-1.8.1-cgi-dos.patch: likewise.
622cf5
- generated Ruby interactive documentation - senarated package.
622cf5
  it's now provided as ri package. (#141806)
622cf5
622cf5
* Thu Nov 11 2004 Jeff Johnson <jbj@jbj.org> 1.8.1-10
622cf5
- rebuild against db-4.3.21.
622cf5
622cf5
* Wed Nov 10 2004 Akira TAGOH <tagoh@redhat.com> - 1.8.1-9
622cf5
- ruby-1.8.1-cgi-dos.patch: security fix [CAN-2004-0983]
622cf5
- ruby-1.8.1-cgi_session_perms.patch: security fix [CAN-2004-0755]
622cf5
622cf5
* Fri Oct 29 2004 Akira TAGOH <tagoh@redhat.com> - 1.8.1-8
622cf5
- added openssl-devel and db4-devel into BuildRequires (#137479)
622cf5
622cf5
* Wed Oct  6 2004 Akira TAGOH <tagoh@redhat.com> - 1.8.1-7
622cf5
- require emacs-common instead of emacs.
622cf5
622cf5
* Wed Jun 23 2004 Akira TAGOH <tagoh@redhat.com> 1.8.1-4
622cf5
- updated the documentation.
622cf5
622cf5
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
622cf5
- rebuilt
622cf5
622cf5
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
622cf5
- rebuilt
622cf5
622cf5
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
622cf5
- rebuilt
622cf5
622cf5
* Wed Feb 04 2004 Akira TAGOH <tagoh@redhat.com> 1.8.1-1
622cf5
- New upstream release.
622cf5
- don't use any optimization for ia64 to avoid the build failure.
622cf5
- ruby-1.8.1-ia64-stack-limit.patch: applied to fix SystemStackError when the optimization is disabled.
622cf5
622cf5
* Sat Dec 13 2003 Jeff Johnson <jbj@jbj.org> 1.8.0-3
622cf5
- rebuild against db-4.2.52.
622cf5
622cf5
* Thu Sep 25 2003 Jeff Johnson <jbj@jbj.org> 1.8.0-2
622cf5
- rebuild against db-4.2.42.
622cf5
622cf5
* Tue Aug  5 2003 Akira TAGOH <tagoh@redhat.com> 1.8.0-1
622cf5
- New upstream release.
622cf5
622cf5
* Thu Jul 24 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-9.1
622cf5
- rebuilt
622cf5
622cf5
* Thu Jul 24 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-9
622cf5
- ruby-1.6.8-castnode.patch: handling the nodes with correct cast.
622cf5
  use this patch now instead of ruby-1.6.8-fix-x86_64.patch.
622cf5
622cf5
* Fri Jul 04 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-8
622cf5
- rebuilt
622cf5
622cf5
* Fri Jul 04 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-7
622cf5
- fix the gcc warnings. (#82192)
622cf5
- ruby-1.6.8-fix-x86_64.patch: correct a patch.
622cf5
  NOTE: DON'T USE THIS PATCH FOR BIG ENDIAN ARCHITECTURE.
622cf5
- ruby-1.6.7-long2int.patch: removed.
622cf5
622cf5
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
622cf5
- rebuilt
622cf5
622cf5
* Fri Feb  7 2003 Jens Petersen <petersen@redhat.com> - 1.6.8-5
622cf5
- rebuild against ucs4 tcltk
622cf5
622cf5
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
622cf5
- rebuilt
622cf5
622cf5
* Wed Jan 22 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-3
622cf5
- ruby-1.6.8-multilib.patch: applied to fix the search path issue on x86_64
622cf5
622cf5
* Tue Jan 21 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-2
622cf5
- ruby-1.6.8-require.patch: applied to fix the search bug in require.
622cf5
- don't apply long2int patch to s390 and s390x. it doesn't work.
622cf5
622cf5
* Wed Jan 15 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-1
622cf5
- New upstream release.
622cf5
- removed some patches. it's no longer needed.
622cf5
  - ruby-1.6.7-100.patch
622cf5
  - ruby-1.6.7-101.patch
622cf5
  - ruby-1.6.7-102.patch
622cf5
  - ruby-1.6.7-103.patch
622cf5
  - 801_extmk.rb-shellwords.patch
622cf5
  - 801_mkmf.rb-shellwords.patch
622cf5
  - 804_parse.y-new-bison.patch
622cf5
  - 805_uri-bugfix.patch
622cf5
  - ruby-1.6.6-900_XXX_strtod.patch
622cf5
  - ruby-1.6.7-sux0rs.patch
622cf5
  - ruby-1.6.7-libobj.patch
622cf5
622cf5
* Wed Jan 15 2003 Jens Petersen <petersen@redhat.com> 1.6.7-14
622cf5
- rebuild to update tcltk deps
622cf5
622cf5
* Mon Dec 16 2002 Elliot Lee <sopwith@redhat.com> 1.6.7-13
622cf5
- Remove ExcludeArch: x86_64
622cf5
- Fix x86_64 ruby with long2int.patch (ruby was assuming that sizeof(long)
622cf5
  == sizeof(int). The patch does not fix the source of the problem, just
622cf5
  makes it a non-issue.)
622cf5
- _smp_mflags
622cf5
622cf5
* Tue Dec 10 2002 Tim Powers <timp@redhat.com> 1.6.7-12
622cf5
- rebuild to fix broken tcltk deps
622cf5
622cf5
* Tue Oct 22 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-11
622cf5
- use %%configure macro instead of configure script.
622cf5
- use the latest config.{sub,guess}.
622cf5
- get archname from rbconfig.rb for %%dir
622cf5
- applied some patches from Debian:
622cf5
  - 801_extmk.rb-shellwords.patch: use Shellwords
622cf5
  - 801_mkmf.rb-shellwords.patch: mkmf.rb creates bad Makefile. the Makefile
622cf5
    links libruby.a to the target.
622cf5
  - 803_sample-fix-shbang.patch: all sample codes should be
622cf5
    s|/usr/local/bin|/usr/bin|g
622cf5
  - 804_parse.y-new-bison.patch: fix syntax warning.
622cf5
  - 805_uri-bugfix.patch: uri.rb could not handle correctly broken mailto-uri.
622cf5
- add ExcludeArch x86_64 temporarily to fix Bug#74581. Right now ruby can't be
622cf5
  built on x86_64.
622cf5
622cf5
* Tue Aug 27 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-10
622cf5
- moved sitedir to /usr/lib/ruby/site_ruby again according as our perl and
622cf5
  python.
622cf5
- ruby-1.6.7-resolv1.patch, ruby-1.6.7-resolv2.patch: applied to fix 'Too many
622cf5
  open files - "/etc/resolv.conf"' issue. (Bug#64830)
622cf5
622cf5
* Thu Jul 18 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-9
622cf5
- add the owned directory.
622cf5
622cf5
* Fri Jul 12 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-8
622cf5
- fix typo.
622cf5
622cf5
* Thu Jul 04 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-7
622cf5
- removed the ruby-mode-xemacs because it's merged to the xemacs sumo.
622cf5
622cf5
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
622cf5
- automated rebuild
622cf5
622cf5
* Wed Jun 19 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-5
622cf5
- fix the stripped binary.
622cf5
- use the appropriate macros.
622cf5
622cf5
* Sun May 26 2002 Tim Powers <timp@redhat.com>
622cf5
- automated rebuild
622cf5
622cf5
* Thu May 23 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-3
622cf5
- ruby-1.6.7-libobj.patch: applied to fix autoconf2.53 error.
622cf5
622cf5
* Mon Mar 18 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-2
622cf5
- ruby-man-1.4.6-jp.tar.bz2: removed.
622cf5
- ruby-refm-rdp-1.4.7-ja-html.tar.bz2: uses it instead of.
622cf5
- ruby-1.6.7-500-marshal-proc.patch, ruby-1.6.7-501-class-var.patch:
622cf5
  removed.
622cf5
- ruby-1.6.7-100.patch: applied a bug fix patch.
622cf5
  (ruby-dev#16274: patch for 'wm state')
622cf5
  (PR#206ja: SEGV handle EXIT)
622cf5
- ruby-1.6.7-101.patch: applied a bug fix patch.
622cf5
  (ruby-list#34313: singleton should not be Marshal.dump'ed)
622cf5
  (ruby-dev#16411: block local var)
622cf5
- ruby-1.6.7-102.patch: applied a bug fix patch.
622cf5
  (handling multibyte chars is partially broken)
622cf5
- ruby-1.6.7-103.patch: applied a bug fix patch.
622cf5
  (ruby-dev#16462: preserve reference for GC, but link should be cut)
622cf5
622cf5
* Fri Mar  8 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-1
622cf5
- New upstream release.
622cf5
- ruby-1.6.6-100.patch, ruby-1.6.6-501-ruby-mode.patch:
622cf5
  removed. these patches no longer should be needed.
622cf5
- ruby-1.6.7-500-marshal-proc.patch: applied a fix patch.
622cf5
  (ruby-dev#16178: Marshal::dump should call Proc#call.)
622cf5
- ruby-1.6.7-501-class-var.patch: applied a fix patch.
622cf5
  (ruby-talk#35157: class vars broken in 1.6.7)
622cf5
622cf5
* Wed Feb 27 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-5
622cf5
- Disable alpha because nothing is xemacs for alpha now.
622cf5
622cf5
* Tue Feb  5 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-3
622cf5
- Fixed the duplicate files.
622cf5
622cf5
* Tue Feb  5 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-2
622cf5
- Fixed the missing %%defattr
622cf5
622cf5
* Fri Feb  1 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-1
622cf5
- New upstream release.
622cf5
- Applied bug fix patches:
622cf5
  - ruby-1.6.6-501-ruby-mode.patch: ruby-talk#30479: disables font-lock
622cf5
    coloring.
622cf5
  - ruby-1.6.6-100.patch: ruby-talk#30203: Ruby 1.6.6 bug and fix
622cf5
                          ruby-list#33047: regex bug
622cf5
                          PR#230: problem with -d in 1.6.6
622cf5
- Added ruby-mode and ruby-mode-xemacs packages.
622cf5
- Ruby works fine for ia64. so re-enable to build with ia64.
622cf5
  (probably it should be worked for alpha)
622cf5
622cf5
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
622cf5
- automated rebuild
622cf5
622cf5
* Thu Jul 19 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.6.4-2
622cf5
- Remove Japanese description and summaries; they belong in specspo and
622cf5
  break rpm
622cf5
- Clean up specfile
622cf5
- Mark language specific files (README.jp) as such
622cf5
- bzip2 sources
622cf5
- rename the libruby package to ruby-libs for consistency
622cf5
- Exclude ia64 (doesn't build - the code doesn't seem to be 64-bit clean
622cf5
  [has been excluded on alpha forever])
622cf5
622cf5
* Tue Jul 17 2001 Akira TAGOH <tagoh@redhat.com> 1.6.4-1
622cf5
- rebuild for Red Hat 7.2
622cf5
622cf5
* Mon Jun 04 2001 akira yamada <akira@vinelinux.org>
622cf5
- upgrade to nwe upstream version 1.6.4.
622cf5
622cf5
* Mon Apr 02 2001 akira yamada <akira@vinelinux.org>
622cf5
- applied patch:
622cf5
  - fixed method cache bug. etc. (Patch103, Patch104)
622cf5
622cf5
* Tue Mar 27 2001 akira yamada <akira@vinelinux.org>
622cf5
- applied patch:
622cf5
  - fixed marshal for bignum bug.
622cf5
  - fixed scope of constant variables bug.
622cf5
622cf5
* Tue Mar 20 2001 akira yamada <akira@vinelinux.org>
622cf5
- upgraded to new upstream version 1.6.3.
622cf5
622cf5
* Fri Feb 09 2001 akira yamada <akira@vinelinux.org>
622cf5
- fixed bad group for libruby.
622cf5
- Applied patch: upgraded to cvs version (2001-02-08):
622cf5
  fixed minor bugs.
622cf5
622cf5
* Thu Jan 18 2001 akira yamada <akira@vinelinux.org>
622cf5
- Applied patch: upgraded to cvs version (2001-01-15):
622cf5
  fixed minor bugs(e.g. ruby makes extention librares too large...).
622cf5
622cf5
* Wed Jan 10 2001 akira yamada <akira@vinelinux.org>
622cf5
- Applied patch: upgraded to cvs version (2001-01-09):
622cf5
  fixed minor bugs.
622cf5
622cf5
* Sat Dec 30 2000 akira yamada <akira@vinelinux.org>
622cf5
- Applied bug fix patch.
622cf5
622cf5
* Mon Dec 25 2000 akira yamada <akira@vinelinux.org>
622cf5
- Updated to new upstream version 1.6.2.
622cf5
622cf5
* Fri Dec 22 2000 akira yamada <akira@vinelinux.org>
622cf5
- Removed ruby_cvs.2000122019.patch, added ruby_cvs.2000122215.patch
622cf5
  (upgraded ruby to latest cvs version, 1.6.2-preview4).
622cf5
622cf5
* Wed Dec 20 2000 akira yamada <akira@vinelinux.org>
622cf5
- Removed ruby_cvs.2000121413.patch, added ruby_cvs.2000122019.patch
622cf5
  (upgraded ruby to latest cvs version).
622cf5
- new package: libruby
622cf5
622cf5
* Thu Dec 14 2000 akira yamada <akira@vinelinux.org>
622cf5
- Removed ruby_cvs.2000101901.patch, added ruby_cvs.2000121413.patch
622cf5
  (upgraded ruby to latest cvs version).
622cf5
- Removed ruby-dev.11262.patch, ruby-dev.11265.patch,
622cf5
  and ruby-dev.11268.patch (included into above patch).
622cf5
622cf5
* Sun Nov 12 2000 MACHINO, Satoshi <machino@vinelinux.org> 1.6.1-0vl9
622cf5
- build on gcc-2.95.3
622cf5
622cf5
* Thu Oct 19 2000 akira yamada <akira@vinelinux.org>
622cf5
- Added ruby-dev.11268.patch.
622cf5
622cf5
* Thu Oct 19 2000 akira yamada <akira@vinelinux.org>
622cf5
- Removed ruby_cvs.2000101117.patch and added ruby_cvs.2000101901.patch
622cf5
  (upgraded ruby to latest cvs version).
622cf5
- Added ruby-dev.11262.patch.
622cf5
- Added ruby-dev.11265.patch.
622cf5
622cf5
* Wed Oct 11 2000 akira yamada <akira@vinelinux.org>
622cf5
- Removed ruby_cvs.2000100313.patch and added ruby_cvs.2000101117.patch
622cf5
  (upgraded ruby to latest cvs version).
622cf5
622cf5
* Mon Oct 09 2000 akira yamada <akira@vinelinux.org>
622cf5
- Removed ruby_cvs.2000100313.patch and added ruby_cvs.2000100313.patch
622cf5
  (upgraded ruby to latest cvs version).
622cf5
622cf5
* Tue Oct 03 2000 akira yamada <akira@vinelinux.org>
622cf5
- Removed ruby_cvs.2000100218.patch and added ruby_cvs.2000100313.patch
622cf5
  (upgraded ruby to latest cvs version).
622cf5
622cf5
* Mon Oct 02 2000 akira yamada <akira@vinelinux.org>
622cf5
- Removed ruby_cvs.2000092718.patch and added ruby_cvs.2000100218.patch
622cf5
  (upgraded ruby to latest cvs version).
622cf5
622cf5
* Wed Sep 27 2000 akira yamada <akira@vinelinux.org>
622cf5
- Updated to upstream version 1.6.1.
622cf5
- Removed ruby_cvs.2000082901.patch and added ruby_cvs.2000092718.patch
622cf5
  (upgraded ruby to latest cvs version).
622cf5
622cf5
* Tue Aug 29 2000 akira yamada <akira@redhat.com>
622cf5
- Updated to version 1.4.6.
622cf5
- removed ruby-dev.10123.patch(included into ruby-1.4.6).
622cf5
- Added ruby_cvs.2000082901.patch(upgraded ruby to latest cvs version).
622cf5
622cf5
* Tue Jun 27 2000 akira yamada <akira@redhat.com>
622cf5
- Updated manuals to version 1.4.5.
622cf5
622cf5
* Sun Jun 25 2000 akira yamada <akira@redhat.com>
622cf5
- Added ruby-dev.10123.patch.
622cf5
622cf5
* Sat Jun 24 2000 akira yamada <akira@redhat.com>
622cf5
- Updated to version 1.4.5.
622cf5
- Removed ruby_cvs.2000062401.patch(included into ruby-1.4.5).
622cf5
622cf5
* Thu Jun 22 2000 akira yamada <akira@redhat.com>
622cf5
- Updated to version 1.4.4(06/22/2000 CVS).
622cf5
- Removed ruby-dev.10054.patch(included into ruby_cvs.patch).
622cf5
622cf5
* Thu Jun 22 2000 akira yamada <akira@redhat.com>
622cf5
- Renamed to ruby_cvs20000620.patch from ruby_cvs.patch.
622cf5
622cf5
* Tue Jun 20 2000 akira yamada <akira@redhat.com>
622cf5
- Updated to version 1.4.4(06/20/2000 CVS).
622cf5
- Removed ruby-list.23190.patch(included into ruby_cvs.patch).
622cf5
- Added ruby-dev.10054.patch.
622cf5
622cf5
* Thu Jun 15 2000 akira yamada <akira@redhat.com>
622cf5
- Updated to version 1.4.4(06/12/2000 CVS).
622cf5
- Added manuals and FAQs.
622cf5
- Split into ruby, ruby-devel, ruby-tcltk, ruby-docs, irb.
622cf5
622cf5
* Tue Jun 13 2000 Mitsuo Hamada <mhamada@redhat.com>
622cf5
- Updated to version 1.4.4
622cf5
622cf5
* Wed Dec 08 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
622cf5
- Updated to version 1.4.3
622cf5
622cf5
* Mon Sep 20 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
622cf5
- Updated to version 1.4.2 (Sep 18)
622cf5
622cf5
* Fri Sep 17 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
622cf5
- Updated to version 1.4.2
622cf5
622cf5
* Tue Aug 17 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
622cf5
- Updated to version 1.4.0
622cf5
622cf5
* Fri Jul 23 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
622cf5
- 2nd release
622cf5
- Updated to version 1.2.6(15 Jul 1999)
622cf5
- striped %%{prefix}/bin/ruby
622cf5
622cf5
* Mon Jun 28 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
622cf5
- Updated to version 1.2.6(21 Jun 1999)
622cf5
622cf5
* Wed Apr 14 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
622cf5
- Updated to version 1.2.5
622cf5
622cf5
* Fri Apr 09 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
622cf5
- Updated to version 1.2.4
622cf5
622cf5
* Fri Dec 25 1998 Toru Hoshina <hoshina@best.com>
622cf5
- Version up to 1.2 stable.
622cf5
622cf5
* Fri Nov 27 1998 Toru Hoshina <hoshina@best.com>
622cf5
- Version up to 1.1c9.
622cf5
622cf5
* Thu Nov 19 1998 Toru Hoshina <hoshina@best.com>
622cf5
- Version up to 1.1c8, however it appear short life :-P
622cf5
622cf5
* Fri Nov 13 1998 Toru Hoshina <hoshina@best.com>
622cf5
- Version up.
622cf5
622cf5
* Tue Sep 22 1998 Toru Hoshina <hoshina@best.com>
622cf5
- To make a libruby.so.
622cf5
622cf5
* Mon Sep 21 1998 Toru Hoshina <hoshina@best.com>
622cf5
- Modified SPEC in order to install libruby.a so that it should be used by
622cf5
  another ruby entention.
622cf5
- 2nd release.
622cf5
622cf5
* Mon Mar 9 1998 Shoichi OZAWA <shoch@jsdi.or.jp>
622cf5
- Added a powerPC arch part. Thanks, MURATA Nobuhiro <nob@makioka.y-min.or.jp>