reassign 498209 gitosis 0.2+20080825-1
severity 498209 important
tags 498209 + patch
thanks

Hi Daniel,

The following is a patch to not inappropriately ship .pth for
other packages. I have downgraded this bug to important because the
fatal breakage is only in the backport, but please see to a
timely fix.
As a side effect, it also cleans up properly in debian/rules clean.
Note that I'm not intending to NMU this as per your direct wish on
IRC.

Kind regards

T.

diff -u gitosis-0.2+20080825/debian/rules gitosis-0.2+20080825/debian/rules
--- gitosis-0.2+20080825/debian/rules
+++ gitosis-0.2+20080825/debian/rules
@@ -22,7 +22,7 @@
        dh_testroot
 
        python setup.py clean
-       rm -rf dist
+       rm -rf dist build gitosis.egg-info
 
        dh_clean
 
@@ -38,7 +38,9 @@
        PYTHONPATH=$(CURDIR)/debian/gitosis/usr/lib/python2.5/site-packages \
        python setup.py install --prefix=$(CURDIR)/debian/gitosis/usr
 
-       rm -f debian/gitosis/usr/bin/easy_install*
+       rm -f debian/gitosis/usr/bin/easy_install* \
+             debian/gitosis/usr/lib/python2.5/site-packages/easy-install.pth \
+             debian/gitosis/usr/lib/python2.5/site-packages/setuptools.pth
 
        chmod 0755 
debian/gitosis/usr/lib/python*/site-packages/gitosis-*.egg/gitosis/templates/admin/hooks/post-update
 
diff -u gitosis-0.2+20080825/debian/changelog 
gitosis-0.2+20080825/debian/changelog
--- gitosis-0.2+20080825/debian/changelog
+++ gitosis-0.2+20080825/debian/changelog
@@ -1,3 +1,13 @@
+gitosis (0.2+20080825-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove easy-install.pth, setuptools.pth in debian/rules install
+    and leave that to packages providing the modules.
+    Closes: #498209.
+  * Remove generated stuff in debian/rules clean.
+
+ -- Thomas Viehmann <[EMAIL PROTECTED]>  Fri, 19 Sep 2008 20:23:46 +0200
+
 gitosis (0.2+20080825-1) unstable; urgency=medium
 
   * Merging upstream version 0.2+20080825.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to