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.r...
You add regular expressions to ignore, using the addFilter() function (Python
syntax).
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok