diff --git a/master.inc b/master.inc index ca7dac6..22f76ab 100644 --- a/master.inc +++ b/master.inc @@ -141,7 +141,7 @@ ln -fns /usr/src/kernels/%{KVERREL} $RPM_BUILD_ROOT/lib/modules/%{KVERREL}/sourc # install actual Linux src to /usr/src/kernels/%{KVERREL} mkdir -p $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL} -%if %{minor_ver} > 5 +%if %{major_ver} > 6 && %{minor_ver} > 5 %{make} run-command KBUILD_RUN_COMMAND='${RPM_BUILD_DIR}/%{src_dir}/scripts/package/install-extmod-build $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}' %else touch $RPM_BUILD_ROOT/usr/src/kernels/%{KVERREL}/MAYBE_THIS_WORKS