#!/bin/bash TOPDIR=$(git rev-parse --show-toplevel) rpmbuild -D "_topdir ${TOPDIR}" -bs $(rpm -D "_topdir ${TOPDIR}" --eval "%{_specdir}/spire.spec")