From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5 Description of problem: The script '/usr/lib/rpm/check-files' in the rpm-build package uses the diff command, but diff isn't an install requirement for rpm-build. Version-Release number of selected component (if applicable): rpm-build-4.3.1-0.3 How reproducible: Always Steps to Reproduce: 1.Install a very base system leaving out diff 2.Try to rebuild an RPM Actual Results: The rpm was made, but this warning was displayed: /usr/lib/rpm/check-files: line 1: diff: command not found Expected Results: A list of unpackaged files should have been displayed if there were any. Additional info:
The required packaged should be diffutils, not diff.
diff is not a hard dependency, as check-files may or may not be configured. There is no easy answer for dependencies that are needed depending on how a system is configured, nor will there be soon, as it's a hard problem. Hence, WONTFIX.