Package: mercurial Version: 1.2.1-3 Severity: serious Tags: patch Justification: no longer builds from source User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu karmic ubuntu-patch
Building mercurial when default python is 2.6 creates a package that cannot be installed (depends on python (<< 2.6) and python is 2.6.x). That's because setup.py install lacks --install-layout=deb which results in 2.6 modules installed in wrong directories (/usr/local/...). Attached patch fixes the issue. *** /tmp/tmpkphCZh In Ubuntu, we've applied the attached patch to achieve the following: * Fix build with Python 2.6 (LP: #383109) We thought you might be interested in doing the same.
diff -u mercurial-1.2.1/debian/rules mercurial-1.2.1/debian/rules --- mercurial-1.2.1/debian/rules +++ mercurial-1.2.1/debian/rules @@ -17,7 +17,7 @@ override_dh_auto_install: $(PYVERS:%=install-python%) install-python%: build-python% - python$* setup.py install --root $(CURDIR)/debian/tmp + python$* setup.py install --root $(CURDIR)/debian/tmp --install-layout=deb override_dh_install: diff -u mercurial-1.2.1/debian/control mercurial-1.2.1/debian/control diff -u mercurial-1.2.1/debian/changelog mercurial-1.2.1/debian/changelog