5 if ! rpm -qi openssl-devel; then
10 git describe --always --tags --match='release-*' "$@"
13 spec=$HOME/rpmbuild/SPECS/tinc.spec
14 version=$(find_tag HEAD | sed 's/-/_/g')
15 version=${version//release_/}
17 export CONFIG_SHELL=bash
19 yum install -y rpmdevtools
22 cp "$(dirname "$0")/tinc.spec" "$spec"
23 sed -i "s/__VERSION__/$version/" "$spec"
26 cp -a . ~/rpmbuild/BUILD