Hi, Instead of the command " rm -rf %{buildroot} " in the %clean section use something like "rm -rf src" where the folder src is the one which you want to clean. Regards, Manjunath On 1/16/08, patrice.elasri@xxxxxxxxxxxx <patrice.elasri@xxxxxxxxxxxx> wrote: > > > > > Hi, > > I'm using rpm 4.4.7 which I have built on HPUX 11.23 / ia64. I have written > a spec file with a specific %clean section. However, it seems that this one > is not processed, but replaced by a default one which simply removes the > buildroot directory. Is there something new to set or configure with this > version, in order to use its own %clean section ? > > Regards, > > mailto: patrice.elasri@xxxxxxxxxxxx > phone: +33 1 43985883 > > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list