$ git clone -n https://src.fedoraproject.org/rpms/mysql-connector-odbc.git /var/lib/mock/f33-build-340216-58655/root/chroot_tmpdir/scmroot/mysql-connector-odbc Cloning into '/var/lib/mock/f33-build-340216-58655/root/chroot_tmpdir/scmroot/mysql-connector-odbc'... $ git reset --hard 5ce5e116c4adb9ba607dfb539f053a3f7f9d6f85 HEAD is now at 5ce5e11 Rebase to 8.0.21 Force the CMake change regarding the in-source builds also to F31 and F32 Use CMake macros instead of cmake & make direct commands %%cmake macro covers the %%{set_build_flags}, so they are not needed Use macro for buildroot path