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:
parent
d64b3e6a4e
commit
2320718618
2
confluent_vtbufferd/buildrpm
Normal file → Executable file
2
confluent_vtbufferd/buildrpm
Normal file → Executable 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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user