package-notes/tests/simple-rpm/runtest.sh
2022-08-06 19:24:00 +02:00

9 lines
250 B
Bash
Executable File

#!/bin/bash
set -ex
dnf -y build-dep test.spec
rpmbuild --define '_sourcedir .' --define '_builddir .' -bb test.spec
dnf -y build-dep test.spec -D "_with_ld_lld 1"
rpmbuild --with ld_lld --define '_sourcedir .' --define '_builddir .' -bb test.spec