$ git clone -n https://src.fedoraproject.org/rpms/polyml.git /var/lib/mock/f31-build-49220-27259/root/chroot_tmpdir/scmroot/polyml Cloning into '/var/lib/mock/f31-build-49220-27259/root/chroot_tmpdir/scmroot/polyml'... $ git reset --hard a41af825b40d27d420ad46b3868980c4a0a07984 HEAD is now at a41af82 Upstream's executable stack approach does not work in all cases, so bring back the workarounds.