Hi list,
rubygems changed how and where plugins are installed, mostly for
speeding up the loading of the gems [1]. Plugins are now installed as
%{name}_plugin.rb into %gem_base/plugins/.
This is a problem, as our current ruby packaging does not account for
that and this broke the build of yard[2].
Any ideas how this can be addressed? Fedora solved this problem when
rebasing to ruby 3.0 rather easily:
https://src.fedoraproject.org/rpms/ruby/pull-request/76#request_diff But
we cannot use their fix as it is, because we autogenerate the file
lists, so we'll have to add some version check to the generator? I am
honestly not really familiar with the inner workings of our gem2rpm fork
or where to add it. But I need to fix this, as rubygem-yard is now
consistently failing to build (and I don't consider turning ruby 3.0 off
as a good way how to address this).
Cheers,
Dan
Footnotes:
[1] https://github.com/rubygems/rubygems/pull/3108
[2] https://build.opensuse.org/package/live_build_log/devel:languages:ruby:exten...
--
Dan Čermák