$ git clone -n https://src.fedoraproject.org/rpms/usb_modeswitch.git /var/lib/mock/f40-build-748511-113861/root/chroot_tmpdir/scmroot/usb_modeswitch Cloning into '/var/lib/mock/f40-build-748511-113861/root/chroot_tmpdir/scmroot/usb_modeswitch'... $ git reset --hard 80331ece0f63e7693924db492b385a33335c4a17 HEAD is now at 80331ec Cleanup spec: use %license, use %patch 0