Analyse following RPM build log snippet. Describe contents accurately, without speculation or suggestions for resolution.            
Your analysis must be as concise as possible, while keeping relevant information intact.
Snippet: 
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-rails-7.0.8.6-1.el9.x86_64


RPM build errors:
error: Installed (but unpackaged) file(s) found:
   /usr/share/gems/gems/rails-7.0.8.6/MIT-LICENSE
    Installed (but unpackaged) file(s) found:
   /usr/share/gems/gems/rails-7.0.8.6/MIT-LICENSE

This is check at the end of rpmbuild that failed and as a consequence failed the whole build.