$ git clone -n https://src.fedoraproject.org/rpms/libtpms.git /var/lib/mock/f41-build-825798-154714/root/chroot_tmpdir/scmroot/libtpms Cloning into '/var/lib/mock/f41-build-825798-154714/root/chroot_tmpdir/scmroot/libtpms'... $ git reset --hard 75a8973ab9914f698c1b5b68fc0d686a413b38d1 HEAD is now at 75a8973 Pass -p1 for applying patches as parameter to autosetup