$ git clone -n https://src.fedoraproject.org/rpms/why3.git /var/lib/mock/f31-build-104386-33608/root/thebuilddir/tmp/scmroot/why3 Cloning into '/var/lib/mock/f31-build-104386-33608/root/thebuilddir/tmp/scmroot/why3'... $ git reset --hard 3b52fadc0e9b59e94f5aef3c83633e55700c2d85 HEAD is now at 3b52fad Also install the library, for consumption by frama-c.