$ git clone -n https://github.com/xcp-ng-rpms/python-libarchive-c.git /var/lib/mock/v8.1-base-1799-1240/root/chroot_tmpdir/scmroot/python-libarchive-c Cloning into '/var/lib/mock/v8.1-base-1799-1240/root/chroot_tmpdir/scmroot/python-libarchive-c'... $ git reset --hard 8d379b5a026fde6b9ae0a4081e78136ecee08d5c Downloading SOURCES/python-libarchive-c-2.5.tar.gz (40 KB) HEAD is now at 8d379b5 Import python-libarchive-c-2.5-2.el7.centos.src.rpm