2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-25 12:41:39 +00:00

Fix build issues with the vtbuffer daemon

This commit is contained in:
Jarrod Johnson 2021-04-01 17:17:34 -04:00
parent d64b3e6a4e
commit 2320718618
2 changed files with 4 additions and 1 deletions

2
confluent_vtbufferd/buildrpm Normal file → Executable file
View File

@ -12,7 +12,7 @@ cp dist/confluent_vtbufferd-$VERSION.tar.gz ~/rpmbuild/SOURCES
sed -e 's/#VERSION#/'$VERSION/ confluent_vtbufferd.spec.tmpl > ~/rpmbuild/SPECS/confluent_vtbufferd.spec
rpmbuild -ba ~/rpmbuild/SPECS/confluent_vtbufferd.spec 2> /dev/null |grep ^Wrote:
if [ $? -ne 0 ]; then
echo "[ERROR] rpmbuild returned non-zero, run: rpmbuild -ba ~/rpmbuild/SPECS/$PKGNAME.spec"
echo "[ERROR] rpmbuild returned non-zero, run: rpmbuild -ba ~/rpmbuild/SPECS/confluent_vtbufferd.spec"
exit 1
else
# Clean up the generated files in this directory

View File

@ -42,3 +42,6 @@ make
%install
mkdir -p $RPM_BUILD_ROOT/opt/confluent/bin
cp vtbufferd $RPM_BUILD_ROOT/opt/confluent/bin/
%files
/opt/confluent/bin/confluent