$ git clone -n https://github.com/xcp-ng-rpms/conversion-plugin /var/lib/mock/dev-testing-91-59/root/chroot_tmpdir/scmroot/conversion-plugin Cloning into '/var/lib/mock/dev-testing-91-59/root/chroot_tmpdir/scmroot/conversion-plugin'... $ git reset --hard master HEAD is now at 252e652 Re-creation of the SPEC file since Citrix did not provide it.