From aa2b0364b37ea72748f852b1f1bb6f9347f8eed9 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Jul 26 2021 19:34:36 +0000 Subject: Improve comment about which kernel version is selected --- diff --git a/SPECS/kmod-wireguard.spec b/SPECS/kmod-wireguard.spec index 6083728..c543b9f 100644 --- a/SPECS/kmod-wireguard.spec +++ b/SPECS/kmod-wireguard.spec @@ -3,8 +3,8 @@ %global kernel_version_min 4.18.0-315.el8 # To pick a specific kernel use `--define "kernel_version 4.18.0-315.el8"` -# Otherwise the later version of %%{kernel_version_min} and the 'latest' -# installed version of kernel-devel will be used. +# Otherwise the latest installed kernel-devel version later than +# %%{kernel_version_min} will be used. %global kernel_version_latest %({ echo %{kernel_version_min}; rpm --query kernel-devel --queryformat '%%{VERSION}-%%{RELEASE}\\\n' | grep -v kernel-devel; } | sort -V | sed -e '0,/^%{kernel_version_min}$/d' | tail -n 1)