On Tue, 2003-02-11 at 11:36, Philip Rowlands wrote: > On Tue, 11 Feb 2003, Derek Vadala wrote: > > >Is there an easy way of integrating rpm files from the updates tree into > >the main distribution tree? I could write some Perl to do this, but I > >don't want to reinvent the wheel. > > Here, borrow my wheel: > > http://www.doc.ic.ac.uk/~phr/mergerpm.pl > > Use like this: > > $ mergerpm.pl /somewhere/RedHat/RPMS /elsewhere/updates/7.3/en/os/{i?86,noarch} > /tmp/script > [sanity check /tmp/script] > $ sh -x /tmp/script > ... > $ genhdlist /somewhere This might work more correctly - it uses the python rpm module. http://www.dulug.duke.edu/treetools/ They let me do tree maintenance fairly easily. -sv
Attachment:
signature.asc
Description: This is a digitally signed message part