Package reports
RPM file-list selection trace
Trace an expanded %files body against a supplied typed buildroot snapshot.
Your inputs
Start with an exampleYour result
Example resultHow it works
Match component-local simple globs. Ordinary matched directories recurse through supplied descendants, while %dir selects the directory only. Any matching %exclude remains sticky across later positive rules.
%dir selects /opt/app itself. /opt/app/* selects a and sub, then recurses to sub/b; the direct hidden child is outside that star match.
Limits
Up to 20000 supplied entries and 1000 rules, with bounded matching/provenance. Canonical ASCII POSIX paths only; no macros, other directives, braces, tilde or escape expansion. Symlinks are leaves; intermediate symlink traversal stays unsupported. No filesystem reads, complete-buildroot proof, ownership/permission inference or rpmbuild verdict.