Alexandru-Balan
without a number is used when you want to run as many jobs as possible
Not, with a specific number it defaults to 1 job.
Also %make as I understand it is using DESTDIR,
No, %make
sets the job count to maximum allowed. It doesn't set DESTDIR.
but for some reason that doesn't work as the install path is always overwritten by this PREFIX variable
Not if it is any remotely sensible Makefile, it doesn't. It'll use DESTDIR and PREFIX, e.g. $(DESTDIR)$(PREFIX)
Our %make_install
actionable macro is what sets DESTDIR. PREFIX defaults to /usr unless otherwise set by the Makefile.
You can see our actionable macros here.