summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 41f7383..8630749 100755
--- a/debian/rules
+++ b/debian/rules
@@ -51,3 +51,5 @@ override_dh_auto_install:
--install-layout deb; \
done
rm $(PYBUILD_DESTDIR_python3)usr/bin/versioneer.py
+ # patch requires.txt file by stripping version information - these are provided by debian depends
+ find debian/ -name requires.txt |xargs perl -i -pe "s/(.*)==.*/\1/"