pollymc/packages/rpm/makerpm.sh

10 lines
229 B
Bash
Raw Normal View History

2022-01-09 09:14:18 +05:30
#!/usr/bin/env bash
git submodule init
git submodule update
VERSION=$(git describe --tags | sed 's/-.*//')
DIR=$(pwd)
sed -i "s/Version:.*/Version: ${VERSION}/" polymc.spec
sudo dnf builddep polymc.spec
rpmbuild -ba polymc.spec