[imposm] 21/47: Install SQL snippet to an appropriate place
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Fri Mar 13 19:07:37 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository imposm.
commit 421fe79add859de2e4d6d9331b165dacfb4801b0
Author: David Paleino <dapal at debian.org>
Date: Tue Oct 11 23:42:53 2011 +0200
Install SQL snippet to an appropriate place
---
debian/patches/00-fix_sql_path.patch | 20 ++++++++++++++++++++
debian/patches/series | 1 +
debian/python-imposm.install | 2 ++
3 files changed, 23 insertions(+)
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 <dapal at 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/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/imposm.git
More information about the Pkg-grass-devel
mailing list