Commit Graph

519 Commits

Author SHA1 Message Date
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
Josef Stribny
05eb8b6a78 Update to Ruby 2.2.2 2015-04-14 09:51:46 +02:00
Vít Ondruch
b9da2e689a Apply upstream fix to TestIO#test_seek tests. 2015-03-24 14:26:56 +01:00
Vít Ondruch
a0a4c7571b Workaround issues with TestIO#test_seek. 2015-03-24 08:42:35 +01:00
Vít Ondruch
b92051c2fd Fix libruby.so versions in SystemTap scripts (rhbz#1202232). 2015-03-23 11:01:10 +01:00
Vít Ondruch
4612226c7e Clarify Rake's license. 2015-03-11 13:00:26 +01:00
Vít Ondruch
4a07d55953 License clarifications. 2015-03-09 17:21:07 +01:00
Vít Ondruch
3db4917d37 Enable some tests fixe in upstream. 2015-03-04 15:31:35 +01:00
Vít Ondruch
1af12992cf Update to Ruby 2.2.1. 2015-03-04 11:49:19 +01:00
Till Maas
203ef6c1f7 Rebuilt for Fedora 23 Change
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
2015-02-21 22:25:31 +01:00
Vít Ondruch
46f541b5e6 Fix directory ownership. 2015-02-05 17:25:22 +01:00
Vít Ondruch
351bd6cd02 Initialize all load paths in operating_system.rb 2015-02-04 13:54:20 +01:00
Vít Ondruch
c8dee5c194 Add RubyGems stub headers for bundled gems. 2015-02-03 16:19:49 +01:00
Vít Ondruch
329ba54c7e Make operating_system.rb more robust.
This avoids issues with incomplete rbconfig.rb such as:

https://bugs.ruby-lang.org/issues/10822
2015-02-03 14:47:18 +01:00
Vít Ondruch
8dd648e754 Add missing rubygem-test-unit dependency on rubygem-power_assert. 2015-01-29 09:11:51 +01:00
Mamoru TASAKA
11e59a1355 Bump release to avoid EVR issue on rubygem-test-unit 2015-01-15 20:27:34 +09:00
Vít Ondruch
9195984ef3 Upgrade to Ruby 2.2.0.
- Explicitly list RubyGems directories to avoid accidentaly packaged content.
- Split test-unit and power_assert gems into separate sub-packages.
- Drop libdb dependency in favor of gdbm.
2015-01-15 10:14:24 +01:00
Orion Poplawski
de383e7548 Disbable sse2 on i668 (bug #1101811) 2014-12-26 16:53:38 -07:00
Vít Ondruch
1610d07dcd Update to Ruby 2.1.5. 2014-11-28 17:02:55 +01:00
Vít Ondruch
79beb34d80 Bump release to satisfy upgrade path. 2014-10-31 08:59:55 +01:00
Vít Ondruch
4375d5ca30 Fix "invalid regex" warning for non-rubygem packages (rhbz#1154067). 2014-10-30 13:59:52 +01:00
Vít Ondruch
2400b2d574 Include only vendor directories, not their content (rhbz#1114071). 2014-10-29 15:26:09 +01:00
Vít Ondruch
61fd310e63 Update to Ruby 2.1.4. 2014-10-29 15:22:34 +01:00
Vít Ondruch
1835dddc24 Drop the unused patch_level. 2014-08-27 17:25:20 +02:00
Vít Ondruch
8e2921fd5a Use load macro introduced in RPM 4.12. 2014-08-27 17:25:19 +02:00
Peter Robinson
b9d9d0c37a - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 00:28:26 +00:00
Vít Ondruch
629648da07 Workaround OpenSSL::TestPKeyRSA#test_sign_verify_memory_leak timeouts on ARM. 2014-06-27 12:49:55 +02:00
Peter Robinson
c31c7edb69 Fix FTBFS, Specify tcl/tk 8.6, Add upstream patch to build with libffi 3.1 2014-06-24 12:07:04 +01:00
Dennis Gilmore
96581d5c96 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 22:07:12 -05:00
Jaroslav Škarvada
ce47215a63 - Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86 2014-05-21 12:36:54 +02:00
Josef Stribny
d09c32278d Update to Ruby 2.1.2 2014-05-20 13:24:29 +02:00
Vít Ondruch
098cd8787a Fix typo. 2014-05-07 15:43:31 +02:00
Vít Ondruch
efdf386e31 Kill bundled certificates. 2014-05-07 15:40:54 +02:00
Vít Ondruch
0a113b08ab Extract load macro into external file and include it. 2014-05-06 14:32:08 +02:00
Vít Ondruch
eab15b0506 Remove useless exclude (rhbz#1065897). 2014-05-06 08:18:00 +02:00
Vít Ondruch
f49b015f1f Correctly expand $(prefix) in some Makefiles, e.g. eruby. 2014-04-23 16:36:57 +02:00
Vít Ondruch
3f594feabd Revert regression of Hash#reject. 2014-04-09 09:34:30 +02:00
Vít Ondruch
5ef051104a Merge branch 'private-ruby-2.1' into master
Conflicts:
	.gitignore
	ruby.spec
	rubygems-2.0.0-Do-not-modify-global-Specification.dirs-during-insta.patch
	rubygems-2.0.0-Fixes-for-empty-ruby-version.patch
	sources
2014-04-08 08:45:28 +02:00
Vít Ondruch
df08120417 Update to Ruby 2.1.1. 2014-03-05 15:30:45 +01:00
Vít Ondruch
724ffdbb53 Add RPM dependency generators for RubyGems. 2014-03-03 17:54:50 +01:00
Josef Stribny
b038223eae Don't link cert.pem explicitely 2014-02-10 14:17:53 +01:00
Josef Stribny
bbb52ff9a6 Don't link cert.pem explicitely 2014-02-10 14:13:33 +01:00
Vít Ondruch
9fc3f49bd6 Backport fix for floating point issues on i686. 2014-02-08 12:51:30 +01:00
Vít Ondruch
7347c8fd58 Re-enabled "TestProcess#{test_clock_getres_constants,test_clock_gettime_constants}
The issue was fixed with Kernel 3.12.9-300.fc20.armv7hl.
http://bugs.ruby-lang.org/issues/9008
2014-02-06 09:04:54 +01:00
Vít Ondruch
04104b76f3 "Errno::EINVAL: Invalid argument - recvmsg(2)" works with recent kernel.
Tested with Kernel 3.12.8-300.fc20.x86_64.
https://bugs.ruby-lang.org/issues/9124
2014-02-06 09:00:08 +01:00
Vít Ondruch
199081935e Add support for ppc64le arch (rhbz#1053263). 2014-01-15 10:23:01 +01:00
Vít Ondruch
c4c64c841c Add support for ppc64le arch (rhbz#1053263). 2014-01-15 10:16:52 +01:00
Vít Ondruch
e11dee8544 Don't generate documentation on unexpected places. 2014-01-10 16:06:12 +01:00
Vít Ondruch
86a8f5cf5a Bump the release and add changelog. 2014-01-10 15:26:24 +01:00
Vít Ondruch
0f37fb5c2c Use %{_rpmconfigdir} for specifying RPM config dir. 2014-01-03 16:21:47 +01:00
Vít Ondruch
97430c9392 Backport regenerated certificates for IMAP tests. 2014-01-03 16:16:42 +01:00
Vít Ondruch
8fc18e146b Re-enable fixed test case. 2014-01-03 16:16:42 +01:00
Vít Ondruch
16f19fee74 Remove obsoleted obsoletes. 2014-01-03 16:16:42 +01:00
Vít Ondruch
7b70466c53 Upgrade to Ruby 2.1.0. 2014-01-03 16:16:42 +01:00
Vít Ondruch
f8855bc5dd Ignore IMAP tests due to expired certificate. 2014-01-03 16:16:42 +01:00
Vít Ondruch
639617a0ed Backport regenerated certificates for IMAP tests. 2014-01-03 14:35:04 +01:00
Vít Ondruch
e7fbfad6e4 Fix RubyGems version (rhbz#1036708). 2014-01-03 14:29:26 +01:00
Vít Ondruch
641dc00b5f Move RPM macros into /usr/lib/rpm/macros.d directory.
This is preferred locatin for RPM macros, since macro files are not
typical configuration files (rhbz#846679).
2013-12-23 17:55:54 +01:00
Vít Ondruch
2b7dccf61f Upgrade to Ruby 2.1.0 (r44362). 2013-12-23 12:49:33 +01:00
Vít Ondruch
0492f50518 Update to Ruby 2.1.0 (r44289). 2013-12-19 16:02:49 +01:00
Vít Ondruch
f84b34dea7 Add git and cmake BR to execute all RubyGems test cases. 2013-12-19 13:52:28 +01:00
Vít Ondruch
453497595c Fix RubyGems test suite. 2013-12-19 12:26:37 +01:00
Vít Ondruch
360d2b99cd Upgrade to Ruby 2.1.0 (r44266). 2013-12-18 11:50:54 +01:00
Vít Ondruch
ef80e1fa9d Allow MD5 in OpenSSL for tests. 2013-12-02 14:12:43 +01:00
Vít Ondruch
eac4c415ba Update to Ruby 2.0.0-p353.
- Allow MD5 in OpenSSL for tests.
- Fix heap overflow in floating point parsing (CVE-2013-4164).
2013-11-27 16:07:24 +01:00
Vít Ondruch
4f8b7ad60d Add remark about the upcomming ARM issue fix. 2013-11-12 13:28:42 +01:00
Vít Ondruch
8f30dbcc0b Workaround several failing tests. 2013-10-09 16:10:06 +02:00
Vít Ondruch
835bcc89f9 Update versions of significantly updated patches. 2013-10-07 13:08:54 +02:00
Vít Ondruch
a03b2d278b Update to Ruby 2.1.0.preview1. 2013-10-07 13:00:25 +02:00
Vít Ondruch
3a0654b687 Move Psych symlinks to vendor dir, to prevent F18 -> F19 upgrade issues (rhbz#988490). 2013-07-30 16:38:59 +02:00
Vít Ondruch
142da175a2 Add forgotten psych.rb link into rubygem-psych to fix "private method `load'
called for Psych:Moduler" error (rhbz#979133).
2013-07-15 09:58:41 +02:00
Vít Ondruch
49825df9b4 Use system-wide cert.pem. 2013-07-12 16:24:11 +02:00
Vít Ondruch
ed87733a22 Fix macros in comments. 2013-07-12 14:55:45 +02:00
Vít Ondruch
1fdf929486 Make symlinks for psych gem to ruby stdlib dirs (rhbz#979133). 2013-07-12 14:55:07 +02:00
Vít Ondruch
b2e10a3b7c Enable test_spawn_too_long_path, since it was fixed by upstream. 2013-07-11 11:04:16 +02:00
Vít Ondruch
127768a63e Enable TestRbConfig, since it was fixed upstream. 2013-07-11 11:03:29 +02:00
Vít Ondruch
8ed2f329ec Fixes multilib conlicts of .gemspec files. 2013-07-11 11:02:00 +02:00
Vít Ondruch
7a3d8e78c6 Fix RubyGems search paths when building gems with native extension (rhbz#979133). 2013-07-04 14:47:55 +02:00
Vít Ondruch
06a69a4fd9 Fix RubyGems version. 2013-07-02 12:46:48 +02:00
Vít Ondruch
e91db1d96b Fix DESTDIR issue once more (rhbz#921650). 2013-07-02 12:18:50 +02:00
Vít Ondruch
1e68c10ca8 Better support for build without configuration (rhbz#977941). 2013-07-02 12:17:15 +02:00
Vít Ondruch
ca9cb26aac Add support for ABRT autoloading. 2013-07-01 13:08:08 +02:00
Vít Ondruch
26512adf37 Update to Ruby 2.0.0-p247 (rhbz#979605).
Fix CVE-2013-4073.
Fix for wrong makefiles created by mkmf (rhbz#921650).
2013-07-01 12:03:01 +02:00
Vít Ondruch
63dd7b41ef Add aarch64 support (rhbz#926463). 2013-05-21 12:49:40 +02:00
Vít Ondruch
1ae6ae5b62 Fix build against OpenSSL with enabled ECC curves. 2013-05-21 11:30:34 +02:00
Vít Ondruch
486dd7a45b The exec_prefix seems to be correct now. 2013-05-20 15:58:21 +02:00
Vít Ondruch
e1890f92f2 Update to Ruby 2.0.0-p195 (rhbz#917374).
Fix object taint bypassing in DL and Fiddle (CVE-2013-2065).
2013-05-20 15:56:24 +02:00
Vít Ondruch
ec047534c7 Bump release and add changelog entries. 2013-04-30 14:43:26 +02:00
Vít Ondruch
4f6b4d4bb4 Filter automatically generated provides of private libraries (rhbz#947408). 2013-04-30 14:41:22 +02:00
Vít Ondruch
cdb74fa5c8 Fix %{gem_extdir_mri} preparation. 2013-04-23 12:26:48 +02:00
Vít Ondruch
893a03a0cf Move RubyGems macro definition into macros.rubygems file. 2013-04-19 14:48:40 +02:00
Vít Ondruch
cf21f0581e Move the macros definition into macros.ruby file. 2013-04-19 14:47:55 +02:00
Vít Ondruch
bdaca0631c Fix indentation. 2013-03-23 00:41:22 +01:00
Vít Ondruch
61fb1adee2 Fix RbConfig::CONFIG['exec_prefix'] returns empty string (rhbz#924851). 2013-03-22 23:02:04 +01:00
Vít Ondruch
8f31ccc919 Prevent random test failures. 2013-03-22 10:09:09 +01:00
Vít Ondruch
1757c4302b Make Ruby buildable without rubypick. 2013-03-21 13:26:25 +01:00
Mamoru TASAKA
bc925acb7d Don't mark rpm config file as %config (fpc#259) 2013-03-08 16:38:23 +09:00
Vít Ondruch
b0d63dbf0f Avoid "method redefined;" warnings due to modified operating_system.rb.
Fix strange paths created during build of binary gems.
2013-03-05 08:35:05 +01:00
Vít Ondruch
a9ecc1d687 Prevent squash of %gem_install with following line. 2013-02-26 08:41:51 +01:00
Vít Ondruch
57ec2c6da2 Provide to %{ruby_extdir_mri} in preparation for better JRuby support. 2013-02-25 12:49:23 +01:00
Vít Ondruch
eba90976c0 Update to Ruby 2.0.0-p0. 2013-02-25 12:46:22 +01:00
TASAKA Mamoru
405ae9bea2 Move test-unit.gemspec to -libs subpackage for now because rubygems
2.0.0 does not create this
2013-02-25 17:06:45 +09:00
Vít Ondruch
12131c1727 Fix issues with wrong value of Rubygem's shebang introduced in r39267. 2013-02-22 21:54:58 +01:00
Vít Ondruch
a97a9bad50 Update changelog entry. 2013-02-22 14:36:35 +01:00
Vít Ondruch
19c0535a63 Fix random WEBRick test failures. 2013-02-22 14:32:51 +01:00
Vít Ondruch
565e8feaf2 Fix rubygem-bigdecimal version.
Upstream patch applied, until it is backported for 2.0.0.
2013-02-22 14:32:51 +01:00
Vít Ondruch
9bef4a9bb1 Upgrade to Ruby 2.0.0 (r39387). 2013-02-22 14:32:51 +01:00
Vít Ondruch
65fdd909e8 Change to backport error number. 2013-02-22 14:31:52 +01:00
Vít Ondruch
72e167a6f8 One PPC error was fixed, other was introduced. 2013-02-22 14:31:52 +01:00
Vít Ondruch
58664af968 Adjust the patch to pass test_archdirs(TestRbConfig).
This is hopefuly better aligned with upstream intentions.
2013-02-22 14:31:52 +01:00
Vít Ondruch
deee8f95aa Revert "Add architecture dependency on ruby-libs to ruby-irb."
This reverts commit d3938ffb0a8cf3e4917fd8a2ad8e491791ff23d0, since it
produces build error:

BuildError: mismatch when analyzing
ruby-irb-2.0.0.0-0.1.r39357.fc19.noarch.rpm, rpmdiff output was:
removed     REQUIRES ruby-libs(x86-64) = 2.0.0.0
added       REQUIRES ruby-libs(x86-32) = 2.0.0.0
2013-02-22 14:31:52 +01:00
Vít Ondruch
111d4ef777 Add reference to upstream ticket possibly removing one patch. 2013-02-22 14:31:52 +01:00
Vít Ondruch
56d12042aa Ensure that rubygem-bigdecimal has higher release then the one from Ruby 1.9.3. 2013-02-22 14:31:51 +01:00
Vít Ondruch
cdd0186c31 Upgrade to Ruby 2.0.0 (r39357). 2013-02-22 14:31:49 +01:00
Vít Ondruch
03c34a7e1f Macros should not be expanded during Ruby build. 2013-02-22 14:31:19 +01:00
Vít Ondruch
bb479d9770 Create the .%{gem_dir} and allow to override gem installation dir. 2013-02-22 14:31:18 +01:00
Vít Ondruch
2ec8c6e8c9 Introduce %gem_install macro. 2013-02-22 14:31:18 +01:00
Vít Ondruch
9c188645b4 Upgrade to Ruby 2.0.0 (r39237). 2013-02-22 14:30:38 +01:00
Vít Ondruch
f731780a81 Upgrade to Ruby 2.0.0 (r39217). 2013-02-22 14:29:49 +01:00
Vít Ondruch
14d28871b5 Update rubygems --install-dir patch. 2013-02-22 14:29:14 +01:00
Vít Ondruch
bf92566673 Upgrade to Ruby 2.0.0 (rc2). 2013-02-22 14:29:14 +01:00
Vít Ondruch
10f5cf664b Add architecture dependency on ruby-libs to ruby-irb. 2013-02-22 14:28:45 +01:00
Vít Ondruch
f4e4d19314 Rename the rubygems patch to follow rubygems version. 2013-02-22 14:28:45 +01:00
Vít Ondruch
e811eb017b Fix "gem install --install-dir" behavior. 2013-02-22 14:28:44 +01:00
Vít Ondruch
2096cfc8bc Add ruby(runtime_executable) virtual provide, which is later used by RubyPick. 2013-02-22 14:27:29 +01:00