#607 Fix: 'lint -i/--info' does not work
Merged by onosek. Opened by drumian.
drumian/rpkg rpmlint  into  master

Download 607.patch

'lint' subcommand internally uses 'rpmlint'. 'rpmlint'
version 2.X has changed some of its arguments, one of
which is '-i'. Rpkg recognizes the installed
version of 'rpmlint' and internally adjusts the input
arguments accordingly so the functionality remains
unchanged.

Jira: RHELCMP-8506
Resolves: rhbz#2016616

Signed-off-by: Dominik Rumian drumian@redhat.com

The code change looks OK. May I ask for adding one simple test for the case we have rpmlint version 2 and --info argument is used?
Hint: TestLint::test_lint_warning_with_info method can be coppied and modified slightly.

The code change looks OK. May I ask for adding one simple test for the case we have rpmlint version 2 and --info argument is used?
Hint: TestLint::test_lint_warning_with_info method can be coppied and modified slightly.

Of course, I will do it.

rebased onto 84ee2d62a9aaa82465f7616bca5182938408be0d

Thanks, looks good.

Pull-Request has been merged by onosek

Metadata