How about just removing the `%{ruby_libdir}/io` in
rubygem-io-console
like this with a comment?
The directory actually always exists because ruby-libs are required to
run rubygem-io-console.
```
$ git diff
diff --git a/ruby.spec b/ruby.spec
index c43fb0a..6949ea7 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -1261,7 +1261,7 @@ MSPECOPTS=""
%{gem_dir}/specifications/bigdecimal-%{bigdecimal_version}.gemspec
%files -n rubygem-io-console
-%{ruby_libdir}/io
+# The %%{ruby_libdir}/io exists in ruby-libs.
%{ruby_libarchdir}/io/console.so
%{_libdir}/gems/%{name}/io-console-%{io_console_version}
%{gem_dir}/gems/io-console-%{io_console_version}
```
I discussed this topic with Vit now, and I would cancel my suggestion.
In the discussion,
1. The comment is not so useful in this case. The comment might be
outdated in the future.
2. The concerns about removing `%{ruby_libdir}/io` from rubygem-io-console are
* Maintainability.
In the future, the `%{ruby_libdir}/io` entry will be removed or
changed in the ruby-libs if the upstream will change this directory
structure,
Then we might forget to consider adding or changing for the
`%{ruby_libdir}/io` in rubygem-io-console.
* He wants to keep rubygem-io-console as independently or separately
from ruby-libs.
He would like to move rubygem-io-console to StdLib such as
rubygem-did_you_mean did, if he wants to fix something.
I agreed with it.
--
Jun | He - His - Him