Gavin Carr said:
> On Tue, Dec 09, 2003 at 03:25:04PM +1100, Jamie Wilkinson wrote:
>> This one time, at band camp, Simon Bryan wrote:
>> >HOw do I convert a src rpmm to the correct rpm for my system? (i386 i686? RH9)
>> >
>> >I tried rpm --rebuild but it says it is an invalid option.
>>
>> Try
>>
>>   rpmbuild -ba thingy.src.rpm
>>
>> rpm lost the ability to build SRPMs when RH9 was released.
>
> And 'rpmbuild --target i686 -ba thingy.src.rpm' for a particular target
> system ...

OK< I downloaded a src.rpm (openldap-2.1.25-1.src.rpm) from rpmfind.net and tried
the rpmrebuild, but it tells me that it is not a specfile
So I read the man pages (I do that sometimes) and tried from the tarball with -tb
but got:

Name field must be present in package: (main package)
error: Version field must be present in package: (main package)
error: Release field must be present in package: (main package)
error: Summary field must be present in package: (main package)
error: Group field must be present in package: (main package)
error: License field must be present in package: (main package)

Obviously there is something I am missing in my understanding of this src rpm business.
-- 
Simon Bryan
IT Manager
OLMC Parramatta
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to