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
new check for man pages #918
Comments
|
also: I don't think |
|
Seems we were a bit too strict with the new checks e.g it is very common for perl modules to have a file called this implies the folder name (I've seen other suffixed than pm) |
|
Due to automake, it has been common on GNU/Linux to place .3pm into /usr/share/man/man3. |
Allow: folder name man<N> should contain files in the form *.<N>*.gz. Fixes: rpm-software-management#918.
|
This appears to have caused a regression. Running rpmlint-2.4.0 against https://kojipkgs.fedoraproject.org//packages/shigofumi/0.9/5.fc37/x86_64/shigofumi-0.9-5.fc37.x86_64.rpm results in: The package contains a matching man page. This works in 2.3.0 or in 2.4.0 if I revert Before I go digging, is the cause obvious to anyone here who worked on this change? My first thought is that the translated man page is what the code may be tripping over. |
|
Thanks for the report, apparently I screwed up the regex pattern, I've got a patch candidate. |
|
Thanks @marxin! I was hoping it would be more obvious to someone familiar with the code. I also hope it's an easy fix. Much appreciated! |
It was a regression since 718e1eb. Fixes: rpm-software-management#918.
rpmlint should warn/err on things like this:
i.e. the check should validate that the directory
/usr/share/man/man<n>only contains files matching*.<n>%{?ext_man}(ext_man is defined to the compression scheme used, e.g..gzThe text was updated successfully, but these errors were encountered: