On Tuesday 2009-12-22 14:32, Rob OpenSuSE wrote:
for_all_projects; osc co $i for j in *.spec *.spec.in; do perl -i -pe 's/\%{\?jobs:-j\%jobs}/\%_smp_mflags/g' $j; done; echo "* ..." >>x.changes osc ci done;
Now I can either do that, generating a lot of SR noise, or a powerful maintainer (global write permission) -coolo?- directly commits this to the packages without the intermittent SR step.
Before you do a global text substitution, why not put a small hack into make(1) so that any -j or -l invocation, is actually using an option configured by the servers sysadmin.
Of course I considered that. What you see on the mailing list is just the longer-term solution.
In fact, once the package is parallel build capable, surely it's the sysadmin of the machine, not the package maintainers who will know what option makes sense.
Which is why rpm.org ticket 115 proposes %make which is supposed to do just that. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org