$ git clone -n https://github.com/xcp-ng-rpms/logrotate.git /var/lib/mock/v8.3-base-4039-3957/root/chroot_tmpdir/scmroot/logrotate Cloning into '/var/lib/mock/v8.3-base-4039-3957/root/chroot_tmpdir/scmroot/logrotate'... $ git reset --hard 92dafc09c4c0e03f38fb39550ec0ef2a36513cb0 Downloading SOURCES/logrotate-3.8.6.tar.gz (58 KB) HEAD is now at 92dafc0 Re-add gcc BuildRequires