$ git clone -n https://src.fedoraproject.org/rpms/python-chm.git /var/lib/mock/f31-build-51000-27467/root/chroot_tmpdir/scmroot/python-chm Cloning into '/var/lib/mock/f31-build-51000-27467/root/chroot_tmpdir/scmroot/python-chm'... $ git reset --hard 31db3a01fc49610f0436528cb9349a38d5ae619b HEAD is now at 31db3a0 Remove %clean section