[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#516306: ldaptor: generates incorrect package with python-support from experimental



Package: ldaptor
Version: 0.0.43-2

Hi,

the ldaptor rules file contains the following:
binary-post-install/python-ldaptor::
        rm -rf \
                debian/python-ldaptor/usr/share/python-support/*/ldaptor/apps/webui \
                debian/python-ldaptor/usr/share/python-support/*/ldaptor/test/test_webui.py

With the upcoming version of python-support (currently in experimental),
this operation does nothing, since the files are now moved to a
different directory (/usr/share/pyshared). It does not prevent the
package from building, but the resulting package has the webui modules
in it. Therefore, installation of ldaptor-webui will fail because of a
file conflict.

In all cases, you should remove these files *before* calling
dh_pysupport, to avoid any manipulation it might do with them. Doing the
removal in the binary-install target and using the standard Python
directory there should be enough.

As a general rule, please do not rely on the internals of python-support
in the packaging; this will avoid such issues in the future (although
hopefully there won’t be a need to change the paths any further).

Thanks,
-- 
 .''`.      Debian 5.0 "Lenny" has been released!
: :' :
`. `'   Last night, Darth Vader came down from planet Vulcan and told
  `-    me that if you don't install Lenny, he'd melt your brain.

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


Reply to: