$ git clone -n https://src.fedoraproject.org/rpms/mujs.git /var/lib/mock/f40-build-2012162-45773/root/chroot_tmpdir/scmroot/mujs Cloning into '/var/lib/mock/f40-build-2012162-45773/root/chroot_tmpdir/scmroot/mujs'... $ git fetch origin 825aeeb76924c2e115489a0f3a70b3696b4b9e3b:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/mujs * [new ref] 825aeeb76924c2e115489a0f3a70b3696b4b9e3b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 825aeeb Install the shared library instead of default static one. Solve RHBZ#2241358