$ git clone -n https://src.fedoraproject.org/rpms/eccodes.git /var/lib/mock/f33-build-329929-58182/root/chroot_tmpdir/scmroot/eccodes Cloning into '/var/lib/mock/f33-build-329929-58182/root/chroot_tmpdir/scmroot/eccodes'... $ git reset --hard cf1c4f5ff4728fcbf989ed0523a1e54764724e64 HEAD is now at cf1c4f5 Adapt the spec file to use the new style cmake macros