Description of problem: When building an rpm with an empty %files check-files fails when using the f7 mock profile. Version-Release number of selected component (if applicable): rpm-build-4.4.2.1-1 How reproducible: Always Steps to Reproduce: 1. Create an rpm with empty %files section 2. Build with mock (f7 profile) 3. Read the build log. Actual results: Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/package-name-version-1.fc7-root- /usr/lib/rpm/check-files: line 25: diff: command not found Expected results: I'm told what files need to be included in %files Additional info: 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 packages.
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-4.4.2.2-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-4.4.2.2-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.