Package: python-pyrss2gen
Version: 1.0.0-5
Severity: grave
Tags: patch
Justification: renders package unusable


The cause of this appears to be that debian/rules looks for the python
binaries in the current directory instead of /usr/bin, and so setup.py
is never run, and the package is built without the actual python files.

The following patch fixes the problem:

--- debian/rules        2008-08-25 21:02:50.000000000 -0700
+++ debian/rules.new    2008-08-25 21:01:24.035186231 -0700
@@ -15,7 +15,7 @@
        
        set -e; \
        for python in $(PYVERS); do \
-               [ -x "$$python" ] && $$python setup.py clean || true; \
+               [ -x "/usr/bin/$$python" ] && $$python setup.py clean || true; \
        done
        find . -name "*.py[co]" -exec rm -f {} \;
        rm -rf build-stamp build
@@ -29,7 +29,7 @@
        
        # Install python module. 
        for python in $(PYVERS); do \
-               [ -x "$$python" ] && $$python setup.py install \
+               [ -x "/usr/bin/$$python" ] && $$python setup.py install \
                        --root `pwd`/debian/python-pyrss2gen || true; \
        done
        

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (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/bash

-- no debconf information



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

Reply via email to