X-Git-Url: http://git.pld-linux.org/?p=packages%2Frpm.git;a=blobdiff_plain;f=rpm.macros;h=dfebf636f2989c4691f985ec996dc1bd627b9542;hp=84b3d37865bfe50a727a827bd5bf567cf8e20525;hb=c940d7763dbbadc077c4d8cba3a00f8d69f1f4bb;hpb=6664e05ec22247db7b59e063b9dc4d66033ac4a5 diff --git a/rpm.macros b/rpm.macros index 84b3d37..dfebf63 100644 --- a/rpm.macros +++ b/rpm.macros @@ -1312,7 +1312,7 @@ for cfg in ${cfgs:-dist}; do \ [ -z "$PATCH_SH" ] || echo "$PATCH_SH" | %__spec_build_shell \ set -x \ \ - %if %{with dist_kernel} \ + %if %{with dist_kernel} || %(test -f %{_kernelsrcdir}/scripts/bin2c ; echo $?) \ %{__make} -j1 -C %{_kernelsrcdir} prepare scripts \\\ %{-p*} %{-P*} \\\ %{MakeOpts} \