]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- fix !dist_kernel with non-built tree
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 3 Sep 2008 14:53:39 +0000 (14:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.477

rpm.macros

index 84b3d37865bfe50a727a827bd5bf567cf8e20525..dfebf636f2989c4691f985ec996dc1bd627b9542 100644 (file)
@@ -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}                                                                                             \
This page took 0.106408 seconds and 4 git commands to generate.