redhat-rpm-config/tests/auto-set-build-flags/runtest.sh

8 lines
219 B
Bash
Executable File

#!/bin/bash
set -ex
dnf -y builddep test.spec
rpmbuild --define '_sourcedir .' --define '_builddir .' -bi test.spec
rpmbuild --without auto_set_build_flags --define '_sourcedir .' --define '_builddir .' -bi test.spec