$ git clone -n https://src.fedoraproject.org/rpms/qelectrotech.git /var/lib/mock/f37-build-665289-74231/root/chroot_tmpdir/scmroot/qelectrotech Cloning into '/var/lib/mock/f37-build-665289-74231/root/chroot_tmpdir/scmroot/qelectrotech'... $ git reset --hard 17c2f3c28aec86468b33955bdfd1939c04473e5b HEAD is now at 17c2f3c undefine _package_note_file to fix FTBFS #2113668