Commit Graph

543 Commits

Author SHA1 Message Date
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
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
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
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
Vít Ondruch
2134f5703e Disable Tokyo TZ tests.
They are broken by recen tzdata update.
2018-02-13 14:43:58 +01:00
Vít Ondruch
637f46e17d Add conflicts RPM generator.
This leverages RPM Conflicts instead of expanding the version ranges,
which does not work as reliably for this purpose.
2018-02-13 13:50:15 +01:00
Vít Ondruch
b15350c441 Use 'with' operator in RPM dependency generator. 2018-02-13 13:50:15 +01:00
Vít Ondruch
5624addc78 Add GMP dependency.
This improves performance of some mathematical operations.

https://bugs.ruby-lang.org/issues/8796
2018-02-13 13:50:15 +01:00
Vít Ondruch
72c55bdcb2 Drop obsolete ldconfig scriptlets.
https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
2018-02-13 13:50:15 +01:00
Fedora Release Engineering
f49edf212f - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 13:25:27 +00:00
Björn Esser
138a8a192c
Rebuilt for switch to libxcrypt 2018-01-20 23:07:50 +01:00
Vít Ondruch
10a4e45e89 Fix wrong changelog release. 2018-01-09 13:09:39 +01:00
Vít Ondruch
b1741da5b7 Fix segfaults during generating of documentation.
This caused issued during build of rubygem-{webmock,ffi} and was fixed
as part of https://bugs.ruby-lang.org/issues/14261.
2018-01-09 12:50:06 +01:00
Vít Ondruch
9436f5bc42 Revert "Temporary bump rubygem-json release."
This reverts commit 45b099cf05.
2018-01-03 16:16:03 +01:00
Vít Ondruch
45b099cf05 Temporary bump rubygem-json release.
This allow to rebuild independent rubygem-json package, which would have
otherwise higher release and caused issues with build of other packages.
2018-01-03 12:10:23 +01:00
Vít Ondruch
c2db65dbc7 Upgrade to Ruby 2.5.0. 2018-01-03 12:07:19 +01:00
Vít Ondruch
ad05a88747 Check hardening only on Fedora. 2017-11-01 16:22:02 +01:00
Vít Ondruch
150d4f5dc0 Drop 'config.h' source.
This source is not needed since c467007d.
2017-10-30 16:40:48 +01:00
Jun Aruga
9bc7bec4a7 Improve "with" conditional statement as inline. 2017-10-27 15:31:17 +02:00
Jun Aruga
9f971e4cf2 Add macro to remove rubypick dependency.
Because Fedora Ruby modularity is needed to build without rubypick package.
2017-10-26 13:00:08 +02:00
Jun Aruga
26252866ff Add macros to remove systemtap, git and cmake dependencies. 2017-10-20 09:29:46 +02:00
Pavel Valena
535c42e96c Update to Ruby 2.4.2.
Patch10 and Patch11 subsumed.
2017-09-19 16:19:16 +02:00
Vít Ondruch
c9dec05f47 Drop ruby-devel dependency on rubypick, which is pulled in transtitively. 2017-09-08 14:10:33 +02:00
Vít Ondruch
ad2b787fea Temporary disable checksec on PPC64LE (rhbz#1479302). 2017-08-11 13:31:49 +02:00
Vít Ondruch
30f6c6490e Fix "IOError: stream closed" errors affecting Puma. 2017-08-11 12:42:24 +02:00
Fedora Release Engineering
7e690d1b1d - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 07:50:57 +00:00
Fedora Release Engineering
6e9956416e - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 13:20:58 +00:00
Vít Ondruch
fde2a68e73 OpenSSL 1.1.0f-3 disables some weak ciphers.
Adjust the package to pass the tests suite.
2017-07-20 16:56:56 +02:00
Vít Ondruch
5c42276905 Update to Ruby 2.4.1. 2017-04-03 16:11:07 +02:00
Vít Ondruch
4571daf34e Be more careful about RubyGems directory ownership.
And make this aligned with independent rubygems package.
2017-03-08 19:09:01 +01:00
Vít Ondruch
101851f2d3 Fix OpenSSL symlinks. 2017-02-23 09:23:29 +01:00
Fedora Release Engineering
8d50b10ccb - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 11:54:53 +00:00
Vít Ondruch
c467007dbb Use standardized multilib solution (rhbz#1412274).
This helps platform specific difference between builds.
2017-02-03 15:01:38 +01:00
Vít Ondruch
415daf8d3b Fix GCC 7.x compatibility (rhbz#1417590). 2017-02-03 14:53:23 +01:00
Vít Ondruch
f540c43dae Apply patch fixing rubygem-mongo build failures. 2017-01-17 16:22:43 +01:00
Mamoru TASAKA
277ae4829a Rebuild again for f26-ruby24 sidetag 2017-01-13 06:37:59 +09:00
Igor Gnatenko
ab16bf76ef Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:40 +01:00
Vít Ondruch
9a0bd11655 Link files into directory to avoid dir => symlink isues.
It is not easy to change the directory to simplink in RPM world. Hence
keep everything in the directory and just link back the files.
2017-01-12 09:00:21 +01:00
Vít Ondruch
b04585e064 Add rubygem-io-console dependency for rubygem-rdoc.
The io-console is now the hard requirement and RDoc does not work
without it.
2017-01-09 18:14:10 +01:00
Vít Ondruch
3130f89edd Upgrade to Ruby 2.4.0.
Move gemified xmlrpc into subpackage.
Move gemified openssl into subpackage.
Tk is removed from stdlib.
Extend 'gem_' macros for pre-release version support.
2017-01-09 15:58:21 +01:00
Vít Ondruch
d14e3f780f Update to Ruby 2.3.3. 2016-11-22 13:49:04 +01:00
Vít Ondruch
b3e0a8c314 Exclude json.rb from ruby-libs (rhbz#1397370). 2016-11-22 13:25:46 +01:00
Vít Ondruch
324c2d071e Ensure there is not forgotten any certificate. 2016-11-18 17:22:30 +01:00
Vít Ondruch
0a64e4b921 Update to Ruby 2.3.2. 2016-11-18 16:59:26 +01:00
Vít Ondruch
2221c5b843 Avoid conflict between OpenSSL 1.0.x and 1.1.x. 2016-10-24 10:48:20 +02:00
Vít Ondruch
4fb1d9c02d Add gemspec_add_dep and gemspec_remove_dep macros. 2016-10-21 16:56:32 +02:00
Vít Ondruch
dbf79976ab Harden package. 2016-10-21 16:50:40 +02:00
Vít Ondruch
c4c93c1113 Use continue to use OpenSSL 1.0 for the moment.
Only upcoming Ruby 2.4 support OpenSSL 1.1 so far:

https://bugs.ruby-lang.org/issues/12830
2016-10-21 16:49:12 +02:00
Vít Ondruch
7684b6800d Workaround "an invalid stdio handle" error on PPC (rhbz#1361037). 2016-08-10 18:26:49 +02:00
Vít Ondruch
b1466a4c8f Make symlinks for json gem. 2016-07-12 13:50:14 +02:00
Vít Ondruch
cad4c2ab27 Requires rubygem(json) for rubygem-rdoc (rhbz#1325022).
This makes it compatible with rubygem-rdoc package built from rdoc gem.
2016-05-23 14:02:23 +02:00
Vít Ondruch
f2347fa378 Update to Ruby 2.3.1. 2016-04-29 23:19:03 +02:00
Peter Robinson
dd6ce9ce9c Add rubypick and rubygems requires to ruby-devel to deal with BuildRequires failures in koji, this likely needs to be revisited post mass rebuild but we need it now to ensure we don't have a high failure 2016-02-03 14:35:12 +00:00
Mamoru TASAKA
2414227a75 kill one test for now 2016-01-15 14:35:09 +09:00
Mamoru TASAKA
55ecc214e1 Backport trunk@53455 to make ruby-qt build 2016-01-15 14:12:34 +09:00
Vít Ondruch
5ed2c68dc5 Explicitly require RDoc, since weak dependencies are ignored by default. 2016-01-06 15:11:29 +01:00
Vít Ondruch
16c9e1e6b0 Load RubyGems prior ABRT hook to properly rescue RubyGems exceptions. 2016-01-06 13:35:09 +01:00
Vít Ondruch
4c12d4e704 Upgrade to Ruby 2.3.0. 2016-01-05 11:00:48 +01:00
Vít Ondruch
e467536081 Update to Ruby 2.2.4. 2015-12-21 13:08:17 +01:00
Vít Ondruch
b3ffc2fef6 Move the ABRT hook test into separate file. 2015-12-13 19:36:58 +01:00
Vít Ondruch
e4e06c7ce8 Ensure that abrt hook is used. 2015-12-11 10:56:00 +01:00
Vít Ondruch
c0513dfb8c Fix ABRT hook autoloading. 2015-12-10 15:59:05 +01:00
Michal Toman
bd75b0a7fe Add support for MIPS architecture to config.h 2015-09-04 14:53:28 +02:00
Vít Ondruch
8e1e241814 Fix RubyGems version. 2015-09-02 15:47:20 +02:00
Vít Ondruch
b945bce4cb Update to Ruby 2.2.3. 2015-09-01 14:25:32 +02:00
Vít Ondruch
693a96cb40 Fix test broken by disabled SSLv3 in OpenSSL. 2015-09-01 13:54:43 +02:00
Vít Ondruch
d954989b45 Fix for "dh key too small" error of OpenSSL 1.0.2+. 2015-06-23 13:09:05 +02:00
Dennis Gilmore
3131d89fde - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 22:37:48 +00:00
Vít Ondruch
3e4eba9070 Fix the git BR following the git package split. 2015-06-10 15:20:27 +02:00
Vít Ondruch
4e3eb75037 Tcl/Tk switch is not needed anymore. 2015-05-11 12:18:15 +02:00
Vít Ondruch
e3316c21a0 Fix upgrade path.
rubygem-io-console's version was recently bumped in F21 due to update of
Ruby to version 2.1.6 and it makes the higher release to win.
2015-05-04 17:07:01 +02:00
Josef Stribny
55367be78b Bump release because of gems 2015-04-14 12:13:39 +02:00