Skip to content

rpmlint_options doesn't preserve --config

A --config path specified in rpmlint_options is ignored by the actual call, see here:

$ rpmlint --permissive --config=rpm/rpmlint.toml --config .gitlab-ci.rpmlint.toml *.rpm
(none): W: unable to init enchant, spellchecking disabled.

...many more (none) lines...

============================ rpmlint session starts ============================
rpmlint: 2.2.0
configuration:
    /builds/duncanmmacleod/igwn-monitoring-plugins/.env/lib64/python3.6/site-packages/rpmlint/configdefaults.toml
    .gitlab-ci.rpmlint.toml
checks: 27, packages: 22
...

The second --config entries obliterates the first, which is a shame. We will have to think of something else to support hiding our custom changes.