Hi, Fabrice Creuzot wrote: > With Fedora, rpmlint says: > E: specfile-error error: line 77: Trigger fired by the same package > is already defined in spec file: %triggerin -- pango < 1.44 > > The spec file is: https://github.com/luigifab/human-theme/blob/master/fedora/human-theme-gtk.spec [...] > The packaged theme must be updated depending of Pango version. > I'm not sure how to do that: > - for Pango >= 1.44 and < 1.50 some changes must be added > - for Pango < 1.44 or >= 1.50 changes must be removed Perhaps it would be better to combine the < 1.44 and >= 1.50 triggers and include the upper-range in the pango >= 1.44 trigger? %triggerin -- pango < 1.44, pango >= 1.50 # Pango < 1.44, >= 1.50 ... %triggerin -- pango >= 1.44, pango < 1.50 # Pango 1.44..1.49 ... The lack of an upper-bound in pango >= 1.44 seems like the real issue, as it is true as well as the pango >= 1.50 condition. (But I'm not intimately familiar with the rpm internals, so I could be wrong.) -- Todd
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx 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/packaging@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue