From 32e41ddd22b90aa05739de6f581a60cde5d6ab47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 8 Jun 2023 13:39:59 +0200 Subject: [PATCH] Try to switch to the proper branch --- tests/tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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