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

Summary: "fedpkg lint" dies with rpmlint-2.0.0: rpmlint: error: unrecognized arguments: -f
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: rpkgAssignee: Ondřej Nosek <onosek>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cqi, dennis, jkeating, lsedlar, mattdm, onosek, oturpe, s
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1961618    
Bug Blocks:    

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.