How does one install kernel*.src.rpm ?

Stuart Sears stuart at sjsears.com
Sun Oct 23 16:18:40 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter Reed enlightened us with the following gems on 23/10/05 17:11:
> akonstam at trinity.edu wrote:
<snip>
>> An alternative is to run: rpmbuild --rpmbuild  ..src.rpm (i.e, source
>> rpm)
>>
>> The goal is to end up with a regular rpm file which could be installed
>> with the rpm command in the usual way.
>>  
>>
> I have benn trying the same thing to install the kernel sources and keep
> coming up with the same or either way you do the rpmbuild.
> error: line 155: Illegal char '-' in release: Release: 1.1532_FC4......
> Any ideas?
Make sure that the "Release:" line in your spec file doesn't contain a -
sign?
That's the only thing you can't put in, IIRC.
if for example you have something like this:
Release: 1.1532_FC4-myversion
change it to
Release: 1.1532_FC4.myversion

and then try again

Stuart

- --
Stuart Sears RHCE RHCX
/* This is total bullshit: */
        linux-2.6.6/drivers/video/sis/init301.c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFDW7fgamPtx1brPQ4RApzOAJ0WRbcL1ztJpdi9UoQcufRpcw742wCfa6LN
otGBErQ2I41UGsc9pzQjeEA=
=TnWL
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list