getsolus / ypkg

Modern, declarative, structured build format
https://getsol.us
GNU General Public License v3.0
22 stars 11 forks source link

man3: fix for perl modules splitting man3 pages to -devel with only man3 pages #91

Open TraceyC77 opened 1 month ago

TraceyC77 commented 1 month ago

Summary

ypkg is incorrectly handling perl modules man3 files It is incorrectly patterning out man3 pages into -devel packages that only have the man3 content

Recommended solution

Do not pattern out man3 pages for perl modules (I don't know if other packages might be affected by this policy that should not be)

Background and reasoning

In this commit man3 pages were patterned out to -devel packages.

While this might be technically correct, it is not useful for users installing perl modules to have the docs split out into a separate package, especially where that is the only thing in that package.

Workaround

add a patterns : /* stanza to keep everything in the main component

Note: The commit contains a comment that has a false assumption # This is almost always man files for api functions

Changes to policy like this should IMO have assumptions like that tested by searching through the repo. Not to lay blame, just to caution us going forward.