Hello Jonas, Jonas Smedegaard [2009-04-25 14:01 +0200]: > The problem is another: calibre relied on python-distutils installing > into topmost binary package declared in debian/control.
Actually this was what I specifically wanted to avoid. Since it is a multi-binary package, I'd expect cdbs autotools/distutils to install into debian/tmp/, and using dh_install etc. to install into binary packages. With that, I can do the necessary steps in this order: 1. upstream install into debian/tmp/ 2. weed out the files which must be purged from debian/tmp/ 3. Let cdbs do its dh_* magic If I move 2. past 3., the bad files are spread amongst all binary packages (potentially), so cleaning is a bit more difficult. It's not particularly difficult for the calibre case, of course. > Adding the following (either above or below snippet inclusions - order > does not matter) makes the package build corectly: > > DEB_PYTHON_MODULE_PACKAGES = calibre That would indeed be a bit weird to specify. I think I'll just move the stuff to binary-install/calibre then, if you think that's the right thing to do. Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
signature.asc
Description: Digital signature