How does one install kernel*.src.rpm ?

Peter Reed mrdeadworry at crosspaths.net
Sun Oct 23 22:47:20 UTC 2005


Peter Reed wrote:

> Stuart Sears wrote:
>
>> -----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-----
>>
>>  
>>
> I see what you are saying however it seems to be grabbing my host name 
> and adding it to the Release line: error: line 155: Illegal char '-' 
> in release: Release: 1.1532_FC4.preed at 6722-195-67
> Any ideas how to get rid of that.
> Peter
>
Possibly comment out the line:  %define rhbsys  %([ -r /etc/beehive-root 
-o -n "%{?__beehive_build}" ] && echo || echo .`whoami`@`hostname -s|sed 
s/-//`)
Peter




More information about the fedora-list mailing list