$ git clone -n https://github.com/xcp-ng-rpms/swtpm.git /var/lib/mock/v8.3-testing-4325-4404/root/chroot_tmpdir/scmroot/swtpm Cloning into '/var/lib/mock/v8.3-testing-4325-4404/root/chroot_tmpdir/scmroot/swtpm'... $ git reset --hard d383e80e4dc9e6aad2c701853b6a9c0c31d88cd4 Downloading SOURCES/swtpm-0.7.3.tar.gz (354 KB) HEAD is now at d383e80 Add BuildRequires epel-rpm-macros to fix build