Dne 26. 06. 21 v 9:32 Otto Urpelainen napsal(a):
Greetings,

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 [1].

I used gem2rpm to create my specfile and srpm [2]. 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?

Problem 1:
Package must own all directories that it creates.
Note: Directories without known owners: /usr/share/gems, /usr/share/gems/doc

Requires: ruby(rubygems) was automatically created, should that handle those directories?


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.



Problem 2:
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" [3], 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:

https://bugzilla.redhat.com/show_bug.cgi?id=1224715


Vít


_______________________________________________
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

Reply via email to