> The issue here is that rpmlint can't deffer that rubygem-io-console
> transitively depends on ruby-libs, therefore the symlink is never dangling.
Yes, I understand the warning itself is false positive.
> >> =>
> >> This warning was a hint to find "another issue" to fix.
> >> The issue is the directory entry `%{ruby_libdir}/io` is duplicated
> >> between ruby-libs and rubygem-io-console RPM in ruby.spec.
>
>
> There is nothing wrong with duplicated directory ownership.
OK. I had never seen the duplicated directory ownership.
> >> Maybe the directory entry in ruby-libs should be removed like this.
> >>
> >> ```
> >> @@ -942,6 +942,7 @@ MSPECOPTS=""
> >> # Platform independent libraries.
> >> %dir %{ruby_libdir}
> >> %exclude %{ruby_libdir}/bigdecimal*
> >> +%exclude %{ruby_libdir}/io
> >> %exclude %{ruby_libdir}/irb*
> >> %exclude %{ruby_libdir}/json*
> >> %exclude %{ruby_libdir}/psych*
> >> @@ -964,7 +965,6 @@ MSPECOPTS=""
> >> %{ruby_libdir}/find.rb
> >> %{ruby_libdir}/forwardable*
> >> %{ruby_libdir}/getoptlong*
> >> -%{ruby_libdir}/io
>
>
> This directory is certainly needed for other `io` libraries. There is
> more then just io-console.
Did you mean the "other `io` libraries" are the other libraries
requiring `io-soncole` gem?
Are you thinking about the case where ruby-libs is installed but
rubygem-io-console is not installed?
But the directories of the rubygem-bigdecimal (`%exclude
%{ruby_libdir}/bigdecimal*`), rubygem-irb (`%exclude
%{ruby_libdir}/irb*
`), and etc are already excluded in the ruby-libs. Why don't we do it
for rubygem-io-console too?
> This directory could be in theory dropped from rubygem-io-console, but
> there is not any benefit IMO. I prefer the rubygem-io-console to be self
> contained.
I do not understand the "the rubygem-io-console to be self contained.".
Could you explain more about it?
--
Jun | He - His - Him
_______________________________________________
ruby-sig mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure