# Explicity use python3 to avoid python byte compile errors. %global __os_install_post \ /usr/lib/rpm/redhat/brp-compress \ %{!?__debug_package:\ /usr/lib/rpm/redhat/brp-strip %{__strip} \ /usr/lib/rpm/redhat/brp-strip-comment-note %{__strip} %{__objdump} \ } \ /usr/lib/rpm/redhat/brp-strip-static-archive %{__strip} \ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 %{?_python_bytecompile_errors_terminate_build} \ /usr/lib/rpm/redhat/brp-python-hardlink \ %{!?__jar_repack:/usr/lib/rpm/redhat/brp-java-repack-jars} \ %{nil} %global __spec_install_pre %{___build_pre} # Define the version of the Linux Kernel Archive tarball. %define LKAver 6.7.9 # Define the buildid, if required. #define buildid .local # The following build options are enabled by default. # Use either --without