On 22. 03. 21 12:27, Vitaly Dolgov wrote:
On Mon, 22 Mar 2021 10:17:57 +0100
Miro Hrončok <mhroncok@xxxxxxxxxx> wrote:
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).
Thanks!
Should I somehow include this file in the package, or usually it stays
alongside?
You commit/push it into dist-git (so other packagers and automated rpmlint
checks can also read it), but you don't usually include it as a Source in the
SRPM (at least I have never seen that).
--
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