$ git clone -n https://src.fedoraproject.org/rpms/GraphicsMagick.git /var/lib/mock/f31-build-96274-32806/root/chroot_tmpdir/scmroot/GraphicsMagick Cloning into '/var/lib/mock/f31-build-96274-32806/root/chroot_tmpdir/scmroot/GraphicsMagick'... $ git reset --hard 008155ee942c98b159667563ada67dae7df55640 HEAD is now at 008155e 1.3.33 use %perl feature macro (instead of %flatpak) everywhere