Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpmlint and rpmlintrc have no man page (the irony!) #1077

Open
paulwouters opened this issue Jun 18, 2023 · 2 comments
Open

rpmlint and rpmlintrc have no man page (the irony!) #1077

paulwouters opened this issue Jun 18, 2023 · 2 comments

Comments

@paulwouters
Copy link

running rpmlint on the rpmlint package should indeed give a:

E: no-manual-page-for-binary

The reason I found this was because I wanted to know if there is a way to disable the "valid opensource licencse" check without needing a per package rpmlintrc line with addFilter("E: invalid-license") for our own (non-opensource) packages.

@danigm
Copy link
Member

danigm commented Jun 19, 2023

Which rpmlint package? maybe we can create a test to verify the problem. As far as I can tell this error is disabled by default, at least in openSUSE.

@paulwouters
Copy link
Author

in the fedora package in rawhide:

paul.wouters@fedora:~/fedora/rpmlint (rawhide)$ rpmlint /home/paul.wouters/RPMS/noarch/rpmlint-2.4.0-9.fc37.noarch.rpm
============================ rpmlint session starts ============================
rpmlint: 2.4.0
configuration:
/usr/lib/python3.11/site-packages/rpmlint/configdefaults.toml
/etc/xdg/rpmlint/fedora-legacy-licenses.toml
/etc/xdg/rpmlint/fedora-spdx-licenses.toml
/etc/xdg/rpmlint/fedora.toml
/etc/xdg/rpmlint/scoring.toml
/etc/xdg/rpmlint/users-groups.toml
/etc/xdg/rpmlint/warn-on-functions.toml
checks: 31, packages: 1

rpmlint.noarch: W: no-manual-page-for-binary rpmdiff
rpmlint.noarch: W: no-manual-page-for-binary rpmlint
1 packages and 0 specfiles checked; 0 errors, 2 warnings, 0 badness; has taken 0.1 s

But ofcourse the proper fix is not to silence the warning, but to ship with man pages for the binaries and for the rpmlintrc format :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants