Red Hat Bugzilla – Bug 124581
rpm-build missing requires for diff
Last modified: 2007-11-30 17:10:43 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
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):
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.
The required packaged should be diffutils, not diff.
diff is not a hard dependency, as check-files may or may not
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.