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

Artur Frenszek-Iwicki <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]



--- Comment #7 from Artur Frenszek-Iwicki <[email protected]> ---
> # The commit count orders snapshots made on the same day: the hash alone would
> # sort them randomly, and dnf would not always offer the latest one.
> %global snapinfo .%{snapdate}.%{commitcount}git%{shortcommit}
Do you really need to update the RPM multiple times a day?

> Version:        3.0.1
> Release:        2%{?snapinfo}%{?dist}
Snapshot data should go into Version, not Release.
https://docs.fedoraproject.org/en-US/packaging-guidelines/Versioning/#_snapshots

> Requires:       dejavu-sans-fonts
> Requires:       google-rubik-fonts
> Requires:       impallari-dancing-script-fonts
Instead of naming the packages themselves, you can use "Requires: font(...)",
e.g. "font(dejavusans)" or "font(rubik)".
You can use "dnf repoquery --provides packagename" to check the font() names.
This will make your RPM resilient against font packages being renamed.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2587581

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202587581%23c7

-- 
_______________________________________________
package-review 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, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to