rpm build issues

Xavier Toth txtoth at gmail.com
Wed Sep 20 22:53:18 UTC 2006


I downloaded the rawhide kernel sources and tried to make a i686 rpm.
Following the instructions on
http://fedora.redhat.com/docs/release-notes/fc6test2/  I ran 'rpmbuild
-bp --target i686 kernel-2.6.spec' then copied
configs/kernel-2.6.17-i686.config to .config and edited the Makefile
changing EXTRAVERSION = -prep to EXTRAVERSION = -1.2647.fc6. I then
did a 'make oldconfig' (unclear why this is necessary since the copied
a prebuilt config file already) and then 'make rpm'. The result of the
make is rpmbuild/RPMS/i386/kernel-2.6.171.2647.fc6-1.i386.rpm and
there are several issues with this:
1) a i386 rpm was produced not a i686 rpm
2) the EXTRAVERSION losses its '-' and so is run up against the kernel
version in the file name '2.6.171.2647.fc6'

Are the instruction correct? Are these bugs in the build system?

Ted




More information about the fedora-devel-list mailing list