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?

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?

Otto

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1969567
[2]: http://oturpe.kapsi.fi/fedora/rpms/rubygem-sync/
[3]: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_avoid_bundling_of_fonts_in_other_packages
_______________________________________________
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