[Build-common-hackers] Bug#671319: Bug#671076: cdbs does not remove *.egg-info directory

Vincent Bernat bernat at debian.org
Tue Jul 10 09:40:27 UTC 2012

submitter 671076 !
submitter 671099 !
submitter 671319 !

 ❦ 10 juillet 2012 10:32 CEST, Jakub Wilk <jwilk at debian.org> :

>>cdbs is using this snippet in python-distutils.mk:
>>find "$(CURDIR)" -prune -name '*.egg-info' -exec rm -rf '{}' ';'
>> find "$(CURDIR)" -prune is $(CURDIR) and does not match -name switch
>> and therefore nothing happens. I don't know why -prune is
>> here. Maybe:
>>find "$(CURDIR)" -maxdepth 1 -name '*.egg-info' -exec rm -rf '{}' ';'
> It's true that the original code is buggy, but I also don't think that
> cdbs should remove *.egg-info. It's not safe to do it unconditionally;
> there are known cases of packages breaking if you do that.
> Please either:
> - reassign the bugs back to python-recaptcha, pycha and nevow
> - or change submitter to yourself.

I have already fixed the problem in those packages. Therefore, I go for
solution 2 but if you prefer solution 1, that's fine by me too.
No fortunes found
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20120710/dfafaad1/attachment-0003.pgp>

More information about the Build-common-hackers mailing list