summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-29 01:33:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-29 13:08:00 +0000
commit2a7dd3e5472f8e4ed2c65c244b85bd3fdcfb2ccf (patch)
treea4c5730639983d4e84754b25ac72c993cebef2eb
parentAdding missing dependencies to libnvme-dev, thanks to Michael Biebl <biebl@de... (diff)
downloadlibnvme-2a7dd3e5472f8e4ed2c65c244b85bd3fdcfb2ccf.tar.xz
libnvme-2a7dd3e5472f8e4ed2c65c244b85bd3fdcfb2ccf.zip
Workarounding changes for wrong python prefix.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 4cb8910..6673d04 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,6 +9,10 @@ override_dh_auto_configure:
dh_auto_configure -- -Ddocs=man -Ddocs-build=true -Dpython=enabled -Dopenssl=enabled --default-library=both
execute_after_dh_auto_install:
+ # correcting python location
+ mv debian/tmp/usr/local/lib/python* debian/tmp/usr/lib
+ rm -rf debian/tmp/usr/local
+
# remove empty manpages
find debian/tmp/usr/share/man -type f -empty -exec rm -f {} +