The following commit has been merged in the master branch:
commit 3316669aaf23602253937e4e5b3629a8631c759c
Author: David Paleino <da...@debian.org>
Date:   Sat Feb 20 21:46:52 2010 +0100

    Fix file permissions without touching the upstream source.

diff --git a/debian/rules b/debian/rules
index a40b4be..bd4a862 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,6 +32,11 @@ override_dh_auto_build:
 override_dh_prep:
        dh_prep -Xdebian/tmp
 
+override_dh_install:
+       dh_install
+       find $(CURDIR)/debian/ -name "*.png" | xargs chmod -x
+       find $(CURDIR)/debian/ -name "modserver.py" | xargs chmod -x
+
 override_dh_auto_clean:
        scons --clean $(SCONS_FLAGS)
        find -name '*.pyc' -exec rm -f {} \;
@@ -41,9 +46,6 @@ override_dh_auto_clean:
                utils/shapeindex/shapeindex config.py config.cache \
                docs/api_docs/python/*
 
-       # Lintian fix
-       chmod -x demo/viewer/images/*.png 
bindings/python/mapnik/ogcserver/modserver.py
-
        dh_auto_clean
 
 override_dh_installexamples:

-- 
C++/Python toolkit for developing GIS applications

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to