-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 15 February 2002 03:47 pm, Edward C. Bailey wrote: > >>>>> "Dumas" == Dumas Patrice <[EMAIL PROTECTED]> writes: > > Dumas> Hi, I would like to uninstall some .src.rpm I have installed on > my Dumas> system. I may go into the BUILD, SPEC, SOURCE..... directory > and Dumas> delete the directories/files by hand, but is there a more > automated Dumas> way of doing that ? > > Not that I'm aware of, unfortunately... > > Ed
Well, not exactly as easily as your looking for, but you can... Build the rpms with the --clean flag, which will remove the build tree after completion. 'rpm -bb -clean foo.spec' You could also specify the --rmsource and --rmspec flags: 'rpm -bb --clean --rmsource --rmspec foo.spec' which will build the package, and remove the build tree, source and specfile all in one command. The --rmsource and --rmspec flags can be used after the build process as well, so you could build with: 'rpm -bb -clean foo.spec' Then, after completion, you could run: 'rpm --rmsource --rmspec foo.spec' Hope that helps, - -D - -- pgp key: http://www.tuxfan.homeip.net:8080/pgpkey.txt - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8bZDpeMAUbzJhSVcRAiDyAKCfaNIEwIjiZIGVMt7u+pLUvhNPTwCbBOu+ EzqKXyqauULpgiBz0TkbvMA= =dg9Y -----END PGP SIGNATURE----- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list