EXTRAVERSION ignores "-" when making kernel from src.rpm

Paul Howarth paul at city-fan.org
Tue Aug 8 13:42:56 UTC 2006


Jay Cliburn wrote:
> Is there a way to get the "-" included as part of the EXTRAVERSION field 
> when making a Fedora kernel?  If I change EXTRAVERSION = -foo in the 
> master Makefile, I end up with an rpm named kernel-2.6.15foo.  I've 
> tried escaping the dash, double-quoting the entire EXTRAVERSION field, 
> and manually setting KERNELVERSION = 2.6.15-foo, but nothing seems to work.

You would end up with a dash is the version number, which is not an 
allowed character. The last two dashes in a (default) RPM name separate 
the version and release from the package name.

Paul.





More information about the devel mailing list