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?
Thanks, Vitaly
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.rpml...
You add regular expressions to ignore, using the addFilter() function (Python syntax).
On Mon, 22 Mar 2021 10:17:57 +0100 Miro Hrončok mhroncok@redhat.com 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.rpml...
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?
Vitaly
On 22. 03. 21 12:27, Vitaly Dolgov wrote:
On Mon, 22 Mar 2021 10:17:57 +0100 Miro Hrončok mhroncok@redhat.com 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.rpml...
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).
packaging@lists.fedoraproject.org