From 57e23a6f52ba6e99cb76c6fcae72f4918dbee32f Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 11 Feb 2019 10:09:02 -0500 Subject: [PATCH] Add missing dependencies to debian builds Debian builds currently lean on py2dsc, but misses a few key dependencies. --- confluent_server/builddeb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/confluent_server/builddeb b/confluent_server/builddeb index cf44df53..e4743c2c 100755 --- a/confluent_server/builddeb +++ b/confluent_server/builddeb @@ -20,6 +20,9 @@ python setup.py sdist > /dev/null 2>&1 py2dsc dist/*.tar.gz shopt -s extglob cd deb_dist/!(*.orig)/ +if [ "$DPKGNAME" = "confluent-server" ]; then + sed -e 's/^\(Depends:.*\)/\1, python-lxml, python-eficompressor, python-pycryptodomex/' debian/control +fi dpkg-buildpackage -rfakeroot -uc -us -i if [ $? -ne 0 ]; then echo "[ERROR] rpmbuild returned non-zero, run: rpmbuild -ba ~/rpmbuild/SPECS/$PKGNAME.spec"