Description of Problem: When you try to rpm -ta foo.tar.gz, where foo.tar.gz doesn't contain a .spec file, a file named "tar: *.spec: Not found in archive" is created in the specfile directory. Version-Release number of selected component (if applicable): 4.0.3-1.03 How Reproducible: 1. rpm -ta tarfilewithoutspecfile.tar.gz Actual Results: File gets created Expected Results: Nothing is generated (and maybe a nice error message about it too)
My favorite rpm bug. The fix -- when the time comes -- will be to eliminate tar build modes, as the whole mess should have been implemented as a shell script a long time ago. Meanwhile, what's there is there.