Hi all,
I just finished new build of Ruby 2.3.1 in Rawhide and there are a few notable fixes, possible breaking changes and improvements I'd like to point out.
1) This update was triggered mainly by update of OpenSSL in Rawhide, which made Ruby FTBFS. So temporarily, until we get Ruby 2.4 into Rawhide (which won't be sooner than January 2017), the Ruby is build against compat-openssl10, i.e. we continue to use OpenSSL 1.0.x series.
There might be apparently some issues, when OpenSSL 1.1.x is loaded into memory at the same time as OpenSSL 1.0.x. I had to apply one patch [1] to avoid SEGVs in test suites of rubygem-typhoeus and rubygem-ethon. If you by a chance notice some other OpenSSL related issues, please report it either into BZ or upstream. You can probably use ticket [2], where I am asking how is Ruby upstream going to handle the OpenSSL compatibility issues.
2) When I was fiddling with the OpenSSL, I noticed, that Ruby is not hardened properly. This is due to weird way how upstream is (not)using typical environment variables for compilation flag configuration. I workarounded that, so Ruby should be properly hardened now. Please report any buil/runtime issues you might encounter. If it should cause major issues, we can revert this and postpone for Ruby 2.4 mass rebuild.
3) Since I was doing the update, I introduced the "gemspec_add_dep" and "gemspec_remove_dep" macros, which I already discussed in this thread [3]. They are not officially documented anywhere yet, but feel free to (test/)use them. Hopefully will find some nice place where to document them. I'd love to have some other place for documentation than guidelines, something like Java packaging documentation [4]. For the moment, please follow the source [5]. And feel free to chime in with some interesting ideas ;)
Thx
Vít
[1] https://bugs.ruby-lang.org/issues/12868
[2] https://bugs.ruby-lang.org/issues/12830
[3] https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.o...
[4] https://fedora-java.github.io/howto/latest/#_add_maven_depmap_macro
[5] http://pkgs.fedoraproject.org/cgit/rpms/ruby.git/tree/macros.rubygems
ruby-sig@lists.fedoraproject.org