From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826
Description of problem:
Doing rpm --rebuild kernel-2.4.18-18.7.x.src.rpm on i686 and athlon machines
builds kenel packages for i386, not i686 or athlon. The build process should
automatically detect the correct architecture.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.rpm --rebuild kernel-2.4.18-18.7.x.src.rpm
What exactly is the format for the --target option? The man page for rpm says
arch-vendor-os but what do I use for vendor and os?
rpmbuild --rebuild --target i686 kernel-2.4.18-18.7.x.src.rpm
vendor and os can be (and usually are)
skipped for linux.
1) Just because there is a workaround doesn't mean this isn't a bug
2) If vendor and os aren't required say so in the documentation. Users like me
have no way of knowing that vender and os aren't required.