Commit graph

758 commits

Author SHA1 Message Date
Vít Ondruch
659ab67d45 Ignore that rubygems package install should be archful
This is the way it is for several releases and we have yet to see any
issue. But maybe introducing some `rubygems-filesystem` package is
something to consider in the future.
2024-01-02 18:39:35 +01:00
Vít Ondruch
e9b34ece96 Ignore missing racc and syntax_suggest manual pages 2024-01-02 18:39:35 +01:00
Vít Ondruch
bdb8baf9a9 Remove obsolete rpmlint filters
`shared-library-without-dependency` and
`library-not-linked-against-libc` checs were removed:

https://github.com/rpm-software-management/rpmlint/pull/970
2024-01-02 18:39:35 +01:00
Vít Ondruch
11dbe63f71 Ignore some rpmlint spelling errors. 2024-01-02 18:39:35 +01:00
Vít Ondruch
99d21ecc4c Upgrade to Ruby 3.3.0.
Resolves: rhbz#2255918
2024-01-02 18:39:35 +01:00
Vít Ondruch
94f6066440 Upgrade to Ruby 3.3.0 (bcb4706dac). 2023-12-22 15:09:09 +01:00
Vít Ondruch
b83dd88d26 Add bundled provides on multiple places
These libraries are released on their own release cycle and Ruby bundles
them. It is not always obvious if Ruby is upstream or the independent
project is upstream, but better to have more bundled provides to be sure
we don't ship vulnerable code.
2023-12-21 13:03:03 +01:00
Vít Ondruch
84e0e0b043 Extract Racc into separate gem.
We used to have Racc as an indepenent gem up until:

https://src.fedoraproject.org/rpms/ruby/c/baf046a6a4d17fa309c9d20fa3db949f6c24aacf

At that time, Racc was default gem and it was problematic. However,
with Ruby 3.3, Racc is not moved to be default gem instead. This would
not be reason for change on itself. But the issue this change is trying
to address is a possible conflict of ruby-bundled-gems package with
standalone rubygem-racc:

~~~
Error: Transaction test error:
  file /usr/lib64/gems/ruby/racc-1.7.3/racc/cparse.so from install of ruby-bundled-gems-3.3.0~20231219git8e6f63df47-184.fc40.x86_64 conflicts with file from package rubygem-racc-1.7.3-200.fc40.x86_64
  file /usr/share/gems/specifications/racc-1.7.3.gemspec from install of ruby-bundled-gems-3.3.0~20231219git8e6f63df47-184.fc40.x86_64 conflicts with file from package rubygem-racc-1.7.3-200.fc40.x86_64
~~~

There are different possible solutions discussed here:

https://lists.fedoraproject.org/archives/list/ruby-sig@lists.fedoraproject.org/thread/SS32RN2HU56LAOK2X6GRKU27FTJS6MA2/

Nevertheless, this seems to be the best solution for now.
2023-12-21 12:57:06 +01:00
Vít Ondruch
3a55e19226 Sort bundled gem version macros. 2023-12-21 10:34:05 +01:00
Vít Ondruch
e4f3f1aecb Upgrade to Ruby 3.3.0 (bcb4706dac). 2023-12-21 10:29:21 +01:00
Vít Ondruch
e0f4b48847 Upgrade to Ruby 3.3.0 (8e6f63df47). 2023-12-19 18:05:27 +01:00
Vít Ondruch
13308e05ec Upgrade to Ruby 3.3.0 (04f7be6126). 2023-12-15 16:13:29 +01:00
Vít Ondruch
224fa7843d Upgrade to Ruby 3.3.0 (e3631277c3). 2023-12-14 13:56:51 +01:00
Vít Ondruch
cde5c2f739 Upgrade to Ruby 3.3.0 (e51f9e9f75). 2023-12-14 11:25:37 +01:00
Vít Ondruch
b611f4d94f Drop obsolete comment 2023-12-13 16:55:28 +01:00
Vít Ondruch
3b14779a1f Upgrade to Ruby 3.3.0 (a7ad9f3836). 2023-12-13 16:06:37 +01:00
Vít Ondruch
d3eaae9cc2 Change again the way default gem home is configured
This reverts commit 5bd6a6753b.

This should be possible doable, because default gems are configurable
since:

https://github.com/rubygems/rubygems/pull/2841
2023-12-13 09:44:27 +01:00
Vít Ondruch
e0f12f33a9 Apply patch fixing UDPSocket#remote_address spec errors
While this will likely be just temporary, it is better to fix the error
then disable test case.
2023-12-11 14:58:43 +01:00
Vít Ondruch
f9a5991e7f Upgrade to Ruby 3.3.0 (1ab91b12fa). 2023-12-11 14:58:18 +01:00
Vít Ondruch
11fe1e202a Upgrade to Ruby 3.3.0-rc1. 2023-12-11 13:13:16 +01:00
Vít Ondruch
194728f9b7 --build-root option should be fixed again.
https://github.com/rubygems/rubygems/pull/7212
2023-12-07 17:02:02 +01:00
Vít Ondruch
7e78bc09b6 Upgrade to Ruby 3.3.0 (071df40495). 2023-12-07 17:02:02 +01:00
Jarek Prokop
8be4375c24 Re-enable tests that seem to pass now.
This should be fixed by:

