Skip to content

Use RHJOBS for create-tarball

Don Zickus requested to merge xz-threads into os-build

rpm-4.18.1 recently modified how _smp_mflags is defined and it breaks tarball creation: rpm --eval %{_smp_mflags} because the output is '-j${RPM_BUILD_NCPUS}' instead of '-j8'.

While that is being worked on, let's simplify things and use what we already have: RHJOBS.

Now the user controls how many threads with 'make -jX'.

Signed-off-by: Don Zickus dzickus@redhat.com

Edited by Don Zickus

Merge request reports