Vít Ondruch
f80c0b1d07
Upgrade to Ruby 2.7.2.
...
Related: rhbz#1947938
2021-04-21 10:55:36 +02:00
Jun Aruga
1aa8223a04
Give an option to increase the timeout in tests.
...
Because setting the option makes some tests stable that are currently randomly
failing with error on especially s390x and aarch64.
We observed the failing tests are calling `assert_in_out_err` method
calling `invoke_ruby` calling method.
Then when the `th_stdout.join(timeout)` or `th_stderr.join(timeout)` returns
`nil` as thread timeout in `invoke_ruby` method, it causes the error. [1][2]
The `test_timeout_scale` macro is to set the environment variable
`RUBY_TEST_TIMEOUT_SCALE` to increase the timeout in `apply_timeout_scale`
method as <new timeout> = <timeout> * <timeout scale>.
As an example, `TestBugReporter#test_bug_reporter_add` test's
maximum thread timeout was 56+ seconds for the default timeout 10 seconds. [3]
In this case setting `RUBY_TEST_TIMEOUT_SCALE=6` (6 * 10 = 60) is good enough
for 56+ seconds.
[1] https://github.com/ruby/ruby/blob/v2_7_1/tool/lib/envutil.rb#L149
[2] https://bugs.ruby-lang.org/issues/16492#note-8
[3] https://bugs.ruby-lang.org/issues/16492#note-4
Related: rhbz#1947938
2021-04-21 10:55:24 +02:00
Vít Ondruch
8a858ea256
Avoid possible timeout errors in TestBugReporter#test_bug_reporter_add.
...
Related: rhbz#1947938
2021-04-21 10:55:15 +02:00
Jun Aruga
3ca326ee95
Add ruby-default-gems dependency on irb.
...
Related: rhbz#1842989
2020-06-26 17:33:32 +02:00
Vít Ondruch
e7b80e8e7c
Fix require
behavior allowing to load libraries multiple times.
...
Resolves: rhbz#1842989
2020-06-26 17:33:15 +02:00
Jun Aruga
9b65bf6795
Ship racc binary.
...
Resolves: rhbz#1851388
2020-06-26 14:30:49 +02:00
Jun Aruga
d8e2548d44
Skip some tests.
...
* Skip unstable tests on s390x.
* Skip JIT tests in RHEL 8.
Related: rhbz#1817135
2020-05-30 06:50:14 +02:00
Jun Aruga
7916a42d9d
Update to Ruby 2.7.1 by merging Fedora master branch (commit: 2981648
)
...
Resolves: rhbz#1817135
2020-05-30 06:49:49 +02:00
Vít Ondruch
6299077765
Properly support %prerelease in %gemspec_ macros.
...
Related: rhbz#1672575
2019-07-11 11:51:42 +02:00
Jun Aruga
c29a112f31
Use ffi_closure_alloc to avoid segmentation fault by libffi on aarch64.
...
Resolves: rhbz#1727832
2019-07-10 20:08:20 +02:00
Pavel Valena
e3b4b9752e
IO.select on all platforms to wait for input
...
with recvfrom_nonblock and accept_nonblock
Resolves: rhbz#1719743
2019-07-04 12:52:51 +02:00
Jun Aruga
86bf30d871
Update to Ruby 2.6.3 by merging Fedora master branch (commit: 1cc2a49
)
...
Resolves: rhbz#1672575
2019-06-13 16:56:02 +02:00
Arjen Heidinga
b5b3a8bc0d
Add zlib-devel as BuildRequire
...
This is needed to compile zlib support. I think it is by accident available in the original buildroot, but not in mine.
I think it is better to explicitly name it.
Related: rhbz#1688758
2019-05-09 18:41:24 +02:00
Vít Ondruch
0eb5d3b889
Fix CovScan issues.
...
Resolves: rhbz#1628592
2019-04-23 13:23:44 +02:00
Vít Ondruch
214a591366
Don't ship .stp files when SystemTap support is disabled.
...
Related: rhbz#1657915
2019-04-18 07:43:40 +02:00
Vít Ondruch
2cf4920fa3
Update to Ruby 2.5.5.
...
* Remove Patch25: ruby-2.6.0-Update-for-tzdata-2018f.patch; subsumed
* Remove Patch11: ruby-2.6.0-Try-to-update-cert.patch; subsumed
* Remove Patch19: ruby-2.6.0-net-http-net-ftp-fix-session-resumption-with
-TLS-1.3.patch; subsumed
Resolves: rhbz#1688758
2019-04-18 07:39:17 +02:00
Jun Aruga
21af9f04d5
Refresh expired certificates to fix FTBFS.
...
Related: rhbz#1659807
2019-01-11 11:27:04 +01:00
Vít Ondruch
1637652b12
Fix Tokyo TZ tests.
...
Resolves: rhbz#1659807
2018-12-17 12:30:05 +01:00
Jun Aruga
d488a44d58
Update to Ruby 2.5.3.
...
Resolves: rhbz#1643092
2018-11-08 16:07:37 +01:00
Vít Ondruch
1ead6ac8f8
Properly harden package using -fstack-protector-strong.
...
Resolves: rhbz#1624168
2018-09-03 14:20:10 +02:00
Vít Ondruch
cd4ba485c1
Additional OpenSSL 1.1.1 fixes.
...
Related: rhbz#1616213
2018-08-31 12:21:55 +02:00
Jun Aruga
a56754b350
Fix generated rdoc template issues.
...
Resolves: rhbz#1612026
2018-08-31 12:17:12 +02:00
Vít Ondruch
2e08562f7c
Disable strong crypto policies to make test suite pass.
...
Related: rhbz#1616213
2018-08-16 13:07:26 +02:00
Vít Ondruch
4017f27397
Fix TLS 1.3 issues.
...
Related: rhbz#1616213
2018-08-16 13:06:00 +02:00
Troy Dawson
b894aec1aa
Related: bug#1614611
2018-08-11 23:44:57 +02:00
Troy Dawson
83d5f1fd45
Related: bug#1614611
2018-08-11 23:09:35 +02:00
Troy Dawson
0cd2e241e5
Related: bug#1614611
2018-08-11 22:15:13 +02:00
Florian Weimer
ab0834da77
Rebuild with fixed binutils
2018-07-31 11:16:50 +02:00
Igor Gnatenko
9fef07981c
Rebuild for new binutils
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-27 14:55:22 +02:00
Vít Ondruch
7c494340f9
Disable some test failing with OpenSSL 1.1.1.
2018-07-26 18:09:59 +02:00
Vít Ondruch
ae55d5722d
Avoid need of C++ compiler to pass the test suite.
2018-07-26 13:50:39 +02:00
Fedora Release Engineering
9f569993f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 03:48:17 +00:00
Pavel Valena
8ef3cc0ed4
Add macros to edit files lists in .gemspec
...
%gemspec_add_file and %gemspec_remove_file.
2018-05-17 13:10:00 +02:00
Vít Ondruch
bee5851fb0
Make %gemspec_{add,remove}_dep modify .gemspec provided by %setup macro.
...
The macros need to be udpated, since RPM 4.14+ can expand .gem files and
also also provide %{gem_name}.gemspec file used to rebuild the gem.
However, the .gemspec file is not in current directory, but directly in
%{_builddir}.
2018-05-03 14:53:49 +02:00
Vít Ondruch
b0274e84e7
Remove comment which does not apply anymore.
...
rhbz#1565960
2018-04-11 17:55:12 +02:00
Vít Ondruch
ecbc53b331
Revert "Use --with-setjmp-type=setjmp on aarch64 to work around gcc issue ( #1545239 )"
...
This reverts commit a3207ebb16
.
This should not be needed, since changes in GCC were reverted.
2018-04-10 09:55:29 +02:00
Vít Ondruch
f571c557e2
Conflict requirement needs to generate dependency.
...
If there is only conflict requirement, this still menas that there is
dependency on that package and appropriate requirement must be generated
(rhbz#1561487)
2018-04-10 09:53:37 +02:00
Pavel Valena
793a1c3612
Update to Ruby 2.5.1.
2018-04-10 09:51:17 +02:00
Vít Ondruch
39d1e08dc7
Disable additional SIGSEV handler test.
2018-03-06 10:47:15 +01:00
Vít Ondruch
8326796861
Re-enable GMP dependency.
2018-03-05 15:47:19 +01:00
Vít Ondruch
ae56326d8d
Don't force libraries used to build Ruby to its dependencies.
...
This, for example, allows to build Ruby against GMP, but doesn't force
libraries using Ruby to depend on GMP as well.
2018-03-05 15:18:50 +01:00
Vít Ondruch
d452ecad11
Disable SIGSEV handler tests.
...
SIGSEV does not provide correct output on AArch64.
https://bugs.ruby-lang.org/issues/13758
2018-03-01 16:50:10 +01:00
Vít Ondruch
3733c3cf5d
Revert "Add GMP dependency."
...
This causes issues with building other ruby packages, since it would
force every package to depend on gmp-devel. Reverting this until this
gets resolved upstream:
https://bugs.ruby-lang.org/issues/14422#note-6
This reverts commit 5624addc78
.
2018-03-01 12:17:04 +01:00
Vít Ondruch
7395ebdf85
Save some release number.
2018-02-28 16:32:50 +01:00
Florian Weimer
a3207ebb16
Use --with-setjmp-type=setjmp on aarch64 to work around gcc issue ( #1545239 )
2018-02-24 19:11:02 +01:00
Florian Weimer
43a2b51955
Rebuild with new LDFLAGS from redhat-rpm-config
2018-02-24 18:59:36 +01:00
Pavel Valena
e3ea6478d9
Fix: Multiple vulnerabilities in RubyGems
...
https://bugzilla.redhat.com/show_bug.cgi?id=1547431
https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/
* rubygems-2.5.0-multiple-vulnerabilities.patch
2018-02-23 16:14:22 +01:00
Pavel Valena
6ff9776922
Add gcc to BuildRequires
...
https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequire s_and_Requies
2018-02-21 16:41:27 +01:00
Jun Aruga
d074784f33
Fix invalid licenses.
2018-02-19 15:24:32 +01:00
Vít Ondruch
faaad7b7c5
Fix thread_safe test suite segfaults.
2018-02-13 15:04:28 +01:00