kernel build scripts use hostname. But its dependency isn't listed in kernel.spec. During mock build, I got /builddir/build/BUILD/kernel-3.6.fc17/linux-3.6.9-2.fc17.i686/scripts/mkcompile_h: line 51: hostname: command not found and # cat /proc/version ~ Linux version 3.6.9-2.fc17.i686.PAE (mockbuild@) (gcc version 4.7.2 20120921 (Red Hat 4.7.2-2) (GCC) ) #1 SMP Wed Dec 5 09:59:41 PST 2012
This used to be pulled in by some other package dependency. Seems something changed and that isn't brought in automatically any longer. I've patched the spec file to explicitly require the hostname package.
kernel-3.7.1-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/kernel-3.7.1-2.fc18
Package kernel-3.7.1-2.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing kernel-3.7.1-2.fc18' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-0293/kernel-3.7.1-2.fc18 then log in and leave karma (feedback).
kernel-3.7.1-5.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/kernel-3.7.1-5.fc18
kernel-3.6.11-5.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/kernel-3.6.11-5.fc17
kernel-3.7.2-201.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/kernel-3.7.2-201.fc18
kernel-3.6.11-5.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.