b4571097df

And also previously "hidden" by `LANG` change in RPM:

3be76d7144
2023-12-07 15:56:08 +01:00
Vít Ondruch
891b64aafe Upgrade to Ruby 3.3.0 (79eb75a8dd). 2023-12-07 15:56:08 +01:00
Vít Ondruch
746685e50a Remove the sctrict io-console version requirement.
The strict require currently causes issue with io-console developemnt
versions such as `0.6.1.dev.1`. However:

1) upstream does not seems to be bothered with required version,
2) the use case for RDoc is currently pretty basic and the required
   `IO.console_size` is available since Ruby 1.9 \[[1]\].

Therefore dropping version should be fine.

[1]: ce969b7817
2023-12-07 15:56:08 +01:00
Vít Ondruch
bb54238269 Upgrade to Ruby 3.3.0 (24e0b185ab). 2023-12-07 15:56:08 +01:00
Vít Ondruch
03933b9692 Upgrade to Ruby 3.3.0 (ad3db6711c). 2023-12-07 15:56:08 +01:00
Vít Ondruch
865361ee6a Upgrade to Ruby 3.3.0 (a1e24ab484). 2023-12-07 15:56:08 +01:00
Vít Ondruch
8a805df2c8 Remark about embedded Racc having no influence on license. 2023-12-07 15:56:08 +01:00
Vít Ondruch
f039949b3c Re-enable TestCoverage#test_coverage_suspendable test
This was likely resolved by:

https://github.com/ruby/ruby/pull/8670
2023-12-07 15:56:08 +01:00
Vít Ondruch
a25407b731 Upgrade to Ruby 3.3.0 (c44d65427e). 2023-12-07 15:56:08 +01:00
Vít Ondruch
5db7137004 Disable "Defaulting to user installation" RubyGems message
This restores `gem spec` command output and therefore fixes build of
rubygem- packages.

https://github.com/rubygems/rubygems/issues/7082
2023-12-07 15:56:08 +01:00
Vít Ondruch
27183e139f --build-root option is broken, use --install-dir instead
https://github.com/rubygems/rubygems/issues/7083

This is essentially return to 68e54df6f9
2023-12-07 15:56:08 +01:00
Vít Ondruch
ddfdb3e8b4 Upgrade to Ruby 3.3.0 (ef3f9f1a68). 2023-12-07 15:56:08 +01:00
Vít Ondruch
f95edf7e7d Drop manual Requires/Provides in favor of automacitally generated. 2023-12-07 15:56:08 +01:00
Vít Ondruch
2410dfd180 Upgrade to Ruby 3.3.0 (35edc14ee1). 2023-12-07 15:56:08 +01:00
Vít Ondruch
df30dd7b21 Locally enable the RubyGems generator
This will help to generate the right Requires/Provides from shipped
.gemspec files without the need to list them explicitly.
2023-12-07 15:56:08 +01:00
Vít Ondruch
82714b2417 Correct "bundled" provides for rubygems 2023-12-07 15:56:08 +01:00
Vít Ondruch
18aaf36eef Upgrade to Ruby 3.3.0 (e029375a7d). 2023-12-07 15:56:08 +01:00
Vít Ondruch
0f26c40790 Use gem_ macros in %install section. 2023-12-07 15:56:08 +01:00
Vít Ondruch
05d11db9ba Rake .github directory was removed upstream.
https://github.com/ruby/rake/pull/333
2023-12-07 15:56:08 +01:00
Vít Ondruch
591d47c982 Use gem_ macros in %files section. 2023-12-07 15:56:08 +01:00
Vít Ondruch
6d1f5b2304 Upgrade to Ruby 3.3.0 (904413997f). 2023-12-07 15:56:08 +01:00
Vít Ondruch
b2c40aa9c2 Use gem_spec macro for default gem .gemspec files
And extract all the gem versions into global version variables. This
allow to make the updste script a bit simpler by dropping multiple ways
of representing gem versions.
2023-12-07 15:56:08 +01:00
Vít Ondruch
e1ba2fcc13 Move "erb" executable / man page into ruby-default-gems package
The executable cannot work without the "gem" bits shipped in
ruby-default-gems package.
2023-12-07 15:56:08 +01:00
Vít Ondruch
e52d9f552d Conver hyphnes to underscores for version macros.
Hyphens cannot be part of macro names.

Also please note that the `%{gsub:...}` macro is available since RPM
4.19+. Lua would need to be used for older RPM:

https://github.com/rpm-software-management/rpm/pull/2181
2023-12-07 15:56:08 +01:00
Vít Ondruch
a9976c0e69 Move the racc_version to bundle gems section. 2023-12-07 15:56:08 +01:00
Vít Ondruch
25ea926d53 Upgrade to Ruby 3.3.0 (c8c35ded74). 2023-12-07 15:56:08 +01:00
Vít Ondruch
7653e37fc1 Upgrade to Ruby 3.3.0 (3c11cdbcfe). 2023-12-07 15:56:08 +01:00
Vít Ondruch
fec49feda7 Upgrade to Ruby 3.3.0-preview2 (e50fcca9a7). 2023-12-07 15:56:08 +01:00