Package: reportbug Version: 4.2 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu karmic ubuntu-patch
For the future py2.6 transition setup.py install should include '--install-layout=deb' to avoid files ending up in the wrong directory. Currently, files end up in /usr/local when built against py2.6 in ubuntu karmic without this parameter. This parameter is recognized and ignored in py{2.4,2.5}. -- Package-specific info: ** /home/kenny/.reportbugrc: reportbug_version "4.2ubuntu1" mode standard email "kd.dr...@comcast.net" smtphost "smtp.comcast.net" smtpuser "kd.drake" smtppasswd <omitted> *** /tmp/tmpQEyzaB In Ubuntu, we've applied the attached patch to achieve the following: * Merge with Debian unstable (LP #378591), remaining changes: ... - debian/rules: + Append "--install-layout=deb" to distutils install command. This ensures installation to the correct directory with python2.6. ... We thought you might be interested in doing the same. -- System Information: Debian Release: squeeze/sid APT prefers karmic-updates APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 'karmic-proposed'), (500, 'karmic-backports'), (500, 'karmic') Architecture: i386 (i686) Kernel: Linux 2.6.30-5-generic (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru reportbug-4.2/debian/rules reportbug-4.2ubuntu1/debian/rules --- reportbug-4.2/debian/rules 2009-05-01 12:22:41.000000000 -0500 +++ reportbug-4.2ubuntu1/debian/rules 2009-05-20 04:00:22.000000000 -0500 @@ -36,7 +36,7 @@ dh_installdirs # Add here commands to install the package into debian/reportbug. - python setup.py install --root $(CURDIR)/debian/reportbug + python setup.py install --root $(CURDIR)/debian/reportbug --install-layout=deb mv $(CURDIR)/debian/reportbug/usr/lib $(CURDIR)/debian/python-reportbug/usr chmod 0755 $(CURDIR)/debian/reportbug/usr/bin/* cp -p conf/reportbug.conf $(CURDIR)/debian/reportbug/etc