Red Hat Bugzilla – Bug 316201
Rpm-Build Check-files failes
Last modified: 2008-03-10 16:24:32 EDT
Description of problem:
When building an rpm with an empty %files check-files fails when using the f7
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create an rpm with empty %files section
2. Build with mock (f7 profile)
3. Read the build log.
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/usr/lib/rpm/check-files: line 25: diff: command not found
I'm told what files need to be included in %files
I've also tried rpm-build-4.4.2-46
Apparently the default minimal build root setup has changed once again, sigh. F8
rpm-build explicitly lists the dependency but not so for current F7 and FC6
This issue has been addressed at rpm5.org by automatically extracting dependencies from
both scriptlets and #!/bin/sh scripts and mapping all used executables into
a separate name space.
All used implicit dependsnecies are attempted. The current implementation is easier to
fix than abandon.
rpm-18.104.22.168-2.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update rpm'
rpm-22.214.171.124-2.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
Same problem here with rpm-build-4.4.2-47.el5, both on CentOS and Scientific
Linux (I don't have a real RHEL5 box for testing): the packages does not require
diff or diffutils.