$ git clone -n https://src.fedoraproject.org/rpms/asterisk.git /var/lib/mock/f40-build-765215-123346/root/chroot_tmpdir/scmroot/asterisk Cloning into '/var/lib/mock/f40-build-765215-123346/root/chroot_tmpdir/scmroot/asterisk'... $ git reset --hard 1aa3344d46664bac64ef2389762f6d3ebc0daa13 HEAD is now at 1aa3344 Backport upstream patch to fix C compatibility issue