From b153a14ff3d5405106fa18ffbd61c8a59de6c325 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 5 Feb 2019 13:12:35 -0500 Subject: [PATCH] Have builddeb build names consistent with RPM The deb package names and locations were inconsistent with the RPM based distributions. Correct this behavior. --- confluent_server/builddeb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/confluent_server/builddeb b/confluent_server/builddeb index 45d73051..42076c4f 100755 --- a/confluent_server/builddeb +++ b/confluent_server/builddeb @@ -6,7 +6,15 @@ fi ./makesetup VERSION=`cat VERSION` PKGNAME=$(basename $(pwd)) -touch setup.cfg +cat > setup.cfg << EOF +[install] +install-purelib=/opt/confluent/lib/python +install-scripts=/opt/confluent/bin + +[sdist_dsc] +package=confluent-client +EOF + python setup.py sdist > /dev/null 2>&1 py2dsc dist/*.tar.gz shopt -s extglob