2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Add buildrpm script to confluent_osdeploy

This commit is contained in:
Jarrod Johnson 2020-05-04 15:47:39 -04:00
parent efe936a93d
commit f7dcabc1ab
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,7 @@
export VERSION=$(git describe --tags)
sed -e "s/#VERSION#/$VERSION/" confluent_osdeploy.spec.tmpl > confluent_osdeploy.spec
cd ..
tar Jcvf confluent_osdeploy.tar.xz confluent_osdeploy
mv $confluent_osdeploy.tar.xz ~/rpmbuild/SOURCES/
cd -
rpmbuild -ba confluent_osdeploy.spec