fileutils-4.0s does not build OK: ... + strip ./usr/bin/dir ./usr/bin/dircolors ./usr/bin/du ./usr/bin/install ./usr/bin/mkfifo ./usr/bin/shred ./usr/bin/vdir + gzip -9nf './usr/share/info/fileutils*' gzip: ./usr/share/info/fileutils*: No such file or directory + exit 0 Processing files: fileutils-4.0s-2 File not found by glob: /var/tmp/fileutils-root/usr/etc/* Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.23789 + umask 022 ... here fix for .spec file: --- fileutils.spec~ Thu Jun 1 10:08:05 2000 +++ fileutils.spec Thu Jun 22 21:25:55 2000 @@ -72,7 +72,7 @@ %endif strip .%{_prefix}/bin/* || : - gzip -9nf .%{_prefix}/share/info/fileutils* + gzip -9nf .%{_prefix}/info/fileutils* mkdir -p ./etc/profile.d install -c -m 644 %SOURCE1 ./etc but... where does that usr/etc/* come from?
You are building using a version of rpm without the rpm configuration that is being used for Red Hat 7.0. Try upgrading to rpm-3.0.5 located at ftp://ftp.rpm.org/pub/rpm/test and reopen this bug if that doesn't solve your problem.
I used rpm-3.0.5-0.3 but I get the same error with rpm-3.0.5-0.5, too.
The spec file was using a hardcoded %{_prefix}/share/info instead of %{_infodir}, fixed in 4.0u-2. (7.0 will use /usr/share/info because of new FHS requirements; so replacing it with %{_prefix}/info the way you suggested is not the right way to fix it.)