mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Add buildrpm script to confluent_osdeploy
This commit is contained in:
parent
efe936a93d
commit
f7dcabc1ab
7
confluent_osdeploy/buildrpm
Normal file
7
confluent_osdeploy/buildrpm
Normal 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
|
Loading…
Reference in New Issue
Block a user