%global __spec_install_pre %{___build_pre} # Kernel has several large (hundreds of mbytes) rpms, they take ~5 mins # to compress by single-threaded xz. Switch to threaded compression, # and from level 2 to 3 to keep compressed sizes close to "w2" results. # # NB: if default compression in /usr/lib/rpm/redhat/macros ever changes, # this one might need tweaking (e.g. if default changes to w3.xzdio, # change below to w4T.xzdio): %global _binary_payload w3T.xzdio # Define the version of the Linux Kernel Archive tarball. %define LKAver 6.12.1 # Define the buildid, if required. #define buildid .local # The following build options are enabled by default. # Use either --without