On 21. 03. 21 17:37, Vitaly Dolgov wrote:
Hi, everybody!
I'm working on a new RPM spec for Pd (Pure Data). And there is an error
from `rpmlint` (actually, `fedpkg --release f33 lint`) that I
cannot solve:
E: backup-file-in-package /usr/lib64/pd/extra/bob~
This is not a backup file, but a directory and there are
several of them. In Pd tilde in the end is used for so-called 'audio'
objects, so I cannot exclude these paths.
In which way should I modify spec to conform lint rules?
You can include a file called <package_name>.rpmlintrc in the same directory as
is the spec file.
The file looks like this:
https://src.fedoraproject.org/rpms/python3.10/blob/rawhide/f/python3.10.rpmlintrc
You add regular expressions to ignore, using the addFilter() function (Python
syntax).
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
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 on the list, report it: https://pagure.io/fedora-infrastructure