[DebianGIS-dev] [SCM] mapnik branch, master, updated. debian/0.6.1-1-46-g2e31b2a

David Paleino dapal at debian.org
Sat Feb 20 23:13:43 UTC 2010


The following commit has been merged in the master branch:
commit 3316669aaf23602253937e4e5b3629a8631c759c
Author: David Paleino <dapal at 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



More information about the Pkg-grass-devel mailing list