diff --git a/confluent_osdeploy/buildrpm b/confluent_osdeploy/buildrpm new file mode 100644 index 00000000..91b947ee --- /dev/null +++ b/confluent_osdeploy/buildrpm @@ -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 diff --git a/confluent_osdeploy/confluent_deploy.spec.tmpl b/confluent_osdeploy/confluent_osdeploy.spec.tmpl similarity index 100% rename from confluent_osdeploy/confluent_deploy.spec.tmpl rename to confluent_osdeploy/confluent_osdeploy.spec.tmpl