Bug 2016616
| Summary: | `fedpkg lint -i/--info` doesn't work (because `rpmlint -i` now does something else?) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ankur Sinha (FranciscoD) <sanjay.ankur> |
| Component: | fedpkg | Assignee: | Dominik Rumian <drumian> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 35 | CC: | cqi, jkeating, loganjerry, lsedlar, onosek, s |
| Target Milestone: | --- | ||
| 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: | 2022-09-06 23:08:40 UTC | 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: | |||
FEDORA-2022-dd5443312c has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2022-dd5443312c FEDORA-2022-dd5443312c has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report. |
Description of problem: When using the `-i` or `--info` option with `fedpkg lint`, one now gets errors of this form: ``` (none): E: there is no installed rpm "/home/asinha/dump/python-pypesto/python-pypesto.spec". (none): E: there is no installed rpm "/home/asinha/dump/python-pypesto/python-pypesto-0.2.7-1.fc34.src.rpm". (none): E: there is no installed rpm "/home/asinha/dump/python-pypesto/noarch/python3-pypesto-0.2.7-1.fc34.noarch.rpm". There are no files to process nor additional arguments. Nothing to do, aborting. ``` This seems to be because `rpmlint -i` now is no longer for "information", it's to check installed packages. ``` rpmlint --help ... -i INSTALLED [INSTALLED ...], --installed INSTALLED [INSTALLED ...] installed packages to be validated by rpmlint ``` To get informative output, we need to now use `-v` or `--info`: ``` -v, --verbose, --info provide detailed explanations where available ``` Version-Release number of selected component (if applicable): $ rpm -q fedpkg rpmlint fedpkg-1.41-1.fc35.noarch rpmlint-2.1.0-5.fc35.noarch How reproducible: Always Steps to Reproduce: 1. run `fedpkg --release fXX lint -i` or `--info` in a package directory 2. 3. Actual results: Errors as shown above Expected results: Should run rpmlint and give informative output. Additional info: