Commit Graph

657 Commits

Author SHA1 Message Date
Vít Ondruch
395ef05d65 Exclude irb.rb from ruby-libs.
This file is just part of rubygem-irb.
2019-03-25 15:00:51 +01:00
Vít Ondruch
9d08846cc7 Link IRB files instead of directories.
During update, RPM cannot simply replace directory by link to direcotry,
therefore create the directory structure and link the files there one by
one (rhbz#1691039).
2019-03-21 10:45:11 +01:00
Vít Ondruch
5aa32e278d Link IRB back to StdLib.
This avoids issues running `$ bin/rails console --sandbox`, which
otherwise breaks with error such as:

~~~
$ bin/rails console --sandbox
Traceback (most recent call last):
	12: from bin/rails:4:in `<main>'
	11: from bin/rails:4:in `require'
	10: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/commands.rb:18:in `<top (required)>'
	 9: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command.rb:44:in `invoke'
	 8: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command.rb:70:in `find_by_namespace'
	 7: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command/behavior.rb:79:in `lookup'
	 6: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command/behavior.rb:79:in `each'
	 5: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command/behavior.rb:80:in `block in lookup'
	 4: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command/behavior.rb:80:in `each'
	 3: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command/behavior.rb:84:in `block (2 levels) in lookup'
	 2: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/command/behavior.rb:84:in `require'
	 1: from /builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/commands/console/console_command.rb:3:in `<top (required)>'
/builddir/.gem/ruby/gems/railties-5.2.2.1/lib/rails/commands/console/console_command.rb:3:in `require': cannot load such file -- irb (LoadError)
~~~
2019-03-19 15:21:09 +01:00
Vít Ondruch
f4c0ae4dea Upgrade to Ruby 2.6.2. 2019-03-14 17:53:29 +01:00
Vít Ondruch
392287d18b Fix ".include =" support in openssl.cnf.
Because of rhbz#1668916, OpenSSL now supports = character in
openssl.cnf.
2019-03-05 10:39:40 +01:00
Igor Gnatenko
a889754fa2 Rebuild for readline 8.0 2019-02-17 09:30:52 +01:00
Vít Ondruch
f3953123c0 Don't ship .stp files when SystemTap support is disabled. 2019-02-07 15:16:51 +01:00
Vít Ondruch
17f23f30d6 Upgrade to Ruby 2.6.1. 2019-01-31 12:42:56 +01:00
Igor Gnatenko
bc094d8811 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:45 +01:00
Vít Ondruch
b610699f35 Upstream fix adding -C flag instead of changing directory for gem build. 2019-01-24 17:18:59 +01:00
Vít Ondruch
1e60df6dc1 Loosen RDoc dependency. 2019-01-24 15:15:00 +01:00
Vít Ondruch
bb1cbacab5 Extract composition of dependecy strings into helper. 2019-01-24 10:38:43 +01:00
Vít Ondruch
d66ece5f5d Properly generate "ruby(rubygems)" versioned dependencies. 2019-01-24 10:38:43 +01:00
Vít Ondruch
0c8cdc456b Upgrade to Ruby 2.6.0. 2019-01-17 08:31:01 +01:00
Björn Esser
bb26a282aa
Rebuilt for libcrypt.so.2 (#1666033) 2019-01-14 18:53:16 +01:00
Jun Aruga
2506a2faa2 Refresh expired certificates to fix FTBFS. 2019-01-11 11:15:39 +01:00
Vít Ondruch
c80ecd9db9 Fix Tokyo TZ tests. 2018-11-13 10:43:47 +01:00
Jun Aruga
5dcc35c709 Use official URL for Source0. 2018-10-26 19:15:46 +02:00
Pavel Valena
7fa10a167d Fix typo. 2018-10-23 13:12:35 +02:00
Pavel Valena
5bf57b1504 Fix: return default path with nonexistent home dir 2018-10-23 13:12:19 +02:00
Jun Aruga
32488add5b Update to Ruby 2.5.3. 2018-10-22 12:12:21 +02:00
Vít Ondruch
7c66ce151d Properly harden package using -fstack-protector-strong. 2018-09-03 14:11:55 +02:00
Vít Ondruch
d5e84a533c Add --with-cxxflags configuration for %gem_install macro.
https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org/message/3LTI2MQVBFNNLGLLA5JTYPNAFP7SQGAI/
2018-08-30 14:29:48 +02:00
Vít Ondruch
e91d1127db Additional OpenSSL 1.1.1 fixes. 2018-08-30 13:07:30 +02:00
Vít Ondruch
b19096d798 Cleanly apply patches. 2018-08-30 13:06:14 +02:00
Jun Aruga
ec97a0708b Fix generated rdoc template issues. 2018-08-30 13:06:11 +02:00
Vít Ondruch
936827a34b Properly execute entire test suite. 2018-08-13 16:10:45 +02:00
Vít Ondruch
91a9a89fab Fix TLS 1.3 issues. 2018-08-13 15:17:14 +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
561c76845a Fix typos in macro description. 2018-05-03 15:16: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
dcd292bb5a Add missing patch15.
This patch was introduced by ae56326d8d commit.
2018-03-09 09:25:41 +01: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