Run rpmlint on the current Copr project or Koji build
discover:
how: fmf
filter: "tag: rpmlint"
url: https://github.com/packit/tmt-plans
ref: main
execute:
how: tmt
This plan simply runs the command
$ rpmlint ./*.rpm
The rpm
and srpm
artifacts are taken from the testing-farm artifacts. In order to pass a .rpmlintrc
file, use the
prepare
step of the plan to copy the file to TMT_PLAN_DATA
. Only the rpmlintrc
file that matches the spec file
is used.
:::note
The rpmlint of the .spec
file is handled automatically when running rpmlint
against a srpm
.
:::
No options available
- Rpmlint the upstream packit project
discover: how: fmf filter: "tag: rpmlint" url: https://github.com/packit/tmt-plans ref: main execute: how: tmt
- Use
rpmlintrc
fileprepare: - how: shell script: cp ./*.rpmlintrc $TMT_PLAN_DATA/ discover: how: fmf filter: "tag: rpmlint" url: https://github.com/packit/tmt-plans ref: main execute: how: tmt