package-notes/tests/simple-rpm/runtest.sh

9 lines
250 B
Bash
Raw Normal View History

2022-02-22 23:51:08 +00:00
#!/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