diff --git a/tests/tests.yml b/tests/tests.yml index c846c48..fea4f0e 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -10,8 +10,7 @@ tests: - mockbuild_cryptography: dir: pyproject-rpm-macros/tests - # note: this always builds from the rawhide branch, no idea how to reference the target branch of the test - run: fedpkg clone -a python-cryptography && cd python-cryptography && fedpkg sources && ../mocktest.sh python-cryptography + run: fedpkg clone -a python-cryptography && cd python-cryptography && (git switch f$(rpm -q --qf '%{VERSION}' fedora-release-common) || :) && fedpkg sources && ../mocktest.sh python-cryptography required_packages: - fedpkg - mock