On Thu, Sep 26, 2002 at 08:35:58PM -0700, Rich Shepard wrote:
>   There is an easier, and equivalent, way of doing this.
> 
>   Install the src.rpm ('rpm -ivh <package>.src.rpm'). This puts the
> components in their proper directories; /usr/src/redhat/BUILD, ../SRPMS,
> ../SPECS. Next, cd to the SPECS/ directory and, as root, run 'rpm -ba
> <package>.spec'. This is the 'build all' command and it will recreate the
> .src.rpm the binary .rpm and all based on what's on your box. With this
> approach you can also add other options, such as '--target i686'.

There is yet more simple way:

in any directory run
rpm --rebuild <package>.src.rpm

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
MSDOS didn't get as bad as it is overnight -- it took over ten years
of careful development.
        -- [EMAIL PROTECTED]

Reply via email to