$ git clone -n https://src.fedoraproject.org/rpms/kdiagram.git /var/lib/mock/f33-build-526018-64645/root/chroot_tmpdir/scmroot/kdiagram Cloning into '/var/lib/mock/f33-build-526018-64645/root/chroot_tmpdir/scmroot/kdiagram'... $ git reset --hard 7932ac4c8da128eb3fbe39aabc4169540fda0931 HEAD is now at 7932ac4 2.8.0 %check: use %ctest (with some hackery) update URL drop 'BR: make', cmake pulls it in