Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1967821 - "fedpkg lint" dies with rpmlint-2.0.0: rpmlint: error: unrecognized arguments: -f
Summary: "fedpkg lint" dies with rpmlint-2.0.0: rpmlint: error: unrecognized arguments...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: rpkg
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondřej Nosek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1961618
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-04 06:14 UTC by Petr Pisar
Modified: 2021-06-07 11:30 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2021-06-04 06:14:05 UTC
After upgrading rpmlint from 1.11-17.fc35.noarch to 2.0.0-1.fc35.noarch "fedpkg lint" fails to execute "rpmlint -f $PACKAGE.rpmlint". An example for rawhide branch of rpms/perl-Object-Pad:

$ fedpkg lint
usage: rpmlint [-h] [-V] [-c CONFIG] [-e EXPLAIN [EXPLAIN ...]] [-r RPMLINTRC] [-v] [-p] [-i INSTALLED [INSTALLED ...]] [-t] [-T]
               [-s | -P]
               [rpmfile ...]
rpmlint: error: unrecognized arguments: -f
Could not execute lint: Failed to execute command.

Comment 1 Petr Pisar 2021-06-04 06:17:23 UTC
Tested with python3-rpkg-1.62-4.fc35.noarch.

Comment 2 Matthew Miller 2021-06-04 14:38:39 UTC
FWIW -f was:

	[-f|--file <user config file to use instead of ~/.config/rpmlint]


Looks like that's now -c for CONFIG (which was "check").

Comment 3 Petr Pisar 2021-06-07 11:30:27 UTC
According to <https://github.com/rpm-software-management/rpmlint/#configuration> and my tests, it's --rpmlintrc.


Note You need to log in before you can comment on or make changes to this bug.