Can you query installed .src.rpm's - and delete - Solved

Mamoru Tasaka mtasaka at ioa.s.u-tokyo.ac.jp
Tue Jan 8 13:00:55 UTC 2008


Mogens Kjaer wrote, at 01/08/2008 09:43 PM +9:00:
> David Timms wrote:
> ...
>> 2. you can use rpmbuild to remove an SRPM by:
>> # cd /usr/src/redhat/SPECS
>> # rpmbuild --rmsource --rmspec glglobe.spec
> 
> I actually tried this.
> 
> What it does is that it does a build, followed by a removal
> of the sources and .spec. So if the dependencies for the build
> isn't fulfilled, nothing happens.
> 
> Mogens

Try $ rpmbuild --clean --rmsource --rmspec --nodeps foo.spec

Mamoru




More information about the fedora-list mailing list