Commit 9fed6b3a authored by Julien Muchembled's avatar Julien Muchembled

debian: fix DistributionNotFound error when python-miniupnpc is not installed

parent 8e3cc1ea
......@@ -8,7 +8,7 @@ X-Python-Version: >= 2.7
Package: re6stnet
Architecture: all
Depends: ${misc:Depends}, python (>= 2.7), python-pkg-resources, python-openssl (>= 0.13), openvpn (>= 2.3), babeld (= 1.6.2-nxd1), iproute2 | iproute, openssl
Depends: ${misc:Depends}, ${python:Depends}, python-pkg-resources, python-openssl (>= 0.13), openvpn (>= 2.3), babeld (= 1.6.2-nxd1), iproute2 | iproute, openssl
Recommends: ${python:Recommends}, logrotate
Suggests: ndisc6
Conflicts: re6st-node
......
......@@ -14,7 +14,8 @@ build-package: debian/changelog
include debian/common.mk
override_dh_python2:
dh_python2 --no-guessing-deps --depends=pyOpenSSL --recommends=miniupnpc
sed -i /^miniupnpc$$/d `find $(TMP)/usr -name requires.txt`
dh_python2 --recommends=miniupnpc
override_dh_auto_clean:
make clean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment