summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-11 20:26:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-11 20:26:35 +0000
commit56079e865392ae783992a8d200dfb2f4fdbac277 (patch)
treebcee864bfbd36f73042258dfd0e3327b9212ef9a
parentReleasing debian version 1.5-2. (diff)
downloadlibnvme-56079e865392ae783992a8d200dfb2f4fdbac277.tar.xz
libnvme-56079e865392ae783992a8d200dfb2f4fdbac277.zip
Making workaround for certain meson versions conditional in rules to fix (now) FTBFS in sid (Closes: #1051722).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdebian/rules7
1 files changed, 5 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 6673d04..b28f7fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,8 +10,11 @@ override_dh_auto_configure:
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
+ if [ -e debian/tmp/usr/local/lib ]; \
+ then \
+ mv debian/tmp/usr/local/lib/python* debian/tmp/usr/lib; \
+ rm -rf debian/tmp/usr/local; \
+ fi
# remove empty manpages
find debian/tmp/usr/share/man -type f -empty -exec rm -f {} +