scripts/package: don't break if %{_smp_mflags} isn't set
authorNishanth Aravamudan <nacc@us.ibm.com>
Wed, 13 Oct 2010 17:39:45 +0000 (10:39 -0700)
committerMichal Marek <mmarek@suse.cz>
Wed, 13 Oct 2010 22:01:16 +0000 (00:01 +0200)
commitc2d5a7300da667d090c8fe79f05404c9fb205b12
treea37a1459e2636c4a5e0c74504422771a28a50f99
parent242c5ab08c8414539ed57bde90e93accd8353825
scripts/package: don't break if %{_smp_mflags} isn't set

Same fix as in 13797b77d419fc1b16eebf2993bf7b5cea65f0bf is needed for the "new"
line invoking _smp_mflags for modules_install. Without the fix, `make
binrpm-pkg` fails with:

+ make '%{_smp_mflags}' KBUILD_SRC= modules_install
make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[2]: *** No rule to make target `%{_smp_mflags}'.  Stop.
error: Bad exit status from /var/tmp/rpm-tmp.8S9B9e (%install)

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/package/mkspec