$ git clone -n https://github.com/xcp-ng-rpms/samba.git /var/lib/mock/v8.3-base-3940-3894/root/chroot_tmpdir/scmroot/samba Cloning into '/var/lib/mock/v8.3-base-3940-3894/root/chroot_tmpdir/scmroot/samba'... $ git reset --hard b956c6dbcb4ad67240657300132f60ba04c3b2fe Downloading SOURCES/samba-4.10.16.tar.gz (37 MB) HEAD is now at b956c6d Import samba-4.10.16-17.0.3.xs8.src.rpm