2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-09 04:56:12 +00:00

Add missing dependencies to debian builds

Debian builds currently lean on py2dsc, but misses a few key
dependencies.
This commit is contained in:
Jarrod Johnson 2019-02-11 10:09:02 -05:00
parent 73b234d29e
commit 57e23a6f52

View File

@ -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"