Dne 26. 06. 21 v 9:32 Otto Urpelainen napsal(a):
I am in process of submitting a new gem to Fedora for the first time.
It is rubygem-sync, needed by rubygem-tins since Ruby 2.7 as described
in RHBZ#1969567 .
I used gem2rpm to create my specfile and srpm . Then I ran
fedora-review on them. To my surprise, there were two issues. It looks
like any specfile created with gem2rpm would suffer from these. How
should these be handled?
Package must own all directories that it creates.
Note: Directories without known owners: /usr/share/gems,
Requires: ruby(rubygems) was automatically created, should that handle
I'd say this is false positive, because the package depends on
ruby(rubygems), which owns those directories. IOW this should be fixed
on rpmlint side.
Avoid bundling fonts in non-fonts packages.
Note: Package contains font files
The fonts in question are in the -docs subpackage,
/usr/share/gems/doc/<package>/rdoc/fonts. I installed -doc for a
couple of rubygem- packages, they all copied the same fonts. Sure,
using system fonts is just a "should" , but it still seems strange
that those fonts are copied over and over in rubygem docs packages.
What is going on here?
This is longstanding issue without proper solution: