On 2001-07-26, Thomas Dodd wrote:
>Bryan wrote:
>>
>> Do I need to do that with the source in special folders or just any where.
>> I mean to say do I need a build tree and config file to do this or just do
>> it
>> -----Original Message-----
>> [mailto:[EMAIL PROTECTED]]On Behalf Of Steve Snyder
>> As root:
>> rpm --rebuild mysourcesrc-0.1-1.src.rpm
>
>That installs the source files in /usr/src/redhat/SOURCES
>and the spec file in /usr/src/redhat/SPECS, the uses the spec
>file to build the rpm, usually extracting the sources
>in /usr/src/redhat/BUILD, patching and compiling, installing
>in /var/tmp, packaging the files in a binary rpm, in
>/usr/src/redhat/RPMS/<arch> (probably i386) then removing
>all the files except the src.rpm and the binary rpm.
>
>You then do 'rpm -Uvh
>/usr/src/redhat/RPMS/<arch>/mysource-0.1-1.<arch>.rpm'
>to install it.
And you could use
rpm --recompile mysourcesrc-0.1-1.src.rpm
if you wanted just the binary rpm and not the source rpm (which
would be put into /usr/src/redhat/SRPMS).
_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list