ruby-2.1.x-rpm
ruby-2.1.x-rpm copied to clipboard
Upgrade to 2.1.9 and improve
The patch I have improves things as follows:
- Upgrade to 2.1.9 -- supposedly, the last 2.1.x release ever.
- Switches from
.tar.gzto.tar.xz-- the tarball is about 1/3 smaller. - Separates
/usr/share/docand/usr/share/riinto a sub-package of its own (ruby-doc-2.1.9) -- people, who need, documentation can install it, but it is not needed on most servers. - Removes
tcl-develfrom the build-requirement -- as long a Tk is explicitly disabled, there is no need for Tcl either. - Runs bundled self-tests as
%check. - Uses simply
%{version}instead of%{rubyver}. - Adds rybygem-json to both
ProvidesandObsoletes-- whatever other RPMs require the gem, will now be satisfied.