tags 625171 patch
thanks

Hi,

 To avoid this FTBFS, remove python2.5 lines from debian/rules.
 Here's a proposal patch.



iff -urN pymca-4.4.1p1.orig/debian/rules pymca-4.4.1p1/debian/rules
--- pymca-4.4.1p1.orig/debian/rules     2010-11-30 20:16:02.000000000 +0900
+++ pymca-4.4.1p1/debian/rules  2011-05-24 17:58:05.561659399 +0900
@@ -12,8 +12,7 @@
        python setup.py clean
        -rm -rf build
 
-P25LIB=debian/pymca/usr/lib/python2.5/site-packages/PyMca
-P26LIB=debian/pymca/usr/lib/python2.6/dist-packages/PyMca
+P2xLIB=$(CURDIR)/debian/pymca/usr/lib/python2.*/dist-packages/PyMca
 
 override_dh_install:
        dh_install
@@ -21,16 +20,11 @@
        chmod -R a-X debian/pymca/usr/lib/*
        # FIXME: Is there an easier way to exclude files which
        # are installed to another binary package?
-       rm -rf $(P25LIB)/attdata
-       rm $(P25LIB)/*.dat
-       rm $(P25LIB)/*.dict
-       rm $(P25LIB)/*.cfg
-       rm $(P25LIB)/changelog.txt
-       rm -rf $(P26LIB)/attdata
-       rm $(P26LIB)/*.dat
-       rm $(P26LIB)/*.dict
-       rm $(P26LIB)/*.cfg
-       rm $(P26LIB)/changelog.txt
+       rm -rf $(P2xLIB)/attdata \
+               $(P2xLIB)/*.dat \
+               $(P2xLIB)/*.dict \
+               $(P2xLIB)/*.cfg \
+               $(P2xLIB)/changelog.txt
 override_dh_pysupport:
        dh_pysupport
        chmod 755 debian/pymca-data/usr/share/pyshared



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to