summaryrefslogtreecommitdiffstats
path: root/debian/patches/0002-python-fix-for-dist-packages.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0002-python-fix-for-dist-packages.patch')
-rw-r--r--debian/patches/0002-python-fix-for-dist-packages.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/debian/patches/0002-python-fix-for-dist-packages.patch b/debian/patches/0002-python-fix-for-dist-packages.patch
new file mode 100644
index 0000000..971bfa0
--- /dev/null
+++ b/debian/patches/0002-python-fix-for-dist-packages.patch
@@ -0,0 +1,49 @@
+From: Jim Popovitch <jimpop@domainmail.org>
+Date: Sat, 13 Jul 2019 17:00:35 +0000
+Subject: python fix for dist-packages
+
+---
+ bin/python/dnssec-checkds.py.in | 2 +-
+ bin/python/dnssec-coverage.py.in | 2 +-
+ bin/python/dnssec-keymgr.py.in | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/bin/python/dnssec-checkds.py.in b/bin/python/dnssec-checkds.py.in
+index 3ec15e2..e70d0c4 100644
+--- a/bin/python/dnssec-checkds.py.in
++++ b/bin/python/dnssec-checkds.py.in
+@@ -22,7 +22,7 @@ if os.name != "nt":
+ sys.path.insert(
+ 1,
+ os.path.join(
+- "@prefix@", "lib", "python" + sys.version[:3], "site-packages"
++ "@prefix@", "lib", "python" + sys.version[:3], "dist-packages"
+ ),
+ )
+
+diff --git a/bin/python/dnssec-coverage.py.in b/bin/python/dnssec-coverage.py.in
+index a82dfe3..7d4f6ba 100644
+--- a/bin/python/dnssec-coverage.py.in
++++ b/bin/python/dnssec-coverage.py.in
+@@ -22,7 +22,7 @@ if os.name != "nt":
+ sys.path.insert(
+ 1,
+ os.path.join(
+- "@prefix@", "lib", "python" + sys.version[:3], "site-packages"
++ "@prefix@", "lib", "python" + sys.version[:3], "dist-packages"
+ ),
+ )
+
+diff --git a/bin/python/dnssec-keymgr.py.in b/bin/python/dnssec-keymgr.py.in
+index f8ee013..3bfa02e 100644
+--- a/bin/python/dnssec-keymgr.py.in
++++ b/bin/python/dnssec-keymgr.py.in
+@@ -22,7 +22,7 @@ if os.name != "nt":
+ sys.path.insert(
+ 1,
+ os.path.join(
+- "@prefix@", "lib", "python" + sys.version[:3], "site-packages"
++ "@prefix@", "lib", "python" + sys.version[:3], "dist-packages"
+ ),
+ )
+