--- kernel.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kernel.spec b/kernel.spec index 6e2df747..377b71a0 100644 --- a/kernel.spec +++ b/kernel.spec @@ -382,6 +382,11 @@ ExclusiveOS: Linux %ifnarch %{nobuildarches} Requires: kernel-core-uname-r = %{KVERREL}%{?variant} Requires: kernel-modules-uname-r = %{KVERREL}%{?variant} +# Enforce kernel-devel varriant >= uname-r,varriant if installed - rhbz#1450577 +# Only needed for fedora kernel +%if 0%{?fedora} +Requires: (kernel-devel-uname-r >= %{KVERREL}%{?variant} if kernel-devel-uname-r) +%endif %endif -- 2.13.3 _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx