tags 485052 + patch
thanks

Hi,

The following is the diff for my python-pyrss2gen 1.0.0-4.1 NMU.

I am not sure that this is the right solution, but it Works For Me.
diff -u python-pyrss2gen-1.0.0/debian/changelog python-pyrss2gen-1.0.0/debian/changelog
--- python-pyrss2gen-1.0.0/debian/changelog
+++ python-pyrss2gen-1.0.0/debian/changelog
@@ -1,3 +1,10 @@
+python-pyrss2gen (1.0.0-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add check for python versions in debian/rules. (Closes: #485052)
+
+ -- Jan Hülsbergen <[EMAIL PROTECTED]>  Sun, 20 Jul 2008 19:45:32 +0200
+
 python-pyrss2gen (1.0.0-4) unstable; urgency=low

   * Bump Standards-Version to 3.7.3.0
diff -u python-pyrss2gen-1.0.0/debian/rules python-pyrss2gen-1.0.0/debian/rules
--- python-pyrss2gen-1.0.0/debian/rules
+++ python-pyrss2gen-1.0.0/debian/rules
@@ -15,7 +15,7 @@

    set -e; \
    for python in $(PYVERS); do \
-       $$python setup.py clean; \
+       [ -x "$$python" ] && $$python setup.py clean || true; \
    done
    find . -name "*.py[co]" -exec rm -f {} \;
    rm -rf build-stamp build
@@ -29,7 +29,8 @@

    # Install python module.
    for python in $(PYVERS); do \
-       $$python setup.py install --root `pwd`/debian/python-pyrss2gen; \
+       [ -x "$$python" ] && $$python setup.py install \
+           --root `pwd`/debian/python-pyrss2gen || true; \
    done

    touch build-stamp

Reply via email to