Blame SPECS/ruby.spec

79386f
%{!?scl:%global pkg_name %{name}}
79386f
%{?scl:%scl_package ruby}
79386f
%global scl_gdbm 0
79386f
%global scl_libyaml 0
79386f
79386f
%global major_version 2
79386f
%global minor_version 0
79386f
%global teeny_version 0
79386f
%global patch_level 353
79386f
79386f
%global major_minor_version %{major_version}.%{minor_version}
79386f
79386f
%global ruby_version %{major_minor_version}.%{teeny_version}
79386f
%global ruby_version_patch_level %{major_minor_version}.%{teeny_version}.%{patch_level}
79386f
%global ruby_release %{ruby_version}
79386f
79386f
# Specify the named version. It has precedense to revision.
79386f
#%%global milestone preview2
79386f
79386f
# Keep the revision enabled for pre-releases from SVN.
79386f
#%%global revision 39387
79386f
79386f
%global ruby_archive %{pkg_name}-%{ruby_version}
79386f
79386f
# If revision and milestone are removed/commented out, the official release build is expected.
79386f
%if 0%{?milestone:1}%{?revision:1} != 0
79386f
%global development_release %{?milestone}%{?!milestone:%{?revision:r%{revision}}}
79386f
%global ruby_archive %{ruby_archive}-%{?milestone}%{?!milestone:%{?revision:r%{revision}}}
79386f
%else
79386f
%global ruby_archive %{ruby_archive}-p%{patch_level}
79386f
%endif
79386f
79386f
%global release 23
79386f
79386f
%{!?release_string:%global release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}}
79386f
79386f
%global rubygems_version 2.0.14
79386f
79386f
# The RubyGems library has to stay out of Ruby directory three, since the
79386f
# RubyGems should be share by all Ruby implementations.
79386f
%global rubygems_dir %{_datadir}/rubygems
79386f
79386f
%global rake_version 0.9.6
79386f
# TODO: The IRB has strange versioning. Keep the Ruby's versioning ATM.
79386f
# http://redmine.ruby-lang.org/issues/5313
79386f
%global irb_version %{ruby_version_patch_level}
79386f
%global rdoc_version 4.0.0
79386f
%global bigdecimal_version 1.2.0
79386f
%global io_console_version 0.4.2
79386f
%global json_version 1.7.7
79386f
%global minitest_version 4.3.2
79386f
%global psych_version 2.0.0
79386f
79386f
# Might not be needed in the future, if we are lucky enough.
79386f
# https://bugzilla.redhat.com/show_bug.cgi?id=888262
79386f
%global tapset_root %{_datadir}/systemtap
79386f
%global tapset_dir %{tapset_root}/tapset
79386f
%global tapset_libdir %(echo %{_libdir} | sed 's/64//')*
79386f
79386f
%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/')
79386f
79386f
%if 0%{?fedora} >= 19
79386f
%global with_rubypick 1
79386f
%endif
79386f
79386f
Summary: An interpreter of object-oriented scripting language
79386f
Name: %{?scl_prefix}ruby
79386f
Version: %{ruby_version_patch_level}
79386f
Release: %{release_string}
79386f
Group: Development/Languages
79386f
# Public Domain for example for: include/ruby/st.h, strftime.c, ...
79386f
License: (Ruby or BSD) and Public Domain
79386f
URL: http://ruby-lang.org/
79386f
Source0: ftp://ftp.ruby-lang.org/pub/%{pkg_name}/%{major_minor_version}/%{ruby_archive}.tar.bz2
79386f
Source1: operating_system.rb
79386f
# TODO: Try to push SystemTap support upstream.
79386f
Source2: libruby.stp
79386f
Source3: ruby-exercise.stp
79386f
Source4: macros.ruby
79386f
Source5: macros.rubygems
79386f
Source6: abrt_prelude.rb
79386f
# This wrapper fixes https://bugzilla.redhat.com/show_bug.cgi?id=977941
79386f
# Hopefully, it will get removed soon:
79386f
# https://fedorahosted.org/fpc/ticket/312
79386f
# https://bugzilla.redhat.com/show_bug.cgi?id=977941
79386f
Source7: config.h
79386f
# To test Ruby software collection
79386f
Source8: test_dependent_scls.rb
79386f
79386f
79386f
# Include the constants defined in macros files.
79386f
# http://rpm.org/ticket/866
79386f
%{lua:
79386f
79386f
function source_macros(file)
79386f
  local macro = nil
79386f
79386f
  for line in io.lines(file) do
79386f
    if not macro and line:match("^%%") then
79386f
      macro = line:match("^%%(.*)$")
79386f
      line = nil
79386f
    end
79386f
79386f
    if macro then
79386f
      if line and macro:match("^.-%s*\\%s*$") then
79386f
        macro = macro .. '\n' .. line
79386f
      end
79386f
79386f
      if not macro:match("^.-%s*\\%s*$") then
79386f
        rpm.define(macro)
79386f
        macro = nil
79386f
      end
79386f
    end
79386f
  end
79386f
end
79386f
79386f
source_macros(rpm.expand("%{SOURCE4}"))
79386f
source_macros(rpm.expand("%{SOURCE5}"))
79386f
79386f
}
79386f
79386f
# http://bugs.ruby-lang.org/issues/7807
79386f
Patch0: ruby-2.0.0-Prevent-duplicated-paths-when-empty-version-string-i.patch
79386f
# Force multiarch directories for i.86 to be always named i386. This solves
79386f
# some differencies in build between Fedora and RHEL.
79386f
Patch3: ruby-1.9.3-always-use-i386.patch
79386f
# Fixes random WEBRick test failures.
79386f
# https://bugs.ruby-lang.org/issues/6573.
79386f
Patch5: ruby-1.9.3.p195-fix-webrick-tests.patch
79386f
# Allows to install RubyGems into custom directory, outside of Ruby's tree.
79386f
# http://redmine.ruby-lang.org/issues/5617
79386f
Patch8: ruby-1.9.3-custom-rubygems-location.patch
79386f
# Add support for installing binary extensions according to FHS.
79386f
# https://github.com/rubygems/rubygems/issues/210
79386f
# Note that 8th patch might be resolved by
79386f
# https://bugs.ruby-lang.org/issues/7897
79386f
Patch9: rubygems-2.0.0-binary-extensions.patch
79386f
# Make mkmf verbose by default
79386f
Patch12: ruby-1.9.3-mkmf-verbose.patch
79386f
# This slightly changes behavior of "gem install --install-dir" behavior.
79386f
# Without this patch, Specifications.dirs is modified and gems installed on
79386f
# the system cannot be required anymore. This causes later issues when RDoc
79386f
# documentation should be generated, since json gem is sudenly not accessible.
79386f
# https://github.com/rubygems/rubygems/pull/452
79386f
Patch13: rubygems-2.0.0-Do-not-modify-global-Specification.dirs-during-insta.patch
79386f
# Adds aarch64 support.
79386f
# http://bugs.ruby-lang.org/issues/8331
79386f
# https://bugzilla.redhat.com/show_bug.cgi?id=926463
79386f
# Please note that this is the BZ patch, it might be good idea to update it
79386f
# with its upstream version when available.
79386f
Patch16: ruby-2.0.0-p195-aarch64.patch
79386f
# Adds support for '--with-prelude' configuration option. This allows to built
79386f
# in support for ABRT.
79386f
# http://bugs.ruby-lang.org/issues/8566
79386f
Patch17: ruby-2.1.0-Allow-to-specify-additional-preludes-by-configuratio.patch
79386f
# Fixes issues with DESTDIR.
79386f
# https://bugs.ruby-lang.org/issues/8115
79386f
Patch18: ruby-2.0.0-p247-Revert-mkmf.rb-prefix-install_dirs-only-with-DESTDIR.patch
79386f
# Fixes multilib conlicts of .gemspec files.
79386f
# https://bugs.ruby-lang.org/issues/8623
79386f
Patch19: ruby-2.0.0-p247-Make-stable-Gem-Specification.files-in-default-.gems.patch
79386f
# Raise an Error on a unterminated heredoc
79386f
# https://github.com/rdoc/rdoc/commit/f4f5b94285aa9b20cacf78bda61450e17be63a22
79386f
Patch22: rubygem-rdoc-4.0.1-unterminated-heredoc.patch
79386f
# Backport regenerated certificates for IMAP tests.
79386f
# http://bugs.ruby-lang.org/issues/9341
79386f
Patch23: ruby-2.1.1-fix-test-failures-due-to-expired-certs.patch
79386f
# Fix tk extconf not to include -rpath
79386f
# - p24 is upstream revision
79386f
# - p25 is my fix for the revision (otherwise tcl/tk won't build)
79386f
# https://bugs.ruby-lang.org/issues/9386
79386f
Patch24: ruby-trunk-tk-rpath-fix.patch
79386f
Patch25: ruby-trunk-tk-extconf-fix.patch
79386f
# Fix test_execute_default_gem(TestGemCommandsContentsCommand) test error.
79386f
# https://github.com/rubygems/rubygems/commit/6b8681421b516be1244e17618507811923b1bb3b
79386f
Patch26: rubygems-2.1.0-Use-File.join-instead-of-manual-path-creation.patch
79386f
# Fix test_class_build_unconventional(TestGemExtExtConfBuilder) test error.
79386f
# https://github.com/rubygems/rubygems/commit/40ce9bfd4917f8d8aa023c92073ec5e9da898f71
79386f
Patch27: rubygems-2.1.0-Fix-test-failure-when-ruby-is-not-yet-installed.patch
79386f
79386f
# make sure we always use scl gdbm
79386f
%if 0%{?scl_gdbm}
79386f
Requires: %{?scl_prefix}gdbm
79386f
%endif
79386f
Requires: %{?scl_prefix}%{pkg_name}-libs%{?_isa} = %{version}-%{release}
79386f
Requires: %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
79386f
79386f
# Make the bigdecimal gem a runtime dependency of Ruby to avoid problems
79386f
# with user-installed gems, that don't require it in gemspec/Gemfile
79386f
# See https://bugzilla.redhat.com/show_bug.cgi?id=829209
79386f
# and http://bugs.ruby-lang.org/issues/6123
79386f
Requires: %{?scl_prefix}rubygem(bigdecimal) >= %{bigdecimal_version}
79386f
%{?scl:BuildRequires: %{scl}-runtime}
79386f
BuildRequires: autoconf
79386f
%if 0%{?scl_gdbm}
79386f
BuildRequires: %{?scl_prefix}gdbm-devel
79386f
%else
79386f
BuildRequires: gdbm-devel
79386f
%endif
79386f
BuildRequires: ncurses-devel
79386f
BuildRequires: db4-devel
79386f
BuildRequires: libffi-devel
79386f
BuildRequires: openssl-devel
79386f
%if 0%{?scl_libyaml}
79386f
BuildRequires: %{?scl_prefix}libyaml-devel
79386f
%else
79386f
BuildRequires: libyaml-devel
79386f
%endif
79386f
BuildRequires: readline-devel
79386f
BuildRequires: tk-devel
79386f
# Needed to pass test_set_program_name(TestRubyOptions)
79386f
BuildRequires: procps
79386f
BuildRequires: /usr/bin/dtrace
79386f
79386f
# This package provides %%{_bindir}/ruby-mri therefore it is marked by this
79386f
# virtual provide. It can be installed as dependency of rubypick.
79386f
Provides: ruby(runtime_executable) = %{ruby_release}
79386f
79386f
%global __provides_exclude_from ^(%{ruby_libarchdir}|%{gem_archdir})/.*\\.so$
79386f
79386f
%description
79386f
Ruby is the interpreted scripting language for quick and easy
79386f
object-oriented programming.  It has many features to process text
79386f
files and to do system management tasks (as in Perl).  It is simple,
79386f
straight-forward, and extensible.
79386f
79386f
79386f
%package devel
79386f
Summary:    A Ruby development environment
79386f
Group:      Development/Languages
79386f
# Requires:   %{pkg_name}-libs = %{version}-%{release}
79386f
Requires:   %{?scl_prefix}%{pkg_name}%{?_isa} = %{version}-%{release}
79386f
79386f
%description devel
79386f
Header files and libraries for building an extension library for the
79386f
Ruby or an application embedding Ruby.
79386f
79386f
%package libs
79386f
Summary:    Libraries necessary to run Ruby
79386f
Group:      Development/Libraries
79386f
License:    Ruby or BSD
79386f
# This could be removed once rhbz#1054711 is resolved.
79386f
%{?scl:Requires: %{scl}-runtime}
79386f
Provides:   %{?scl_prefix}ruby(release) = %{ruby_release}
79386f
79386f
%description libs
79386f
This package includes the libruby, necessary to run Ruby.
79386f
79386f
# TODO: Rename or not rename to ruby-rubygems?
79386f
%package -n %{?scl_prefix}rubygems
79386f
Summary:    The Ruby standard for packaging ruby libraries
79386f
Version:    %{rubygems_version}
79386f
Group:      Development/Libraries
79386f
License:    Ruby or MIT
79386f
Requires:   %{?scl_prefix}ruby(release)
79386f
Requires:   %{?scl_prefix}rubygem(rdoc) >= %{rdoc_version}
79386f
Requires:   %{?scl_prefix}rubygem(io-console) >= %{io_console_version}
79386f
Requires:   %{?scl_prefix}rubygem(psych) >= %{psych_version}
79386f
Provides:   %{?scl_prefix}gem = %{version}-%{release}
79386f
Provides:   %{?scl_prefix}ruby(rubygems) = %{version}-%{release}
79386f
79386f
%description -n %{?scl_prefix}rubygems
79386f
RubyGems is the Ruby standard for publishing and managing third party
79386f
libraries.
79386f
79386f
79386f
%package -n %{?scl_prefix}rubygems-devel
79386f
Summary:    Macros and development tools for packaging RubyGems
79386f
Version:    %{rubygems_version}
79386f
Group:      Development/Libraries
79386f
License:    Ruby or MIT
79386f
Requires:   %{?scl_prefix}ruby(rubygems) = %{version}-%{release}
79386f
BuildArch:  noarch
79386f
79386f
%description -n %{?scl_prefix}rubygems-devel
79386f
Macros and development tools for packaging RubyGems.
79386f
79386f
79386f
%package -n %{?scl_prefix}rubygem-rake
79386f
Summary:    Ruby based make-like utility
79386f
Version:    %{rake_version}
79386f
Group:      Development/Libraries
79386f
License:    Ruby or MIT
79386f
Requires:   %{?scl_prefix}ruby(release)
79386f
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
79386f
Provides:   %{?scl_prefix}rake = %{version}-%{release}
79386f
Provides:   %{?scl_prefix}rubygem(rake) = %{version}-%{release}
79386f
BuildArch:  noarch
79386f
79386f
%description -n %{?scl_prefix}rubygem-rake
79386f
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are
79386f
specified in standard Ruby syntax.
79386f
79386f
79386f
%package irb
79386f
Summary:    The Interactive Ruby
79386f
Version:    %{irb_version}
79386f
Group:      Development/Libraries
79386f
Requires:   %{?scl_prefix}%{pkg_name}-libs = %{ruby_version_patch_level}
79386f
Provides:   %{?scl_prefix}irb = %{version}-%{release}
79386f
Provides:   %{?scl_prefix}ruby(irb) = %{version}-%{release}
79386f
BuildArch:  noarch
79386f
79386f
%description irb
79386f
The irb is acronym for Interactive Ruby.  It evaluates ruby expression
79386f
from the terminal.
79386f
79386f
79386f
%package -n %{?scl_prefix}rubygem-rdoc
79386f
Summary:    A tool to generate HTML and command-line documentation for Ruby projects
79386f
Version:    %{rdoc_version}
79386f
Group:      Development/Libraries
79386f
License:    GPLv2 and Ruby and MIT
79386f
Requires:   %{?scl_prefix}ruby(release)
79386f
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
79386f
Requires:   %{?scl_prefix}ruby(irb) = %{irb_version}
79386f
Requires:   %{?scl_prefix}rubygem(json) >= %{json_version}
79386f
Provides:   %{?scl_prefix}rdoc = %{version}-%{release}
79386f
Provides:   %{?scl_prefix}ri = %{version}-%{release}
79386f
Provides:   %{?scl_prefix}rubygem(rdoc) = %{version}-%{release}
79386f
BuildArch:  noarch
79386f
79386f
%description -n %{?scl_prefix}rubygem-rdoc
79386f
RDoc produces HTML and command-line documentation for Ruby projects.  RDoc
79386f
includes the 'rdoc' and 'ri' tools for generating and displaying online
79386f
documentation.
79386f
79386f
79386f
%package doc
79386f
Summary:    Documentation for %{pkg_name}
79386f
Group:      Documentation
79386f
Requires:   %{_bindir}/ri
79386f
BuildArch:  noarch
79386f
79386f
%description doc
79386f
This package contains documentation for %{pkg_name}.
79386f
79386f
79386f
%package -n %{?scl_prefix}rubygem-bigdecimal
79386f
Summary:    BigDecimal provides arbitrary-precision floating point decimal arithmetic
79386f
Version:    %{bigdecimal_version}
79386f
Group:      Development/Libraries
79386f
License:    GPL+ or Artistic
79386f
Requires:   %{?scl_prefix}ruby(release)
79386f
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
79386f
Provides:   %{?scl_prefix}rubygem(bigdecimal) = %{version}-%{release}
79386f
79386f
%description -n %{?scl_prefix}rubygem-bigdecimal
79386f
Ruby provides built-in support for arbitrary precision integer arithmetic.
79386f
For example:
79386f
79386f
42**13 -> 1265437718438866624512
79386f
79386f
BigDecimal provides similar support for very large or very accurate floating
79386f
point numbers. Decimal arithmetic is also useful for general calculation,
79386f
because it provides the correct answers people expect–whereas normal binary
79386f
floating point arithmetic often introduces subtle errors because of the
79386f
conversion between base 10 and base 2.
79386f
79386f
79386f
%package -n %{?scl_prefix}rubygem-io-console
79386f
Summary:    IO/Console is a simple console utilizing library
79386f
Version:    %{io_console_version}
79386f
Group:      Development/Libraries
79386f
Requires:   %{?scl_prefix}ruby(release)
79386f
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
79386f
Provides:   %{?scl_prefix}rubygem(io-console) = %{version}-%{release}
79386f
79386f
%description -n %{?scl_prefix}rubygem-io-console
79386f
IO/Console provides very simple and portable access to console. It doesn't
79386f
provide higher layer features, such like curses and readline.
79386f
79386f
79386f
%package -n %{?scl_prefix}rubygem-json
79386f
Summary:    This is a JSON implementation as a Ruby extension in C
79386f
Version:    %{json_version}
79386f
Group:      Development/Libraries
79386f
License:    Ruby or GPLv2
79386f
Requires:   %{?scl_prefix}ruby(release)
79386f
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
79386f
Provides:   %{?scl_prefix}rubygem(json) = %{version}-%{release}
79386f
79386f
%description -n %{?scl_prefix}rubygem-json
79386f
This is a implementation of the JSON specification according to RFC 4627.
79386f
You can think of it as a low fat alternative to XML, if you want to store
79386f
data to disk or transmit it over a network rather than use a verbose
79386f
markup language.
79386f
79386f
79386f
%package -n %{?scl_prefix}rubygem-minitest
79386f
Summary:    Minitest provides a complete suite of testing facilities
79386f
Version:    %{minitest_version}
79386f
Group:      Development/Libraries
79386f
License:    MIT
79386f
Requires:   %{?scl_prefix}ruby(release)
79386f
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
79386f
Provides:   %{?scl_prefix}rubygem(minitest) = %{version}-%{release}
79386f
BuildArch:  noarch
79386f
79386f
%description -n %{?scl_prefix}rubygem-minitest
79386f
minitest/unit is a small and incredibly fast unit testing framework.
79386f
79386f
minitest/spec is a functionally complete spec engine.
79386f
79386f
minitest/benchmark is an awesome way to assert the performance of your
79386f
algorithms in a repeatable manner.
79386f
79386f
minitest/mock by Steven Baker, is a beautifully tiny mock object
79386f
framework.
79386f
79386f
minitest/pride shows pride in testing and adds coloring to your test
79386f
output.
79386f
79386f
79386f
%package -n %{?scl_prefix}rubygem-psych
79386f
Summary:    A libyaml wrapper for Ruby
79386f
Version:    %{psych_version}
79386f
Group:      Development/Libraries
79386f
License:    MIT
79386f
Requires:   %{?scl_prefix}ruby(release)
79386f
Requires:   %{?scl_prefix}ruby(rubygems) >= %{rubygems_version}
79386f
# Explicitly depend on libyaml, to workaround issues with scl prefixed libyam.
79386f
# Resolves: rhbz#1071347
79386f
Requires:   libyaml
79386f
Provides:   %{?scl_prefix}rubygem(psych) = %{version}-%{release}
79386f
79386f
%description -n %{?scl_prefix}rubygem-psych
79386f
Psych is a YAML parser and emitter. Psych leverages
79386f
libyaml[http://pyyaml.org/wiki/LibYAML] for its YAML parsing and emitting
79386f
capabilities. In addition to wrapping libyaml, Psych also knows how to
79386f
serialize and de-serialize most Ruby objects to and from the YAML format.
79386f
79386f
# TODO:
79386f
# %%pacakge -n rubygem-test-unit
79386f
79386f
79386f
%package tcltk
79386f
Summary:    Tcl/Tk interface for scripting language Ruby
79386f
Group:      Development/Languages
79386f
Requires:   %{?scl_prefix}%{pkg_name}-libs%{?_isa} = %{ruby_version_patch_level}
79386f
Provides:   %{?scl_prefix}ruby(tcltk) = %{ruby_version_patch_level}-%{release}
79386f
79386f
%description tcltk
79386f
Tcl/Tk interface for the object-oriented scripting language Ruby.
79386f
79386f
%prep
79386f
%setup -q -n %{ruby_archive}
79386f
79386f
%patch0 -p1
79386f
%patch3 -p1
79386f
%patch5 -p1
79386f
%patch8 -p1
79386f
%patch9 -p1
79386f
%patch12 -p1
79386f
%patch13 -p1
79386f
%patch16 -p1
79386f
%patch17 -p1
79386f
%patch18 -p1
79386f
%patch19 -p1
79386f
%patch22 -p1
79386f
%patch23 -p1
79386f
%patch24 -p1
79386f
%patch25 -p1
79386f
%patch26 -p1
79386f
%patch27 -p1
79386f
79386f
# Provide an example of usage of the tapset:
79386f
cp -a %{SOURCE3} .
79386f
79386f
# Make abrt_prelude.rb available for compilation process. The prelude must be
79386f
# available together with Ruby's source due to
79386f
# https://github.com/ruby/ruby/blob/trunk/tool/compile_prelude.rb#L26
79386f
cp -a %{SOURCE6} .
79386f
79386f
%build
79386f
autoconf
79386f
79386f
%if 0%{?scl_gdbm}
79386f
  sed -i -e 's|dir_config("gdbm")|dir_config("gdbm", "%{_includedir}", "%{_libdir}")|' ./ext/gdbm/extconf.rb
79386f
%endif
79386f
79386f
%if 0%{?scl_libyaml}
79386f
  sed -i -e "s|'yaml.h'|'yaml.h', '%{_includedir}'|" \
79386f
         -e "s|'yaml', 'yaml_get_version'|'yaml', 'yaml_get_version', '%{_libdir}'|" ./ext/psych/extconf.rb
79386f
%endif
79386f
79386f
%configure \
79386f
        --with-rubylibprefix='%{ruby_libdir}' \
79386f
        --with-rubyarchprefix='%{ruby_libarchdir}' \
79386f
        --with-sitedir='%{ruby_sitelibdir}' \
79386f
        --with-sitearchdir='%{ruby_sitearchdir}' \
79386f
        --with-vendordir='%{ruby_vendorlibdir}' \
79386f
        --with-vendorarchdir='%{ruby_vendorarchdir}' \
79386f
        --with-rubyhdrdir='%{_includedir}' \
79386f
        --with-rubyarchhdrdir='%{_includedir}' \
79386f
        --with-sitearchhdrdir='$(sitehdrdir)/$(arch)' \
79386f
        --with-vendorarchhdrdir='$(vendorhdrdir)/$(arch)' \
79386f
        --with-rubygemsdir='%{rubygems_dir}' \
79386f
        --with-ruby-pc='%{pkg_name}.pc' \
79386f
        --disable-rpath \
79386f
        --enable-shared \
79386f
        --with-ruby-version='' \
79386f
        --enable-multiarch \
79386f
        --with-prelude=./abrt_prelude.rb \
79386f
79386f
79386f
# Q= makes the build output more verbose and allows to check Fedora
79386f
# compiler options.
79386f
make %{?_smp_mflags} COPY="cp -p" Q=
79386f
79386f
%install
79386f
rm -rf %{buildroot}
79386f
make install DESTDIR=%{buildroot}
79386f
79386f
# Rename ruby/config.h to ruby/config-<arch>.h to avoid file conflicts on
79386f
# multilib systems and install config.h wrapper
79386f
mv %{buildroot}%{_includedir}/%{pkg_name}/config.h %{buildroot}%{_includedir}/%{pkg_name}/config-%{_arch}.h
79386f
install -m644 %{SOURCE7} %{buildroot}%{_includedir}/%{pkg_name}/config.h
79386f
79386f
# Rename the ruby executable. It is replaced by RubyPick.
79386f
%{?with_rubypick:mv %{buildroot}%{_bindir}/%{pkg_name}{,-mri}}
79386f
79386f
# Version is empty if --with-ruby-version is specified.
79386f
# http://bugs.ruby-lang.org/issues/7807
79386f
sed -i 's/Version: \${ruby_version}/Version: %{ruby_version}/' %{buildroot}%{_libdir}/pkgconfig/%{pkg_name}.pc
79386f
79386f
# Move macros file into proper place and replace the %%{name} macro, since it
79386f
# would be wrongly evaluated during build of other packages.
79386f
mkdir -p %{buildroot}%{_root_sysconfdir}/rpm
79386f
install -m 644 %{SOURCE4} %{buildroot}%{_root_sysconfdir}/rpm/macros.ruby%{?scl:.%{scl}}
79386f
sed -i "s/%%{name}/%{name}/" %{buildroot}%{_root_sysconfdir}/rpm/macros.ruby%{?scl:.%{scl}}
79386f
install -m 644 %{SOURCE5} %{buildroot}%{_root_sysconfdir}/rpm/macros.rubygems%{?scl:.%{scl}}
79386f
sed -i "s/%%{name}/%{name}/" %{buildroot}%{_root_sysconfdir}/rpm/macros.rubygems%{?scl:.%{scl}}
79386f
79386f
# Install custom operating_system.rb.
79386f
mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults
79386f
cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults
79386f
79386f
# Move gems root into common direcotry, out of Ruby directory structure.
79386f
mv %{buildroot}%{ruby_libdir}/gems %{buildroot}%{gem_dir}
79386f
79386f
# Create folders for gem binary extensions.
79386f
# TODO: These folders should go into rubygem-filesystem but how to achieve it,
79386f
# since noarch package cannot provide arch dependent subpackages?
79386f
# http://rpm.org/ticket/78
79386f
mkdir -p %{buildroot}%{_exec_prefix}/lib{,64}/gems/%{pkg_name}
79386f
79386f
# Move bundled rubygems to %%gem_dir and %%gem_extdir_mri
79386f
# make symlinks in ruby_stdlib for unbundled Gems, so that everything works as expected
79386f
# bigdecimal and io-console are not enough for scl
79386f
mkdir -p %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/lib
79386f
mv %{buildroot}%{ruby_libdir}/rake* %{buildroot}%{gem_dir}/gems/rake-%{rake_version}/lib
79386f
mv %{buildroot}%{gem_dir}/specifications/default/rake-%{rake_version}.gemspec %{buildroot}%{gem_dir}/specifications
79386f
ln -s %{gem_dir}/gems/rake-%{rake_version}/lib/rake.rb %{buildroot}%{ruby_libdir}/rake.rb
79386f
ln -s %{gem_dir}/gems/rake-%{rake_version}/lib/rake %{buildroot}%{ruby_libdir}/rake
79386f
79386f
mkdir -p %{buildroot}%{gem_dir}/gems/rdoc-%{rdoc_version}/lib
79386f
mv %{buildroot}%{ruby_libdir}/rdoc* %{buildroot}%{gem_dir}/gems/rdoc-%{rdoc_version}/lib
79386f
mv %{buildroot}%{gem_dir}/specifications/default/rdoc-%{rdoc_version}.gemspec %{buildroot}%{gem_dir}/specifications
79386f
ln -s %{gem_dir}/gems/rdoc-%{rdoc_version}/lib/rdoc.rb %{buildroot}%{ruby_libdir}/rdoc.rb
79386f
ln -s %{gem_dir}/gems/rdoc-%{rdoc_version}/lib/rdoc %{buildroot}%{ruby_libdir}/rdoc
79386f
79386f
mkdir -p %{buildroot}%{gem_dir}/gems/bigdecimal-%{bigdecimal_version}/lib
79386f
mkdir -p %{buildroot}%{_libdir}/gems/%{pkg_name}/bigdecimal-%{bigdecimal_version}/lib
79386f
mv %{buildroot}%{ruby_libdir}/bigdecimal %{buildroot}%{gem_dir}/gems/bigdecimal-%{bigdecimal_version}/lib
79386f
mv %{buildroot}%{ruby_libarchdir}/bigdecimal.so %{buildroot}%{_libdir}/gems/%{pkg_name}/bigdecimal-%{bigdecimal_version}/lib
79386f
mv %{buildroot}%{gem_dir}/specifications/default/bigdecimal-%{bigdecimal_version}.gemspec %{buildroot}%{gem_dir}/specifications
79386f
ln -s %{gem_dir}/gems/bigdecimal-%{bigdecimal_version}/lib/bigdecimal %{buildroot}%{ruby_libdir}/bigdecimal
79386f
ln -s %{_libdir}/gems/%{pkg_name}/bigdecimal-%{bigdecimal_version}/lib/bigdecimal.so %{buildroot}%{ruby_libarchdir}/bigdecimal.so
79386f
79386f
mkdir -p %{buildroot}%{gem_dir}/gems/io-console-%{io_console_version}/lib
79386f
mkdir -p %{buildroot}%{_libdir}/gems/%{pkg_name}/io-console-%{io_console_version}/lib/io
79386f
mv %{buildroot}%{ruby_libdir}/io %{buildroot}%{gem_dir}/gems/io-console-%{io_console_version}/lib
79386f
mv %{buildroot}%{ruby_libarchdir}/io/console.so %{buildroot}%{_libdir}/gems/%{pkg_name}/io-console-%{io_console_version}/lib/io
79386f
mv %{buildroot}%{gem_dir}/specifications/default/io-console-%{io_console_version}.gemspec %{buildroot}%{gem_dir}/specifications
79386f
ln -s %{gem_dir}/gems/io-console-%{io_console_version}/lib/io %{buildroot}%{ruby_libdir}/io
79386f
ln -s %{_libdir}/gems/%{pkg_name}/io-console-%{io_console_version}/lib/io/console.so %{buildroot}%{ruby_libarchdir}/io/console.so
79386f
79386f
mkdir -p %{buildroot}%{gem_dir}/gems/json-%{json_version}/lib
79386f
mkdir -p %{buildroot}%{_libdir}/gems/%{pkg_name}/json-%{json_version}/lib
79386f
mv %{buildroot}%{ruby_libdir}/json* %{buildroot}%{gem_dir}/gems/json-%{json_version}/lib
79386f
mv %{buildroot}%{ruby_libarchdir}/json/ %{buildroot}%{_libdir}/gems/%{pkg_name}/json-%{json_version}/lib/
79386f
mv %{buildroot}%{gem_dir}/specifications/default/json-%{json_version}.gemspec %{buildroot}%{gem_dir}/specifications
79386f
ln -s %{gem_dir}/gems/json-%{json_version}/lib/json.rb %{buildroot}%{ruby_libdir}/json.rb
79386f
ln -s %{gem_dir}/gems/json-%{json_version}/lib/json %{buildroot}%{ruby_libdir}/json
79386f
ln -s %{_libdir}/gems/%{pkg_name}/json-%{json_version}/lib/json/ %{buildroot}%{ruby_libarchdir}/json
79386f
79386f
mkdir -p %{buildroot}%{gem_dir}/gems/minitest-%{minitest_version}/lib
79386f
mv %{buildroot}%{ruby_libdir}/minitest %{buildroot}%{gem_dir}/gems/minitest-%{minitest_version}/lib
79386f
mv %{buildroot}%{gem_dir}/specifications/default/minitest-%{minitest_version}.gemspec %{buildroot}%{gem_dir}/specifications
79386f
ln -s %{gem_dir}/gems/minitest-%{minitest_version}/lib/minitest %{buildroot}%{ruby_libdir}/minitest
79386f
79386f
mkdir -p %{buildroot}%{gem_dir}/gems/psych-%{psych_version}/lib
79386f
mkdir -p %{buildroot}%{_libdir}/gems/%{pkg_name}/psych-%{psych_version}/lib
79386f
mv %{buildroot}%{ruby_libdir}/psych* %{buildroot}%{gem_dir}/gems/psych-%{psych_version}/lib
79386f
mv %{buildroot}%{ruby_libarchdir}/psych.so %{buildroot}%{_libdir}/gems/%{pkg_name}/psych-%{psych_version}/lib/
79386f
mv %{buildroot}%{gem_dir}/specifications/default/psych-%{psych_version}.gemspec %{buildroot}%{gem_dir}/specifications
79386f
ln -s %{gem_dir}/gems/psych-%{psych_version}/lib/psych.rb %{buildroot}%{ruby_libdir}/psych.rb
79386f
ln -s %{gem_dir}/gems/psych-%{psych_version}/lib/psych %{buildroot}%{ruby_libdir}/psych
79386f
ln -s %{_libdir}/gems/%{pkg_name}/psych-%{psych_version}/lib/psych.so %{buildroot}%{ruby_libarchdir}/psych.so
79386f
79386f
# Adjust the gemspec files so that the gems will load properly
79386f
sed -i '/^end$/ i\
79386f
  s.require_paths = ["lib"]' %{buildroot}%{gem_dir}/specifications/rake-%{rake_version}.gemspec
79386f
79386f
sed -i '/^end$/ i\
79386f
  s.require_paths = ["lib"]' %{buildroot}%{gem_dir}/specifications/rdoc-%{rdoc_version}.gemspec
79386f
79386f
sed -i '/^end$/ i\
79386f
  s.require_paths = ["lib"]\
79386f
  s.extensions = ["bigdecimal.so"]' %{buildroot}%{gem_dir}/specifications/bigdecimal-%{bigdecimal_version}.gemspec
79386f
79386f
sed -i '/^end$/ i\
79386f
  s.require_paths = ["lib"]\
79386f
  s.extensions = ["io/console.so"]' %{buildroot}%{gem_dir}/specifications/io-console-%{io_console_version}.gemspec
79386f
79386f
sed -i '/^end$/ i\
79386f
  s.require_paths = ["lib"]\
79386f
  s.extensions = ["json/ext/parser.so", "json/ext/generator.so"]' %{buildroot}%{gem_dir}/specifications/json-%{json_version}.gemspec
79386f
79386f
sed -i '/^end$/ i\
79386f
  s.require_paths = ["lib"]' %{buildroot}%{gem_dir}/specifications/minitest-%{minitest_version}.gemspec
79386f
79386f
# Install a tapset and fix up the path to the library.
79386f
mkdir -p %{buildroot}%{tapset_dir}
79386f
sed -e "s|@LIBRARY_PATH@|%{tapset_libdir}/libruby.so.%{ruby_version}|" \
79386f
  %{SOURCE2} > %{buildroot}%{tapset_dir}/libruby.so.%{ruby_version}.stp
79386f
# Escape '*/' in comment.
79386f
sed -i -r "s|( \*.*\*)\/(.*)|\1\\\/\2|" %{buildroot}%{tapset_dir}/libruby.so.%{ruby_version}.stp
79386f
79386f
%check
79386f
DISABLE_TESTS=""
79386f
79386f
%ifarch armv7l armv7hl armv7hnl
79386f
# test_call_double(DL::TestDL) fails on ARM HardFP
79386f
# http://bugs.ruby-lang.org/issues/6592
79386f
DISABLE_TESTS="-x test_dl2.rb $DISABLE_TESTS"
79386f
%endif
79386f
79386f
# test_debug(TestRubyOptions) fails due to LoadError reported in debug mode,
79386f
# when abrt.rb cannot be required (seems to be easier way then customizing
79386f
# the test suite).
79386f
touch abrt.rb
79386f
79386f
# Fix "Could not find 'minitest'" error.
79386f
# http://bugs.ruby-lang.org/issues/9259
79386f
sed -i "/^  gem 'minitest', '~> 4.0'/ s/^/#/" lib/rubygems/test_case.rb
79386f
79386f
# The test suite must run with enabled collection as long as collection libyaml
79386f
# is used (rhbz#972777).
79386f
%if 0%{?scl_libyaml}
79386f
%{?scl:scl enable %scl - << \EOF}
79386f
%endif
79386f
# OpenSSL dropped supporting MD5 hashes, enable for test
79386f
export OPENSSL_ENABLE_MD5_VERIFY=1
79386f
make check TESTS="-v $DISABLE_TESTS"
79386f
%if 0%{?scl_libyaml}
79386f
%{?scl:EOF}
79386f
%endif
79386f
79386f
# Ruby software collection tests
79386f
%{?scl:scl enable %scl - << \EOF}
79386f
mkdir -p ./lib/rubygems/defaults
79386f
cp %{SOURCE1} ./lib/rubygems/defaults
79386f
make test-all TESTS="%{SOURCE8}"
79386f
%{?scl:EOF}
79386f
79386f
%post libs -p /sbin/ldconfig
79386f
79386f
%postun libs -p /sbin/ldconfig
79386f
79386f
%files
79386f
%doc COPYING
79386f
%lang(ja) %doc COPYING.ja
79386f
%doc GPL
79386f
%doc LEGAL
79386f
%{_bindir}/erb
79386f
%{_bindir}/%{pkg_name}%{?with_rubypick:-mri}
79386f
%{_bindir}/testrb
79386f
%{_mandir}/man1/erb*
79386f
%{_mandir}/man1/ruby*
79386f
79386f
# http://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries
79386f
%exclude %{_libdir}/libruby-static.a
79386f
79386f
%files devel
79386f
%doc COPYING*
79386f
%doc GPL
79386f
%doc LEGAL
79386f
%doc README.EXT
79386f
%lang(ja) %doc README.EXT.ja
79386f
79386f
%config(noreplace) %{_root_sysconfdir}/rpm/macros.ruby%{?scl:.%{scl}}
79386f
79386f
%{_includedir}/*
79386f
%{_libdir}/libruby.so
79386f
%{_libdir}/pkgconfig/%{pkg_name}.pc
79386f
79386f
%files libs
79386f
%doc COPYING
79386f
%lang(ja) %doc COPYING.ja
79386f
%doc GPL
79386f
%doc LEGAL
79386f
%doc README
79386f
%lang(ja) %doc README.ja
79386f
%doc NEWS
79386f
%doc doc/NEWS-*
79386f
# Exclude /usr/local directory since it is supposed to be managed by
79386f
# local system administrator.
79386f
%exclude %{ruby_sitelibdir}
79386f
%exclude %{ruby_sitearchdir}
79386f
%{ruby_vendorlibdir}
79386f
%{ruby_vendorarchdir}
79386f
79386f
# List all these files explicitly to prevent surprises
79386f
# Platform independent libraries.
79386f
79386f
%dir %{ruby_libdir}
79386f
%{ruby_libdir}/*.rb
79386f
%exclude %{ruby_libdir}/*-tk.rb
79386f
%exclude %{ruby_libdir}/irb.rb
79386f
%exclude %{ruby_libdir}/tcltk.rb
79386f
%exclude %{ruby_libdir}/tk*.rb
79386f
%exclude %{ruby_libdir}/psych.rb
79386f
79386f
%{ruby_libdir}/cgi
79386f
%{ruby_libdir}/date
79386f
%{ruby_libdir}/digest
79386f
%{ruby_libdir}/dl
79386f
%{ruby_libdir}/drb
79386f
%{ruby_libdir}/fiddle
79386f
#%%exclude %{ruby_libdir}/gems
79386f
#%%exclude %{ruby_libdir}/irb
79386f
%{ruby_libdir}/matrix
79386f
%{ruby_libdir}/net
79386f
%{ruby_libdir}/openssl
79386f
%{ruby_libdir}/optparse
79386f
%{ruby_libdir}/racc
79386f
%{ruby_libdir}/rbconfig
79386f
%{ruby_libdir}/rexml
79386f
%{ruby_libdir}/rinda
79386f
%{ruby_libdir}/ripper
79386f
%{ruby_libdir}/rss
79386f
%{ruby_libdir}/shell
79386f
%{ruby_libdir}/syslog
79386f
%{ruby_libdir}/test
79386f
#%%exclude %{ruby_libdir}/tk
79386f
#%%exclude %{ruby_libdir}/tkextlib
79386f
%{ruby_libdir}/uri
79386f
%{ruby_libdir}/webrick
79386f
%{ruby_libdir}/xmlrpc
79386f
%{ruby_libdir}/yaml
79386f
79386f
# Platform specific libraries.
79386f
%{_libdir}/libruby.so.*
79386f
%dir %{ruby_libarchdir}
79386f
%{ruby_libarchdir}/continuation.so
79386f
%{ruby_libarchdir}/coverage.so
79386f
%{ruby_libarchdir}/curses.so
79386f
%{ruby_libarchdir}/date_core.so
79386f
%{ruby_libarchdir}/dbm.so
79386f
%dir %{ruby_libarchdir}/digest
79386f
%{ruby_libarchdir}/digest.so
79386f
%{ruby_libarchdir}/digest/bubblebabble.so
79386f
%{ruby_libarchdir}/digest/md5.so
79386f
%{ruby_libarchdir}/digest/rmd160.so
79386f
%{ruby_libarchdir}/digest/sha1.so
79386f
%{ruby_libarchdir}/digest/sha2.so
79386f
%dir %{ruby_libarchdir}/dl
79386f
%{ruby_libarchdir}/dl.so
79386f
%{ruby_libarchdir}/dl/callback.so
79386f
%dir %{ruby_libarchdir}/enc
79386f
%{ruby_libarchdir}/enc/big5.so
79386f
%{ruby_libarchdir}/enc/cp949.so
79386f
%{ruby_libarchdir}/enc/emacs_mule.so
79386f
%{ruby_libarchdir}/enc/encdb.so
79386f
%{ruby_libarchdir}/enc/euc_jp.so
79386f
%{ruby_libarchdir}/enc/euc_kr.so
79386f
%{ruby_libarchdir}/enc/euc_tw.so
79386f
%{ruby_libarchdir}/enc/gb18030.so
79386f
%{ruby_libarchdir}/enc/gb2312.so
79386f
%{ruby_libarchdir}/enc/gbk.so
79386f
%{ruby_libarchdir}/enc/iso_8859_1.so
79386f
%{ruby_libarchdir}/enc/iso_8859_10.so
79386f
%{ruby_libarchdir}/enc/iso_8859_11.so
79386f
%{ruby_libarchdir}/enc/iso_8859_13.so
79386f
%{ruby_libarchdir}/enc/iso_8859_14.so
79386f
%{ruby_libarchdir}/enc/iso_8859_15.so
79386f
%{ruby_libarchdir}/enc/iso_8859_16.so
79386f
%{ruby_libarchdir}/enc/iso_8859_2.so
79386f
%{ruby_libarchdir}/enc/iso_8859_3.so
79386f
%{ruby_libarchdir}/enc/iso_8859_4.so
79386f
%{ruby_libarchdir}/enc/iso_8859_5.so
79386f
%{ruby_libarchdir}/enc/iso_8859_6.so
79386f
%{ruby_libarchdir}/enc/iso_8859_7.so
79386f
%{ruby_libarchdir}/enc/iso_8859_8.so
79386f
%{ruby_libarchdir}/enc/iso_8859_9.so
79386f
%{ruby_libarchdir}/enc/koi8_r.so
79386f
%{ruby_libarchdir}/enc/koi8_u.so
79386f
%{ruby_libarchdir}/enc/shift_jis.so
79386f
%dir %{ruby_libarchdir}/enc/trans
79386f
%{ruby_libarchdir}/enc/trans/big5.so
79386f
%{ruby_libarchdir}/enc/trans/chinese.so
79386f
%{ruby_libarchdir}/enc/trans/emoji.so
79386f
%{ruby_libarchdir}/enc/trans/emoji_iso2022_kddi.so
79386f
%{ruby_libarchdir}/enc/trans/emoji_sjis_docomo.so
79386f
%{ruby_libarchdir}/enc/trans/emoji_sjis_kddi.so
79386f
%{ruby_libarchdir}/enc/trans/emoji_sjis_softbank.so
79386f
%{ruby_libarchdir}/enc/trans/escape.so
79386f
%{ruby_libarchdir}/enc/trans/gb18030.so
79386f
%{ruby_libarchdir}/enc/trans/gbk.so
79386f
%{ruby_libarchdir}/enc/trans/iso2022.so
79386f
%{ruby_libarchdir}/enc/trans/japanese.so
79386f
%{ruby_libarchdir}/enc/trans/japanese_euc.so
79386f
%{ruby_libarchdir}/enc/trans/japanese_sjis.so
79386f
%{ruby_libarchdir}/enc/trans/korean.so
79386f
%{ruby_libarchdir}/enc/trans/single_byte.so
79386f
%{ruby_libarchdir}/enc/trans/transdb.so
79386f
%{ruby_libarchdir}/enc/trans/utf8_mac.so
79386f
%{ruby_libarchdir}/enc/trans/utf_16_32.so
79386f
%{ruby_libarchdir}/enc/utf_16be.so
79386f
%{ruby_libarchdir}/enc/utf_16le.so
79386f
%{ruby_libarchdir}/enc/utf_32be.so
79386f
%{ruby_libarchdir}/enc/utf_32le.so
79386f
%{ruby_libarchdir}/enc/windows_1251.so
79386f
%{ruby_libarchdir}/enc/windows_31j.so
79386f
%{ruby_libarchdir}/etc.so
79386f
%{ruby_libarchdir}/fcntl.so
79386f
%{ruby_libarchdir}/fiber.so
79386f
%{ruby_libarchdir}/fiddle.so
79386f
%{ruby_libarchdir}/gdbm.so
79386f
%dir %{ruby_libarchdir}/io
79386f
%{ruby_libarchdir}/io/nonblock.so
79386f
%{ruby_libarchdir}/io/wait.so
79386f
%dir %{ruby_libarchdir}/mathn
79386f
%{ruby_libarchdir}/mathn/complex.so
79386f
%{ruby_libarchdir}/mathn/rational.so
79386f
%{ruby_libarchdir}/nkf.so
79386f
%{ruby_libarchdir}/objspace.so
79386f
%{ruby_libarchdir}/openssl.so
79386f
%{ruby_libarchdir}/pathname.so
79386f
%{ruby_libarchdir}/pty.so
79386f
%dir %{ruby_libarchdir}/racc
79386f
%{ruby_libarchdir}/racc/cparse.so
79386f
%{ruby_libarchdir}/rbconfig.rb
79386f
%{ruby_libarchdir}/readline.so
79386f
%{ruby_libarchdir}/ripper.so
79386f
%{ruby_libarchdir}/sdbm.so
79386f
%{ruby_libarchdir}/socket.so
79386f
%{ruby_libarchdir}/stringio.so
79386f
%{ruby_libarchdir}/strscan.so
79386f
%{ruby_libarchdir}/syslog.so
79386f
%exclude %{ruby_libarchdir}/tcltklib.so
79386f
%exclude %{ruby_libarchdir}/tkutil.so
79386f
%{ruby_libarchdir}/zlib.so
79386f
79386f
%{tapset_root}
79386f
79386f
# TODO rubygems 2.0.0 does not create test-unit gemspec
79386f
# TODO for now put this in ruby-libs rpm
79386f
# TODO check if the following can be removed after
79386f
# TODO test-unit rebuild
79386f
%dir %{gem_dir}
79386f
%dir %{gem_dir}/specifications
79386f
%dir %{gem_dir}/specifications/default
79386f
%{gem_dir}/specifications/default/test-unit-*.gemspec
79386f
79386f
%files -n %{?scl_prefix}rubygems
79386f
%{_bindir}/gem
79386f
%{rubygems_dir}
79386f
%{gem_dir}
79386f
%exclude %{gem_dir}/gems/*
79386f
%{_exec_prefix}/lib*/gems
79386f
%exclude %{_exec_prefix}/lib*/gems/%{pkg_name}/bigdecimal-%{bigdecimal_version}
79386f
%exclude %{_exec_prefix}/lib*/gems/%{pkg_name}/io-console-%{io_console_version}
79386f
%exclude %{_exec_prefix}/lib*/gems/%{pkg_name}/json-%{json_version}
79386f
%exclude %{_exec_prefix}/lib*/gems/%{pkg_name}/psych-%{psych_version}
79386f
%exclude %{gem_dir}/gems/rake-%{rake_version}
79386f
%exclude %{gem_dir}/gems/rdoc-%{rdoc_version}
79386f
%exclude %{gem_dir}/specifications/bigdecimal-%{bigdecimal_version}.gemspec
79386f
%exclude %{gem_dir}/specifications/io-console-%{io_console_version}.gemspec
79386f
%exclude %{gem_dir}/specifications/json-%{json_version}.gemspec
79386f
%exclude %{gem_dir}/specifications/minitest-%{minitest_version}.gemspec
79386f
%exclude %{gem_dir}/specifications/rake-%{rake_version}.gemspec
79386f
%exclude %{gem_dir}/specifications/rdoc-%{rdoc_version}.gemspec
79386f
%exclude %{gem_dir}/specifications/psych-%{psych_version}.gemspec
79386f
# TODO rubygems 2.0.0 does not create test-unit gemspec
79386f
# TODO where to put test-unit-*.gemspec??
79386f
%exclude %{gem_dir}/specifications/default/test-unit-*.gemspec
79386f
79386f
%files -n %{?scl_prefix}rubygems-devel
79386f
%config(noreplace) %{_root_sysconfdir}/rpm/macros.rubygems%{?scl:.%{scl}}
79386f
79386f
%files -n %{?scl_prefix}rubygem-rake
79386f
%{ruby_libdir}/rake*
79386f
%{_bindir}/rake
79386f
%{gem_dir}/gems/rake-%{rake_version}
79386f
%{gem_dir}/specifications/rake-%{rake_version}.gemspec
79386f
%{_mandir}/man1/rake.1*
79386f
79386f
%files irb
79386f
%{_bindir}/irb
79386f
%{ruby_libdir}/irb.rb
79386f
%{ruby_libdir}/irb
79386f
%{_mandir}/man1/irb.1*
79386f
79386f
%files -n %{?scl_prefix}rubygem-rdoc
79386f
%{ruby_libdir}/rdoc*
79386f
%{_bindir}/rdoc
79386f
%{_bindir}/ri
79386f
%{gem_dir}/gems/rdoc-%{rdoc_version}
79386f
%{gem_dir}/specifications/rdoc-%{rdoc_version}.gemspec
79386f
%{_mandir}/man1/ri*
79386f
79386f
%files doc
79386f
%doc README
79386f
%lang(ja) %doc README.ja
79386f
%doc ChangeLog
79386f
%doc doc/ChangeLog-*
79386f
%doc ruby-exercise.stp
79386f
%{_datadir}/ri
79386f
79386f
%files -n %{?scl_prefix}rubygem-bigdecimal
79386f
%{ruby_libdir}/bigdecimal
79386f
%{ruby_libarchdir}/bigdecimal.so
79386f
%{_libdir}/gems/%{pkg_name}/bigdecimal-%{bigdecimal_version}
79386f
%{gem_dir}/gems/bigdecimal-%{bigdecimal_version}
79386f
%{gem_dir}/specifications/bigdecimal-%{bigdecimal_version}.gemspec
79386f
79386f
%files -n %{?scl_prefix}rubygem-io-console
79386f
%{ruby_libdir}/io
79386f
%{ruby_libarchdir}/io/console.so
79386f
%{_libdir}/gems/%{pkg_name}/io-console-%{io_console_version}
79386f
%{gem_dir}/gems/io-console-%{io_console_version}
79386f
%{gem_dir}/specifications/io-console-%{io_console_version}.gemspec
79386f
79386f
%files -n %{?scl_prefix}rubygem-json
79386f
%{ruby_libdir}/json*
79386f
%{ruby_libarchdir}/json*
79386f
%{_libdir}/gems/%{pkg_name}/json-%{json_version}
79386f
%{gem_dir}/gems/json-%{json_version}
79386f
%{gem_dir}/specifications/json-%{json_version}.gemspec
79386f
79386f
%files -n %{?scl_prefix}rubygem-minitest
79386f
%{ruby_libdir}/minitest
79386f
%{gem_dir}/gems/minitest-%{minitest_version}
79386f
%{gem_dir}/specifications/minitest-%{minitest_version}.gemspec
79386f
79386f
%files -n %{?scl_prefix}rubygem-psych
79386f
%{ruby_libdir}/psych*
79386f
%{ruby_libarchdir}/psych*
79386f
%{_libdir}/gems/%{pkg_name}/psych-%{psych_version}
79386f
%{gem_dir}/gems/psych-%{psych_version}
79386f
%{gem_dir}/specifications/psych-%{psych_version}.gemspec
79386f
79386f
%files tcltk
79386f
%{ruby_libdir}/*-tk.rb
79386f
%{ruby_libdir}/tcltk.rb
79386f
%{ruby_libdir}/tk*.rb
79386f
%{ruby_libarchdir}/tcltklib.so
79386f
%{ruby_libarchdir}/tkutil.so
79386f
%{ruby_libdir}/tk
79386f
%{ruby_libdir}/tkextlib
79386f
79386f
%changelog
79386f
* Fri Feb 28 2014 Vít Ondruch <vondruch@redhat.com> - 2.0.0.353-23
79386f
- Explicitly depend on libyaml, to workaround issues with scl prefixed libyam.
79386f
  Resolves: rhbz#1071347
79386f
79386f
* Mon Feb 24 2014 Vít Ondruch <vondruch@redhat.com> - 2.0.0.353-22
79386f
- Fix RubyGems test suite.
79386f
  Resolves: rhbz#1069184
79386f
- Do not use bundled libyaml.
79386f
  Resolves: rhbz#1069107
79386f
79386f
* Tue Feb 11 2014 Vít Ondruch <vondruch@redhat.com> - 2.0.0.353-21
79386f
- ruby-libs have to require scl_runtime.
79386f
  Resolves: rhbz#1054758
79386f
79386f
* Mon Feb 10 2014 Josef Stribny <jstribny@redhat.com> - 2.0.0.353-20
79386f
- Don't link cert.pem explicitely
79386f
  - Resolves: rhbz#1057069
79386f
79386f
* Fri Jan 10 2014 Josef Stribny <jstribny@redhat.com> - 2.0.0.353-19
79386f
- Fix tk extconf not to include -rpath
79386f
  - Resolves: rhbz#1051011
79386f
79386f
* Mon Jan 06 2014 Vít Ondruch <vondruch@redhat.com> - 2.0.0.353-18
79386f
- Fix FTBFS due to expired certificate for IMAP test case.
79386f
  - Resolves: rhbz#1048923
79386f
79386f
* Mon Dec 16 2013 Josef Stribny <jstribny@redhat.com> - 2.0.0.353-17
79386f
- Remove rdoc obsoletes
79386f
  - Resolves: rhbz#1043039
79386f
79386f
* Mon Dec 02 2013 Josef Stribny <jstribny@redhat.com> - 2.0.0.353-16
79386f
- Update to Ruby 2.0.0-p353
79386f
  - Fixes heap overflow in floating point parsing (CVE-2013-4164)
79386f
  - Resolves: rhbz#1033906
79386f
79386f
* Thu Nov 28 2013 Josef Stribny <jstribny@redhat.com> - 2.0.0.247-15
79386f
- Fix depending collections can't point into correct directory
79386f
  - Resolves: rhbz#1034638
79386f
- Fix binary extensions cannot be loaded from an scl namespace other than ruby200
79386f
  - Resolves: rhbz#1034639
79386f
- Enable OpenSSL MD5 hashes for tests
79386f
79386f
* Wed Nov 13 2013 Josef Stribny <jstribny@redhat.com> - 2.0.0.247-14
79386f
- Update to Ruby 2.0.0-p247 (rhbz#979605).
79386f
- Fix CVE-2013-4073.
79386f
- Fix for wrong makefiles created by mkmf (rhbz#921650).
79386f
- Add support for ABRT autoloading.
79386f
- Better support for build without configuration (rhbz#977941).
79386f
- Fix RubyGems version.
79386f
- Fix RubyGems search paths when building gems with native extension
79386f
  (rhbz#979133).
79386f
- Fixes multilib conlicts of .gemspec files.
79386f
- Make symlinks for psych gem to ruby stdlib dirs (rhbz#979133).
79386f
- Use system-wide cert.pem.
79386f
79386f
* Wed Nov 13 2013 Josef Stribny <jstribny@redhat.com> - 2.0.0.195-13
79386f
- Update to Ruby 2.0.0-p195 (rhbz#917374).
79386f
- Fix object taint bypassing in DL and Fiddle (CVE-2013-2065).
79386f
- Fix build against OpenSSL with enabled ECC curves.
79386f
- Add aarch64 support (rhbz#926463).
79386f
79386f
* Fri Oct 18 2013 Josef Stribny <jstribny@redhat.com> - 2.0.0.0-12
79386f
- Patch RDoc's unterminated heredoc because of the rails documentation
79386f
79386f
* Fri Oct 18 2013 Josef Stribny <jstribny@redhat.com> - 2.0.0.0-11
79386f
- Change macros.ruby to use pkg_name macro instead of name one
79386f
79386f
* Thu Oct 03 2013 Josef Stribny <jstribny@redhat.com> - 2.0.0.0-10
79386f
- Fix gem_extdir_mri macro for SCL
79386f
- Change operating_system.rb to use /ruby instead of /exts for extensions
79386f
79386f
* Thu Sep 26 2013 Josef Stribny <jstribny@redhat.com> - 2.0.0.0-9
79386f
- Add patches for CVE-2013-4287 and CVE-2013-4363
79386f
79386f
* Fri May 10 2013 Josef Stribny <jstribny@redhat.com> - 2.0.0.0-8
79386f
- Rebuild for scl
79386f
- Revert to operating_system.rb from Ruby 1.9.3 package
79386f
79386f
* Fri Apr 19 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-7
79386f
- Macro definition moved into macros.ruby and macros.rubygems files.
79386f
- Added filtering macros.
79386f
- Filter automatically generated provides of private libraries (rhbz#947408).
79386f
79386f
* Fri Mar 22 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-6
79386f
- Fix RbConfig::CONFIG['exec_prefix'] returns empty string (rhbz#924851).
79386f
79386f
* Thu Mar 21 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-5
79386f
- Make Ruby buildable without rubypick.
79386f
- Prevent random test failures.
79386f
79386f
* Fri Mar 08 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.0.0.0-4
79386f
- Don't mark rpm config file as %%config (fpc#259)
79386f
79386f
* Tue Mar 05 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-3
79386f
- Avoid "method redefined;" warnings due to modified operating_system.rb.
79386f
- Fix strange paths created during build of binary gems.
79386f
79386f
* Mon Feb 25 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-2
79386f
- Prevent squash of %%gem_install with following line.
79386f
79386f
* Mon Feb 25 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-1
79386f
- Update to Ruby 2.0.0-p0.
79386f
- Change %%{ruby_extdir} to %%{ruby_extdir_mri} in preparation for better
79386f
  JRuby support.
79386f
79386f
* Mon Feb 25 2013 Mamoru TASAKA <mtasaka@fedoraprojec.org> - 2.0.0.0-0.3.r39387
79386f
- Move test-unit.gemspec to -libs subpackage for now because rubygems
79386f
  2.0.0 does not create this
79386f
79386f
* Fri Feb 22 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-0.2.r39387
79386f
- Fix issues with wrong value of Rubygem's shebang introduced in r39267.
79386f
79386f
* Fri Feb 22 2013 Vít Ondruch <vondruch@redhat.com> - 2.0.0.0-0.1.r39387
79386f
- Upgrade to Ruby 2.0.0 (r39387).
79386f
- Introduce %%gem_install macro.
79386f
- Build against libdb instead of libdb4 (rhbz#894022).
79386f
- Move native extensions from exts to ruby directory.
79386f
- Enable most of the PPC test suite.
79386f
- Change ruby(abi) -> ruby(release).
79386f
- Rename ruby executable to ruby-mri, to be prepared for RubyPick.
79386f
- Add ruby(runtime_executable) virtual provide, which is later used
79386f
  by RubyPick.
79386f
- RDoc now depends on JSON.
79386f
- Try to make -doc subpackage noarch again, since the new RDoc should resolve
79386f
  the arch dependent issues (https://github.com/rdoc/rdoc/issues/71).
79386f
- Enable SystemTap support.
79386f
- Add TapSet for Ruby.
79386f
- Split Psych into rubygem-psych subpackage.
79386f
79386f
* Mon Feb 11 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.385-28
79386f
- Update to 1.9.3 p385
79386f
79386f
* Sat Jan 19 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.374-27
79386f
- Update to 1.9.3 p374
79386f
- Fix provided variables in pkgconfig (bug 789532:
79386f
  Vít Ondruch <vondruch@redhat.com>)
79386f
79386f
* Fri Jan 18 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.362-26
79386f
- Provide non-versioned pkgconfig file (bug 789532)
79386f
- Use db5 on F-19 (bug 894022)
79386f
 
79386f
* Wed Jan 16 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.362-25
79386f
- Backport fix for the upstream PR7629, save the proc made from the given block
79386f
  (bug 895173)
79386f
79386f
* Wed Jan  2 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.362-24
79386f
- Update to 1.9.3.362
79386f
79386f
* Mon Dec 03 2012 Jaromir Capik <jcapik@redhat.com> - 1.9.3.327-23
79386f
- Skipping test_parse.rb (fails on ARM at line 787)
79386f
- http://bugs.ruby-lang.org/issues/6899
79386f
79386f
* Sun Nov 11 2012 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.327-23
79386f
- Skip test_str_crypt (on rawhide) for now (upstream bug 7312)
79386f
79386f
* Sat Nov 10 2012 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.327-22
79386f
- Ignore some network related tests
79386f
79386f
* Sat Nov 10 2012 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.327-21
79386f
- Update to 1.9.3.327
79386f
- Fix Hash-flooding DoS vulnerability on MurmurHash function
79386f
  (CVE-2012-5371)
79386f
79386f
* Sat Oct 13 2012 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.9.3.286-19
79386f
- Update to 1.9.3 p286
79386f
- Don't create files when NUL-containing path name is passed
79386f
  (bug 865940, CVE-2012-4522)
79386f
79386f
* Thu Oct 04 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.9.3.194-18
79386f
- Patch from trunk for CVE-2012-4464, CVE-2012-4466
79386f
79386f
* Thu Sep 06 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.194-17
79386f
- Split documentation into -doc subpackage (rhbz#854418).
79386f
79386f
* Tue Aug 14 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.194-16
79386f
- Revert the dependency of ruby-libs on rubygems (rhbz#845011, rhbz#847482).
79386f
79386f
* Wed Aug 01 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.194-15
79386f
- ruby-libs must require rubygems (rhbz#845011).
79386f
79386f
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.3.194-14
79386f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
79386f
79386f
* Mon Jun 11 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.9.3.194-13
79386f
- Make the bigdecimal gem a runtime dependency of Ruby.
79386f
79386f
* Mon Jun 11 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.9.3.194-12
79386f
- Make symlinks for bigdecimal and io-console gems to ruby stdlib dirs (RHBZ 829209).
79386f
79386f
* Tue May 29 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.9.3.194-11
79386f
- Fix license to contain Public Domain.
79386f
- macros.ruby now contains unexpanded macros.
79386f
79386f
* Sun Apr 22 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.9.3.194-10.1
79386f
- Bump release
79386f
79386f
* Fri Apr 20 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.194-1
79386f
- Update to Ruby 1.9.3-p194.
79386f
79386f
* Mon Apr 09 2012 Karsten Hopp <karsten@redhat.com> 1.9.3.125-3
79386f
- disable check on ppc(64), RH bugzilla 803698
79386f
79386f
* Wed Feb 29 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.9.3.125-2
79386f
- Temporarily disable make check on ARM until it's fixed upstream. Tracked in RHBZ 789410
79386f
79386f
* Mon Feb 20 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.125-1
79386f
- Upgrade to Ruby 1.9.3-p125.
79386f
79386f
* Sun Jan 29 2012 Mamoru Tasaka <mtasaka@fedoraprpject.org> - 1.9.3.0-7
79386f
- Make mkmf.rb verbose by default
79386f
79386f
* Thu Jan 26 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-6
79386f
- Relax dependencies to allow external updates of bundled gems.
79386f
79386f
* Wed Jan 18 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-5
79386f
- Initial release of Ruby 1.9.3.
79386f
- Add rubygems dependency on io-console for user interactions.
79386f
- Gems license clarification.
79386f
79386f
* Tue Jan 17 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-4
79386f
- Bundled gems moved into dedicated directories and subpackages.
79386f
- Create and own RubyGems directories for binary extensions.
79386f
- Fix build with GCC 4.7.
79386f
79386f
* Mon Jan 16 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-3
79386f
- Fix RHEL build.
79386f
- Fixed directory ownership.
79386f
- Verose build output.
79386f
79386f
* Sun Jan 15 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-2
79386f
- Install RubyGems outside of Ruby directory structure.
79386f
- RubyGems has not its own -devel subpackage.
79386f
- Enhanced macros.ruby and macros.rubygems.
79386f
- All tests are green now (bkabrda).
79386f
79386f
* Sat Jan 14 2012 Vít Ondruch <vondruch@redhat.com> - 1.9.3.0-1
79386f
- Initial package
79386f
79386f
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.7.357-2
79386f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
79386f
79386f
* Thu Dec 29 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.357-1
79386f
- Update to 1.8.7p357
79386f
- Randomize hash on process startup (CVE-2011-4815, bug 750564)
79386f
79386f
* Fri Dec 23 2011 Dennis Gilmore <dennis@ausil.us> - 1.8.7.352-2
79386f
- dont normalise arm cpus to arm
79386f
- there is something weird about how ruby choses where to put bits
79386f
79386f
* Thu Nov 17 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.352-3
79386f
- F-17: kill gdbm support for now due to licensing compatibility issue
79386f
79386f
* Sat Oct  1 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.352-2
79386f
- F-17: rebuild against new gdbm
79386f
79386f
* Sat Jul 16 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.352-1
79386f
- Update to 1.8.7 p352
79386f
- CVE-2011-2686 is fixed in this version (bug 722415)
79386f
- Update ext/tk to the latest git
79386f
- Remove duplicate path entry (bug 718695)
79386f
79386f
* Thu Jul 14 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.334-4
79386f
- Once fix FTBFS (bug 716021)
79386f
79386f
* Mon Jul 11 2011 Dennis Gilmore <dennis@ausil.us> - 1.8.7.334-3
79386f
- normalise arm cpus to arm
79386f
79386f
* Mon May 30 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.8.7.334-2
79386f
- Own %%{_normalized_cpu}-%%{_target_os} directory (bug 708816)
79386f
79386f
* Sat Feb 19 2011 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.334-1
79386f
- Update to 1.8.7 p334
79386f
79386f
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.7.330-3
79386f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
79386f
79386f
* Sun Jan 02 2011 Dennis Gilmore <dennis@ausil.us> - 1.8.7.330-2
79386f
- nomalise the 32 bit sparc archs to sparc
79386f
79386f
* Sun Dec 26 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.330-1
79386f
- Update to 1.8.7 p330
79386f
- ext/tk updated to the newest header
79386f
79386f
* Thu Nov  4 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.302-2
79386f
- Avoid multilib conflict on -libs subpackage (bug 649174)
79386f
79386f
* Mon Aug 23 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.302-1
79386f
- Update to 1.8.7.302
79386f
- CVE-2010-0541 (bug 587731) is fixed in this version
79386f
- Update ext/tk to the latest head
79386f
79386f
* Mon Aug  2 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.299-5
79386f
- More cleanup of spec file, expecially for rpmlint issue
79386f
- build ri files in %%build
79386f
79386f
* Mon Jul 26 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.7.299-4
79386f
- Cleanup spec file
79386f
- Make -irb, -rdoc subpackage noarch
79386f
- Make dependencies between arch-dependent subpackages isa specific
79386f
- Improve sample documentation gathering
79386f
79386f
* Mon Jul 12 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.299-3
79386f
- updated packaged based on feedback (from mtasaka)
79386f
- added comments to all patches / sources
79386f
- obsoleted ruby-mode, as it's now provided by the emacs package itself
79386f
- readded missing documentation
79386f
- various small compatability/regression fixes
79386f
79386f
* Tue Jul 06 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.299-2
79386f
- readded bits to pull tk package from upstream source branch
79386f
- removed unecessary .tk.old dir
79386f
- renamed macros which may cause confusion, removed unused ones
79386f
79386f
* Thu Jun 24 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.299-1
79386f
- integrate more of jmeyering's and mtaska's feedback
79386f
- removed emacs bits that are now shipped with the emacs package
79386f
- various patch and spec cleanup
79386f
- rebased to ruby 1.8.7 patch 299, removed patches no longer needed:
79386f
   ruby-1.8.7-openssl-1.0.patch, ruby-1.8.7-rb_gc_guard_ptr-optimization.patch
79386f
79386f
* Wed Jun 23 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.249-5
79386f
- Various fixes
79386f
79386f
* Wed Jun 23 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.249-4
79386f
- Fixed incorrect paths in 1.8.7 rpm
79386f
79386f
* Tue Jun 22 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.249-3
79386f
- Integrated Jim Meyering's feedback and changes in to:
79386f
- remove trailing blanks
79386f
- placate rpmlint
79386f
- ruby_* definitions: do not use trailing slashes in directory names
79386f
- _normalized_cpu: simplify definition
79386f
79386f
* Mon Jun 21 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.249-2
79386f
- Integrate mtasaka's feedback and changes
79386f
- patch101 ruby_1_8_7-rb_gc_guard_ptr-optimization.patch
79386f
79386f
* Tue Jun 15 2010 Mohammed Morsi <mmorsi@redhat.com> - 1.8.7.249-1
79386f
- Initial Ruby 1.8.7 specfile
79386f
79386f
* Wed May 19 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.399-5
79386f
- Retry for bug 559158, Simplify the OpenSSL::Digest class
79386f
  pull more change commits from ruby_1_8 branch
79386f
79386f
* Mon May 17 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.399-4
79386f
- Patch36 (ruby-1.8.x-RHASH_SIZE-rb_hash_lookup-def.patch)
79386f
  also backport rb_hash_lookup definition (bug 592936)
79386f
79386f
* Thu May 13 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.399-3
79386f
- ruby-1.8.x-null-class-must-be-Qnil.patch (bug 530407)
79386f
- Recreate some patches using upstream svn when available, and
79386f
  add some comments for patches
79386f
79386f
* Tue May 11 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.399-2
79386f
- tcltk: Give up using potentially unmaintained ruby_1_8_6 branch
79386f
  and instead completely replace with ruby_1_8 branch head
79386f
  (at this time, using rev 27738)
79386f
  (seems to fix 560053, 590503)
79386f
- Fix Japanese encoding strings under ruby-tcltk/ext/tk/sample/
79386f
79386f
* Tue Apr 27 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.399-1
79386f
- Update to 1.8.6 p 399 (bug 579675)
79386f
- Patch to fix gc bug causing open4 crash (bug 580993)
79386f
79386f
* Fri Mar 12 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.388-9
79386f
- F-14: rebuild against new gdbm
79386f
79386f
* Thu Jan 28 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp>
79386f
- Once revert the previous change (patch34)
79386f
79386f
* Wed Jan 27 2010 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 1.8.6.388-8
79386f
- Backport openssl/digest functions providing digest and hexdigest functions
79386f
  directly in OpenSSL::Digest.methods
79386f
- Make sure that Red Hat people version their changelog entries
79386f
- This is actually release #1, but now needs to be release #7
79386f
79386f
* Mon Jan 18 2010 Akira TAGOH <tagoh@redhat.com> - 1.8.6.388-1
79386f
- Add conditional for RHEL.
79386f
79386f
* Wed Jan 13 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.383-6
79386f
- CVE-2009-4492 ruby WEBrick log escape sequence (bug 554485)
79386f
79386f
* Wed Dec  9 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.383-5
79386f
- Change mkmf.rb to use LIBRUBYARG_SHARED so that have_library() works
79386f
  without libruby-static.a (bug 428384)
79386f
- And move libruby-static.a to -static subpackage
79386f
79386f
* Thu Oct 29 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.383-4
79386f
- Use bison to regenerate parse.c to keep the original format of error
79386f
  messages (bug 530275 comment 4)
79386f
79386f
* Sun Oct 25 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.383-3
79386f
- Patch so that irb saves its history (bug 518584, ruby issue 1556)
79386f
79386f
* Sat Oct 24 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.383-2
79386f
- Update to 1.8.6 patchlevel 383 (bug 520063)
79386f
79386f
* Wed Oct 14 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.369-5
79386f
- Much better idea for Patch31 provided by Akira TAGOH <tagoh@redhat.com>
79386f
79386f
* Wed Oct 14 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.369-4
79386f
- Fix the search path of ri command for ri manuals installed with gem
79386f
  (bug 528787)
79386f
79386f
* Wed Aug 26 2009 Tomas Mraz <tmraz@redhat.com> - 1.8.6.369-3
79386f
- Rebuild against new openssl
79386f
79386f
* Thu Jul 23 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.369-2
79386f
- Make sure that readline.so is linked against readline 5 because
79386f
  Ruby is under GPLv2
79386f
79386f
* Sat Jun 20 2009  Jeroen van Meeuwen <kanarip@fedoraproject.org> - 1.8.6.369-1
79386f
- New patchlevel fixing CVE-2009-1904
79386f
- Fix directory on ARM (#506233, Kedar Sovani)
79386f
79386f
* Sun May 31 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 1.8.6.368-1
79386f
- New upstream release (p368)
79386f
79386f
* Sat Apr 11 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.287-8
79386f
- Merge Review fix (#226381)
79386f
79386f
* Wed Mar 18 2009 Jeroen van Meeuwen <j.van.meeuwen@ogd.nl> - 1.8.6.287-7
79386f
- Fix regression in CVE-2008-3790 (#485383)
79386f
79386f
* Mon Mar 16 2009 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.8.6.287-6
79386f
- Again use -O2 optimization level
79386f
- i586 should search i386-linux directory (on <= F-11)
79386f
79386f
* Thu Mar 05 2009 Jeroen van Meeuwen <kanarip@fedoraproject.org> - 1.8.6.287-5
79386f
- Rebuild for gcc4.4
79386f
79386f
* Fri Feb 27 2009 Jeroen van Meeuwen <kanarip@fedoraproject.org> - 1.8.6.287-3
79386f
- CVE-2008-5189: CGI header injection.
79386f
79386f
* Wed Oct  8 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.287-2
79386f
- CVE-2008-3790: DoS vulnerability in the REXML module.
79386f
79386f
* Sat Aug 23 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.287-1
79386f
- New upstream release.
79386f
- Security fixes.
79386f
  - CVE-2008-3655: Ruby does not properly restrict access to critical
79386f
                   variables and methods at various safe levels.
79386f
  - CVE-2008-3656: DoS vulnerability in WEBrick.
79386f
  - CVE-2008-3657: Lack of taintness check in dl.
79386f
  - CVE-2008-1447: DNS spoofing vulnerability in resolv.rb.
79386f
  - CVE-2008-3443: Memory allocation failure in Ruby regex engine.
79386f
- Remove the unnecessary backported patches.
79386f
79386f
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.8.6.230-5
79386f
- rebuild against db4-4.7
79386f
79386f
* Tue Jul  1 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.230-4
79386f
- Backported from upstream SVN to fix a segfault issue with Array#fill.
79386f
79386f
* Mon Jun 30 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.230-3
79386f
- Backported from upstream SVN to fix a segfault issue. (#452825)
79386f
- Backported from upstream SVN to fix an integer overflow in rb_ary_fill.
79386f
79386f
* Wed Jun 25 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.230-2
79386f
- Fix a segfault issue. (#452810)
79386f
79386f
* Tue Jun 24 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.230-1
79386f
- New upstream release.
79386f
- Security fixes. (#452295)
79386f
  - CVE-2008-1891: WEBrick CGI source disclosure.
79386f
  - CVE-2008-2662: Integer overflow in rb_str_buf_append().
79386f
  - CVE-2008-2663: Integer overflow in rb_ary_store().
79386f
  - CVE-2008-2664: Unsafe use of alloca in rb_str_format().
79386f
  - CVE-2008-2725: Integer overflow in rb_ary_splice().
79386f
  - CVE-2008-2726: Integer overflow in rb_ary_splice().
79386f
- ruby-1.8.6.111-CVE-2007-5162.patch: removed.
79386f
- Build ruby-mode package for all archtectures.
79386f
79386f
* Tue Mar  4 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.114-1
79386f
- Security fix for CVE-2008-1145.
79386f
- Improve a spec file. (#226381)
79386f
  - Correct License tag.
79386f
  - Fix a timestamp issue.
79386f
  - Own a arch-specific directory.
79386f
79386f
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.8.6.111-9
79386f
- Autorebuild for GCC 4.3
79386f
79386f
* Tue Feb 19 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-8
79386f
- Rebuild for gcc-4.3.
79386f
79386f
* Tue Jan 15 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-7
79386f
- Revert the change of libruby-static.a. (#428384)
79386f
79386f
* Fri Jan 11 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-6
79386f
- Fix an unnecessary replacement for shebang. (#426835)
79386f
79386f
* Fri Jan  4 2008 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-5
79386f
- Rebuild.
79386f
79386f
* Fri Dec 28 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-4
79386f
- Clean up again.
79386f
79386f
* Fri Dec 21 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-3
79386f
- Clean up the spec file.
79386f
- Remove ruby-man-1.4.6 stuff. this is entirely the out-dated document.
79386f
  this could be replaced by ri.
79386f
- Disable the static library building.
79386f
79386f
* Tue Dec 04 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.8.6.111-2
79386f
 - Rebuild for openssl bump
79386f
79386f
* Wed Oct 31 2007 Akira TAGOH <tagoh@redhat.com>
79386f
- Fix the dead link.
79386f
79386f
* Mon Oct 29 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.111-1
79386f
- New upstream release.
79386f
- ruby-1.8.6.111-CVE-2007-5162.patch: Update a bit with backporting the changes
79386f
   at trunk to enable the fix without any modifications on the users' scripts.
79386f
   Note that Net::HTTP#enable_post_connection_check isn't available anymore.
79386f
   If you want to disable this post-check, you should give OpenSSL::SSL::VERIFY_NONE
79386f
   to Net::HTTP#verify_mode= instead of.
79386f
79386f
* Mon Oct 15 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.110-2
79386f
- Enable pthread support for ppc too. (#201452)
79386f
- Fix unexpected dependencies appears in ruby-libs. (#253325)
79386f
79386f
* Wed Oct 10 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.110-1
79386f
- New upstream release.
79386f
  - ruby-r12567.patch: removed.
79386f
- ruby-1.8.6-CVE-2007-5162.patch: security fix for Net::HTTP that is
79386f
  insufficient verification of SSL certificate.
79386f
79386f
* Thu Aug 23 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.36-4
79386f
- Rebuild
79386f
79386f
* Fri Aug 10 2007 Akira TAGOH <tagoh@redhat.com>
79386f
- Update License tag.
79386f
79386f
* Mon Jun 25 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.36-3
79386f
- ruby-r12567.patch: backport patch from upstream svn to get rid of
79386f
  the unnecessary declarations. (#245446)
79386f
79386f
* Wed Jun 20 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6.36-2
79386f
- New upstream release.
79386f
  - Fix Etc::getgrgid to get the correct gid as requested. (#236647)
79386f
79386f
* Wed Mar 28 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6-2
79386f
- Fix search path breakage. (#234029)
79386f
79386f
* Thu Mar 15 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.6-1
79386f
- New upstream release.
79386f
- clean up a spec file.
79386f
79386f
* Tue Feb 13 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.5.12-2
79386f
- Rebuild
79386f
79386f
* Mon Feb  5 2007 Akira TAGOH <tagoh@redhat.com> - 1.8.5.12-1
79386f
- New upstream release.
79386f
79386f
* Mon Dec 11 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.5.2-1
79386f
- security fix release.
79386f
79386f
* Fri Oct 27 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.5-4
79386f
- security fix release.
79386f
- ruby-1.8.5-cgi-CVE-2006-5467.patch: fix a CGI multipart parsing bug that
79386f
  causes the denial of service. (#212396)
79386f
79386f
* Sun Oct 01 2006 Jesse Keating <jkeating@redhat.com> - 1.8.5-3
79386f
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
79386f
79386f
* Tue Sep 26 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.5-2
79386f
- fixed rbconfig.rb to refer to DESTDIR for sitearchdir. (#207311)
79386f
79386f
* Mon Aug 28 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.5-1
79386f
- New upstream release.
79386f
- removed the unnecessary patches:
79386f
  - ruby-1.8.4-no-eaccess.patch
79386f
  - ruby-1.8.4-64bit-pack.patch
79386f
  - ruby-1.8.4-fix-insecure-dir-operation.patch
79386f
  - ruby-1.8.4-fix-insecure-regexp-modification.patch
79386f
  - ruby-1.8.4-fix-alias-safe-level.patch
79386f
- build with --enable-pthread except on ppc.
79386f
- ruby-1.8.5-hash-memory-leak.patch: backported from CVS to fix a memory leak
79386f
  on Hash. [ruby-talk:211233]
79386f
79386f
* Mon Aug  7 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-12
79386f
- owns sitearchdir. (#201208)
79386f
79386f
* Thu Jul 20 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-11
79386f
- security fixes [CVE-2006-3694]
79386f
  - ruby-1.8.4-fix-insecure-dir-operation.patch:
79386f
  - ruby-1.8.4-fix-insecure-regexp-modification.patch: fixed the insecure
79386f
    operations in the certain safe-level restrictions. (#199538)
79386f
  - ruby-1.8.4-fix-alias-safe-level.patch: fixed to not bypass the certain
79386f
    safe-level restrictions. (#199543)
79386f
79386f
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.8.4-10.fc6.1
79386f
- rebuild
79386f
79386f
* Mon Jun 19 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-10
79386f
- fixed the wrong file list again. moved tcltk library into ruby-tcltk.
79386f
  (#195872)
79386f
79386f
* Thu Jun  8 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-8
79386f
- ruby-deprecated-sitelib-search-path.patch: correct the order of search path.
79386f
79386f
* Wed Jun  7 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-7
79386f
- exclude ppc64 to make ruby-mode package. right now emacs.ppc64 isn't provided
79386f
  and buildsys became much stricter.
79386f
- ruby-deprecated-sitelib-search-path.patch: applied to add more search path
79386f
  for backward compatiblity.
79386f
- added byacc to BuildReq. (#194161)
79386f
79386f
* Wed May 17 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-6
79386f
- ruby-deprecated-search-path.patch: added the deprecated installation paths
79386f
  to the search path for the backward compatibility.
79386f
- added a Provides: ruby(abi) to ruby-libs.
79386f
- ruby-1.8.4-64bit-pack.patch: backport patch from upstream to fix unpack("l")
79386f
  not working on 64bit arch and integer overflow on template "w". (#189350)
79386f
- updated License tag to be more comfortable, and with a pointer to get more
79386f
  details, like Python package does. (#179933)
79386f
- clean up.
79386f
79386f
* Wed Apr 19 2006 Akira TAGOH <tagoh@redhat.com>
79386f
- ruby-rubyprefix.patch: moved all arch-independent modules under /usr/lib/ruby
79386f
  and keep arch-dependent modules under /usr/lib64/ruby for 64bit archs.
79386f
  so 'rubylibdir', 'sitelibdir' and 'sitedir' in Config::CONFIG points to
79386f
  the kind of /usr/lib/ruby now. (#184199)
79386f
79386f
* Mon Apr 17 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-4
79386f
- correct sitelibdir. (#184198)
79386f
79386f
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.8.4-3.2
79386f
- bump again for double-long bug on ppc(64)
79386f
79386f
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.8.4-3.1
79386f
- rebuilt for new gcc4.1 snapshot and glibc changes
79386f
79386f
* Mon Feb  6 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-3
79386f
- ruby-1.8.4-no-eaccess.patch: backported from ruby CVS to avoid conflict
79386f
  between newer glibc. (#179835)
79386f
79386f
* Wed Jan  4 2006 Akira TAGOH <tagoh@redhat.com> - 1.8.4-2
79386f
- ruby-tcltk-multilib.patch: fixed a typo.
79386f
79386f
* Tue Dec 27 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.4-1
79386f
- New upstream release.
79386f
  - fixed a missing return statement. (#140833)
79386f
  - fixed an use of uninitialized variable. (#144890)
79386f
79386f
* Fri Dec 16 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.4-0.4.preview2
79386f
- updates to 1.8.4-preview2.
79386f
- renamed the packages to ruby-* (#175765)
79386f
  - irb  -> ruby-irb
79386f
  - rdoc -> ruby-rdoc
79386f
  - ri   -> ruby-ri
79386f
- added tcl-devel and tk-devel into BuildRequires.
79386f
79386f
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
79386f
- rebuilt
79386f
79386f
* Thu Nov 10 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.4-0.3.preview1
79386f
- rebuilt against the latest openssl.
79386f
79386f
* Tue Nov  1 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.4-0.2.preview1
79386f
- build-deps libX11-devel instead of xorg-x11-devel.
79386f
79386f
* Mon Oct 31 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.4-0.1.preview1
79386f
- New upstream release.
79386f
- ruby-1.8.2-strscan-memset.patch: removed because it's no longer needed.
79386f
79386f
* Tue Oct  4 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.3-4
79386f
- moved the documents from ruby-libs to ruby-docs, which contains the arch
79386f
  specific thing and to be multilib support. (#168826)
79386f
79386f
* Mon Oct  3 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.3-3
79386f
- fixed the wrong file list. the external library for tcl/tk was included
79386f
  in ruby-libs unexpectedly.
79386f
79386f
* Mon Sep 26 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.3-2
79386f
- ruby-multilib.patch: added another chunk for multilib. (#169127)
79386f
79386f
* Wed Sep 21 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.3-1
79386f
- New upstream release.
79386f
- Build-Requires xorg-x11-devel instead of XFree86-devel.
79386f
- ruby-multilib.patch: applied for only 64-bit archs.
79386f
- ruby-1.8.2-xmlrpc-CAN-2005-1992.patch: removed. it has already been in upstream.
79386f
79386f
* Tue Jun 21 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-9
79386f
- ruby-1.8.2-xmlrpc-CAN-2005-1992.patch: fixed the arbitrary command execution
79386f
  on XMLRPC server. (#161096)
79386f
79386f
* Thu Jun 16 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-8
79386f
- ruby-1.8.2-tcltk-multilib.patch: applied to get tcltklib.so built. (#160194)
79386f
79386f
* Thu Apr  7 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-7
79386f
- ruby-1.8.2-deadcode.patch: removed the dead code from the source. (#146108)
79386f
- make sure that all documentation files in ruby-docs are the world-
79386f
  readable. (#147279)
79386f
79386f
* Tue Mar 22 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-6
79386f
- ruby-1.8.2-strscan-memset.patch: fixed an wrong usage of memset(3).
79386f
79386f
* Tue Mar 15 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-5
79386f
- rebuilt
79386f
79386f
* Tue Jan 25 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-4
79386f
- fixed the wrong generation of file manifest. (#146055)
79386f
- spec file clean up.
79386f
79386f
* Mon Jan 24 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-3
79386f
- separated out to rdoc package.
79386f
- make the dependency of irb for rdoc. (#144708)
79386f
79386f
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> - 1.8.2-2
79386f
- Rebuilt for new readline.
79386f
79386f
* Wed Jan  5 2005 Akira TAGOH <tagoh@redhat.com> - 1.8.2-1
79386f
- New upstream release.
79386f
- ruby-1.8.1-ia64-stack-limit.patch: removed - it's no longer needed.
79386f
- ruby-1.8.1-cgi_session_perms.patch: likewise.
79386f
- ruby-1.8.1-cgi-dos.patch: likewise.
79386f
- generated Ruby interactive documentation - senarated package.
79386f
  it's now provided as ri package. (#141806)
79386f
79386f
* Thu Nov 11 2004 Jeff Johnson <jbj@jbj.org> 1.8.1-10
79386f
- rebuild against db-4.3.21.
79386f
79386f
* Wed Nov 10 2004 Akira TAGOH <tagoh@redhat.com> - 1.8.1-9
79386f
- ruby-1.8.1-cgi-dos.patch: security fix [CAN-2004-0983]
79386f
- ruby-1.8.1-cgi_session_perms.patch: security fix [CAN-2004-0755]
79386f
79386f
* Fri Oct 29 2004 Akira TAGOH <tagoh@redhat.com> - 1.8.1-8
79386f
- added openssl-devel and db4-devel into BuildRequires (#137479)
79386f
79386f
* Wed Oct  6 2004 Akira TAGOH <tagoh@redhat.com> - 1.8.1-7
79386f
- require emacs-common instead of emacs.
79386f
79386f
* Wed Jun 23 2004 Akira TAGOH <tagoh@redhat.com> 1.8.1-4
79386f
- updated the documentation.
79386f
79386f
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
79386f
- rebuilt
79386f
79386f
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
79386f
- rebuilt
79386f
79386f
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
79386f
- rebuilt
79386f
79386f
* Wed Feb 04 2004 Akira TAGOH <tagoh@redhat.com> 1.8.1-1
79386f
- New upstream release.
79386f
- don't use any optimization for ia64 to avoid the build failure.
79386f
- ruby-1.8.1-ia64-stack-limit.patch: applied to fix SystemStackError when the optimization is disabled.
79386f
79386f
* Sat Dec 13 2003 Jeff Johnson <jbj@jbj.org> 1.8.0-3
79386f
- rebuild against db-4.2.52.
79386f
79386f
* Thu Sep 25 2003 Jeff Johnson <jbj@jbj.org> 1.8.0-2
79386f
- rebuild against db-4.2.42.
79386f
79386f
* Tue Aug  5 2003 Akira TAGOH <tagoh@redhat.com> 1.8.0-1
79386f
- New upstream release.
79386f
79386f
* Thu Jul 24 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-9.1
79386f
- rebuilt
79386f
79386f
* Thu Jul 24 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-9
79386f
- ruby-1.6.8-castnode.patch: handling the nodes with correct cast.
79386f
  use this patch now instead of ruby-1.6.8-fix-x86_64.patch.
79386f
79386f
* Fri Jul 04 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-8
79386f
- rebuilt
79386f
79386f
* Fri Jul 04 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-7
79386f
- fix the gcc warnings. (#82192)
79386f
- ruby-1.6.8-fix-x86_64.patch: correct a patch.
79386f
  NOTE: DON'T USE THIS PATCH FOR BIG ENDIAN ARCHITECTURE.
79386f
- ruby-1.6.7-long2int.patch: removed.
79386f
79386f
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
79386f
- rebuilt
79386f
79386f
* Fri Feb  7 2003 Jens Petersen <petersen@redhat.com> - 1.6.8-5
79386f
- rebuild against ucs4 tcltk
79386f
79386f
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
79386f
- rebuilt
79386f
79386f
* Wed Jan 22 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-3
79386f
- ruby-1.6.8-multilib.patch: applied to fix the search path issue on x86_64
79386f
79386f
* Tue Jan 21 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-2
79386f
- ruby-1.6.8-require.patch: applied to fix the search bug in require.
79386f
- don't apply long2int patch to s390 and s390x. it doesn't work.
79386f
79386f
* Wed Jan 15 2003 Akira TAGOH <tagoh@redhat.com> 1.6.8-1
79386f
- New upstream release.
79386f
- removed some patches. it's no longer needed.
79386f
  - ruby-1.6.7-100.patch
79386f
  - ruby-1.6.7-101.patch
79386f
  - ruby-1.6.7-102.patch
79386f
  - ruby-1.6.7-103.patch
79386f
  - 801_extmk.rb-shellwords.patch
79386f
  - 801_mkmf.rb-shellwords.patch
79386f
  - 804_parse.y-new-bison.patch
79386f
  - 805_uri-bugfix.patch
79386f
  - ruby-1.6.6-900_XXX_strtod.patch
79386f
  - ruby-1.6.7-sux0rs.patch
79386f
  - ruby-1.6.7-libobj.patch
79386f
79386f
* Wed Jan 15 2003 Jens Petersen <petersen@redhat.com> 1.6.7-14
79386f
- rebuild to update tcltk deps
79386f
79386f
* Mon Dec 16 2002 Elliot Lee <sopwith@redhat.com> 1.6.7-13
79386f
- Remove ExcludeArch: x86_64
79386f
- Fix x86_64 ruby with long2int.patch (ruby was assuming that sizeof(long)
79386f
  == sizeof(int). The patch does not fix the source of the problem, just
79386f
  makes it a non-issue.)
79386f
- _smp_mflags
79386f
79386f
* Tue Dec 10 2002 Tim Powers <timp@redhat.com> 1.6.7-12
79386f
- rebuild to fix broken tcltk deps
79386f
79386f
* Tue Oct 22 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-11
79386f
- use %%configure macro instead of configure script.
79386f
- use the latest config.{sub,guess}.
79386f
- get archname from rbconfig.rb for %%dir
79386f
- applied some patches from Debian:
79386f
  - 801_extmk.rb-shellwords.patch: use Shellwords
79386f
  - 801_mkmf.rb-shellwords.patch: mkmf.rb creates bad Makefile. the Makefile
79386f
    links libruby.a to the target.
79386f
  - 803_sample-fix-shbang.patch: all sample codes should be
79386f
    s|/usr/local/bin|/usr/bin|g
79386f
  - 804_parse.y-new-bison.patch: fix syntax warning.
79386f
  - 805_uri-bugfix.patch: uri.rb could not handle correctly broken mailto-uri.
79386f
- add ExcludeArch x86_64 temporarily to fix Bug#74581. Right now ruby can't be
79386f
  built on x86_64.
79386f
79386f
* Tue Aug 27 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-10
79386f
- moved sitedir to /usr/lib/ruby/site_ruby again according as our perl and
79386f
  python.
79386f
- ruby-1.6.7-resolv1.patch, ruby-1.6.7-resolv2.patch: applied to fix 'Too many
79386f
  open files - "/etc/resolv.conf"' issue. (Bug#64830)
79386f
79386f
* Thu Jul 18 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-9
79386f
- add the owned directory.
79386f
79386f
* Fri Jul 12 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-8
79386f
- fix typo.
79386f
79386f
* Thu Jul 04 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-7
79386f
- removed the ruby-mode-xemacs because it's merged to the xemacs sumo.
79386f
79386f
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
79386f
- automated rebuild
79386f
79386f
* Wed Jun 19 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-5
79386f
- fix the stripped binary.
79386f
- use the appropriate macros.
79386f
79386f
* Sun May 26 2002 Tim Powers <timp@redhat.com>
79386f
- automated rebuild
79386f
79386f
* Thu May 23 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-3
79386f
- ruby-1.6.7-libobj.patch: applied to fix autoconf2.53 error.
79386f
79386f
* Mon Mar 18 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-2
79386f
- ruby-man-1.4.6-jp.tar.bz2: removed.
79386f
- ruby-refm-rdp-1.4.7-ja-html.tar.bz2: uses it instead of.
79386f
- ruby-1.6.7-500-marshal-proc.patch, ruby-1.6.7-501-class-var.patch:
79386f
  removed.
79386f
- ruby-1.6.7-100.patch: applied a bug fix patch.
79386f
  (ruby-dev#16274: patch for 'wm state')
79386f
  (PR#206ja: SEGV handle EXIT)
79386f
- ruby-1.6.7-101.patch: applied a bug fix patch.
79386f
  (ruby-list#34313: singleton should not be Marshal.dump'ed)
79386f
  (ruby-dev#16411: block local var)
79386f
- ruby-1.6.7-102.patch: applied a bug fix patch.
79386f
  (handling multibyte chars is partially broken)
79386f
- ruby-1.6.7-103.patch: applied a bug fix patch.
79386f
  (ruby-dev#16462: preserve reference for GC, but link should be cut)
79386f
79386f
* Fri Mar  8 2002 Akira TAGOH <tagoh@redhat.com> 1.6.7-1
79386f
- New upstream release.
79386f
- ruby-1.6.6-100.patch, ruby-1.6.6-501-ruby-mode.patch:
79386f
  removed. these patches no longer should be needed.
79386f
- ruby-1.6.7-500-marshal-proc.patch: applied a fix patch.
79386f
  (ruby-dev#16178: Marshal::dump should call Proc#call.)
79386f
- ruby-1.6.7-501-class-var.patch: applied a fix patch.
79386f
  (ruby-talk#35157: class vars broken in 1.6.7)
79386f
79386f
* Wed Feb 27 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-5
79386f
- Disable alpha because nothing is xemacs for alpha now.
79386f
79386f
* Tue Feb  5 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-3
79386f
- Fixed the duplicate files.
79386f
79386f
* Tue Feb  5 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-2
79386f
- Fixed the missing %%defattr
79386f
79386f
* Fri Feb  1 2002 Akira TAGOH <tagoh@redhat.com> 1.6.6-1
79386f
- New upstream release.
79386f
- Applied bug fix patches:
79386f
  - ruby-1.6.6-501-ruby-mode.patch: ruby-talk#30479: disables font-lock
79386f
    coloring.
79386f
  - ruby-1.6.6-100.patch: ruby-talk#30203: Ruby 1.6.6 bug and fix
79386f
                          ruby-list#33047: regex bug
79386f
                          PR#230: problem with -d in 1.6.6
79386f
- Added ruby-mode and ruby-mode-xemacs packages.
79386f
- Ruby works fine for ia64. so re-enable to build with ia64.
79386f
  (probably it should be worked for alpha)
79386f
79386f
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
79386f
- automated rebuild
79386f
79386f
* Thu Jul 19 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.6.4-2
79386f
- Remove Japanese description and summaries; they belong in specspo and
79386f
  break rpm
79386f
- Clean up specfile
79386f
- Mark language specific files (README.jp) as such
79386f
- bzip2 sources
79386f
- rename the libruby package to ruby-libs for consistency
79386f
- Exclude ia64 (doesn't build - the code doesn't seem to be 64-bit clean
79386f
  [has been excluded on alpha forever])
79386f
79386f
* Tue Jul 17 2001 Akira TAGOH <tagoh@redhat.com> 1.6.4-1
79386f
- rebuild for Red Hat 7.2
79386f
79386f
* Mon Jun 04 2001 akira yamada <akira@vinelinux.org>
79386f
- upgrade to nwe upstream version 1.6.4.
79386f
79386f
* Mon Apr 02 2001 akira yamada <akira@vinelinux.org>
79386f
- applied patch:
79386f
  - fixed method cache bug. etc. (Patch103, Patch104)
79386f
79386f
* Tue Mar 27 2001 akira yamada <akira@vinelinux.org>
79386f
- applied patch:
79386f
  - fixed marshal for bignum bug.
79386f
  - fixed scope of constant variables bug.
79386f
79386f
* Tue Mar 20 2001 akira yamada <akira@vinelinux.org>
79386f
- upgraded to new upstream version 1.6.3.
79386f
79386f
* Fri Feb 09 2001 akira yamada <akira@vinelinux.org>
79386f
- fixed bad group for libruby.
79386f
- Applied patch: upgraded to cvs version (2001-02-08):
79386f
  fixed minor bugs.
79386f
79386f
* Thu Jan 18 2001 akira yamada <akira@vinelinux.org>
79386f
- Applied patch: upgraded to cvs version (2001-01-15):
79386f
  fixed minor bugs(e.g. ruby makes extention librares too large...).
79386f
79386f
* Wed Jan 10 2001 akira yamada <akira@vinelinux.org>
79386f
- Applied patch: upgraded to cvs version (2001-01-09):
79386f
  fixed minor bugs.
79386f
79386f
* Sat Dec 30 2000 akira yamada <akira@vinelinux.org>
79386f
- Applied bug fix patch.
79386f
79386f
* Mon Dec 25 2000 akira yamada <akira@vinelinux.org>
79386f
- Updated to new upstream version 1.6.2.
79386f
79386f
* Fri Dec 22 2000 akira yamada <akira@vinelinux.org>
79386f
- Removed ruby_cvs.2000122019.patch, added ruby_cvs.2000122215.patch
79386f
  (upgraded ruby to latest cvs version, 1.6.2-preview4).
79386f
79386f
* Wed Dec 20 2000 akira yamada <akira@vinelinux.org>
79386f
- Removed ruby_cvs.2000121413.patch, added ruby_cvs.2000122019.patch
79386f
  (upgraded ruby to latest cvs version).
79386f
- new package: libruby
79386f
79386f
* Thu Dec 14 2000 akira yamada <akira@vinelinux.org>
79386f
- Removed ruby_cvs.2000101901.patch, added ruby_cvs.2000121413.patch
79386f
  (upgraded ruby to latest cvs version).
79386f
- Removed ruby-dev.11262.patch, ruby-dev.11265.patch,
79386f
  and ruby-dev.11268.patch (included into above patch).
79386f
79386f
* Sun Nov 12 2000 MACHINO, Satoshi <machino@vinelinux.org> 1.6.1-0vl9
79386f
- build on gcc-2.95.3
79386f
79386f
* Thu Oct 19 2000 akira yamada <akira@vinelinux.org>
79386f
- Added ruby-dev.11268.patch.
79386f
79386f
* Thu Oct 19 2000 akira yamada <akira@vinelinux.org>
79386f
- Removed ruby_cvs.2000101117.patch and added ruby_cvs.2000101901.patch
79386f
  (upgraded ruby to latest cvs version).
79386f
- Added ruby-dev.11262.patch.
79386f
- Added ruby-dev.11265.patch.
79386f
79386f
* Wed Oct 11 2000 akira yamada <akira@vinelinux.org>
79386f
- Removed ruby_cvs.2000100313.patch and added ruby_cvs.2000101117.patch
79386f
  (upgraded ruby to latest cvs version).
79386f
79386f
* Mon Oct 09 2000 akira yamada <akira@vinelinux.org>
79386f
- Removed ruby_cvs.2000100313.patch and added ruby_cvs.2000100313.patch
79386f
  (upgraded ruby to latest cvs version).
79386f
79386f
* Tue Oct 03 2000 akira yamada <akira@vinelinux.org>
79386f
- Removed ruby_cvs.2000100218.patch and added ruby_cvs.2000100313.patch
79386f
  (upgraded ruby to latest cvs version).
79386f
79386f
* Mon Oct 02 2000 akira yamada <akira@vinelinux.org>
79386f
- Removed ruby_cvs.2000092718.patch and added ruby_cvs.2000100218.patch
79386f
  (upgraded ruby to latest cvs version).
79386f
79386f
* Wed Sep 27 2000 akira yamada <akira@vinelinux.org>
79386f
- Updated to upstream version 1.6.1.
79386f
- Removed ruby_cvs.2000082901.patch and added ruby_cvs.2000092718.patch
79386f
  (upgraded ruby to latest cvs version).
79386f
79386f
* Tue Aug 29 2000 akira yamada <akira@redhat.com>
79386f
- Updated to version 1.4.6.
79386f
- removed ruby-dev.10123.patch(included into ruby-1.4.6).
79386f
- Added ruby_cvs.2000082901.patch(upgraded ruby to latest cvs version).
79386f
79386f
* Tue Jun 27 2000 akira yamada <akira@redhat.com>
79386f
- Updated manuals to version 1.4.5.
79386f
79386f
* Sun Jun 25 2000 akira yamada <akira@redhat.com>
79386f
- Added ruby-dev.10123.patch.
79386f
79386f
* Sat Jun 24 2000 akira yamada <akira@redhat.com>
79386f
- Updated to version 1.4.5.
79386f
- Removed ruby_cvs.2000062401.patch(included into ruby-1.4.5).
79386f
79386f
* Thu Jun 22 2000 akira yamada <akira@redhat.com>
79386f
- Updated to version 1.4.4(06/22/2000 CVS).
79386f
- Removed ruby-dev.10054.patch(included into ruby_cvs.patch).
79386f
79386f
* Thu Jun 22 2000 akira yamada <akira@redhat.com>
79386f
- Renamed to ruby_cvs20000620.patch from ruby_cvs.patch.
79386f
79386f
* Tue Jun 20 2000 akira yamada <akira@redhat.com>
79386f
- Updated to version 1.4.4(06/20/2000 CVS).
79386f
- Removed ruby-list.23190.patch(included into ruby_cvs.patch).
79386f
- Added ruby-dev.10054.patch.
79386f
79386f
* Thu Jun 15 2000 akira yamada <akira@redhat.com>
79386f
- Updated to version 1.4.4(06/12/2000 CVS).
79386f
- Added manuals and FAQs.
79386f
- Split into ruby, ruby-devel, ruby-tcltk, ruby-docs, irb.
79386f
79386f
* Tue Jun 13 2000 Mitsuo Hamada <mhamada@redhat.com>
79386f
- Updated to version 1.4.4
79386f
79386f
* Wed Dec 08 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
79386f
- Updated to version 1.4.3
79386f
79386f
* Mon Sep 20 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
79386f
- Updated to version 1.4.2 (Sep 18)
79386f
79386f
* Fri Sep 17 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
79386f
- Updated to version 1.4.2
79386f
79386f
* Tue Aug 17 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
79386f
- Updated to version 1.4.0
79386f
79386f
* Fri Jul 23 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
79386f
- 2nd release
79386f
- Updated to version 1.2.6(15 Jul 1999)
79386f
- striped %%{prefix}/bin/ruby
79386f
79386f
* Mon Jun 28 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
79386f
- Updated to version 1.2.6(21 Jun 1999)
79386f
79386f
* Wed Apr 14 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
79386f
- Updated to version 1.2.5
79386f
79386f
* Fri Apr 09 1999 Atsushi Yamagata <yamagata@plathome.co.jp>
79386f
- Updated to version 1.2.4
79386f
79386f
* Fri Dec 25 1998 Toru Hoshina <hoshina@best.com>
79386f
- Version up to 1.2 stable.
79386f
79386f
* Fri Nov 27 1998 Toru Hoshina <hoshina@best.com>
79386f
- Version up to 1.1c9.
79386f
79386f
* Thu Nov 19 1998 Toru Hoshina <hoshina@best.com>
79386f
- Version up to 1.1c8, however it appear short life :-P
79386f
79386f
* Fri Nov 13 1998 Toru Hoshina <hoshina@best.com>
79386f
- Version up.
79386f
79386f
* Tue Sep 22 1998 Toru Hoshina <hoshina@best.com>
79386f
- To make a libruby.so.
79386f
79386f
* Mon Sep 21 1998 Toru Hoshina <hoshina@best.com>
79386f
- Modified SPEC in order to install libruby.a so that it should be used by
79386f
  another ruby entention.
79386f
- 2nd release.
79386f
79386f
* Mon Mar 9 1998 Shoichi OZAWA <shoch@jsdi.or.jp>
79386f
- Added a powerPC arch part. Thanks, MURATA Nobuhiro <nob@makioka.y-min.or.jp>