On Fri, 17 Nov 2000, Jonathan Wilson wrote:

> Ok, I found all the -b commands for building one again once it's unpacked into the 
>build directory, but I can't find the command to unpack a src.rpm without actually 
>building something.
> 
> Anyone know?
> 
> 
rpm -i <source rpm>

With a default setup, this will unpack things to subdirectories off of
/usr/src/redhat.  The spec file goes in SPECS, the source .tar file, and
patches go into SOURCES.   From there, you can use the rpm -b commands to
partatialy or completely build the package.  For exanple,
"rpm -bp /usr/src/redhat/SPECS/<spec file name>" will untar the source,
apply any patches, and leave the results in /usr/src/redhat/BUILD.

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to