The following commit has been merged in the master branch: commit 421fe79add859de2e4d6d9331b165dacfb4801b0 Author: David Paleino <da...@debian.org> Date: Tue Oct 11 23:42:53 2011 +0200
Install SQL snippet to an appropriate place diff --git a/debian/patches/00-fix_sql_path.patch b/debian/patches/00-fix_sql_path.patch new file mode 100644 index 0000000..d0dc370 --- /dev/null +++ b/debian/patches/00-fix_sql_path.patch @@ -0,0 +1,20 @@ +From: David Paleino <da...@debian.org> +Subject: point to the correctly installed file +Origin: vendor +Forwarded: no + +--- + imposm/psqldb.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- imposm.orig/imposm/psqldb.py ++++ imposm/imposm/psqldb.py +@@ -88,7 +88,7 @@ def main(): + 'password': options.password, + } + +- mapping['epsg900913_sql'] = join(dirname(__file__), '900913.sql') ++ mapping['epsg900913_sql'] = '/usr/share/python-imposm/900913.sql' + find_sql_files(options.pg_version, mapping) + + template = string.Template(db_create_template) diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..d2a6d63 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +00-fix_sql_path.patch diff --git a/debian/python-imposm.install b/debian/python-imposm.install index 2964de6..f1060b2 100644 --- a/debian/python-imposm.install +++ b/debian/python-imposm.install @@ -1 +1,3 @@ usr/lib/ + +imposm/900913.sql usr/share/python-imposm/ -- Python importer for OpenStreetMap data _______________________________________________ Pkg-osm-commits mailing list Pkg-osm-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-osm-commits