+# CMake Warning at ../lldb/cmake/modules/FindPythonInterpAndLibs.cmake:10 (find_package):
+# By not providing "FindPython3.cmake" in CMAKE_MODULE_PATH this project has
+# asked CMake to find a package configuration file provided by "Python3", but
+# CMake did not find one.
+# Could not find a package configuration file provided by "Python3" with any
+# of the following names:
+# Python3Config.cmake
+# python3-config.cmake
+# Add the installation prefix of "Python3" to CMAKE_PREFIX_PATH or set
+# "Python3_DIR" to a directory containing one of the above files. If
+# "Python3" provides a separate development package or SDK, be sure it has
+# been installed.
+# Call Stack (most recent call first):
+# ../lldb/cmake/modules/FindPythonInterpAndLibs.cmake:71 (FindPython3)
+# ../lldb/cmake/modules/LLDBConfig.cmake:48 (find_package)
+# ../lldb/cmake/modules/LLDBConfig.cmake:59 (add_optional_dependency)
+# ../lldb/CMakeLists.txt:28 (include)
+. /opt/rh/rh-python38/enable
+%endif
+%if 0%{?rhel} == 8
+cmakesrc=cmake-3.18.3-1.fc33.src.rpm
+rm -rf $cmakesrc $cmakesrc.tgz $cmakesrc.d
+wget http://ftp.fi.muni.cz/pub/linux/fedora/linux/releases/33/Everything/source/tree/Packages/c/$cmakesrc
+rpm2archive $cmakesrc
+(mkdir $cmakesrc.d
+ cd $cmakesrc.d
+ tar xzf ../$cmakesrc.tgz
+ # FIXME: Why?
+ for i in .[a-z]*;do mv $i `echo $i|sed 's/^\.//'`;done
+ sed -i -e 's/qt-gui /&--no-system-libarchive --no-system-libuv /' cmake.spec
+ rpmbuild --define "_topdir $PWD" --define "_builddir $PWD" --define "_rpmdir $PWD" --define "_sourcedir $PWD" --define "_specdir $PWD" --define "_srcrpmdir $PWD" -bc --nodeps cmake.spec
+)
+%global __cmake %(echo %{_builddir}/cmake-*.d/cmake-*/*/bin/cmake)
+%global __cmake_builddir .
+%global cmake_build \
+ %__cmake --build "%{__cmake_builddir}" %{?_smp_mflags} --verbose
+%global cmake_install \
+ DESTDIR="%{buildroot}" %__cmake --install "%{__cmake_builddir}"