Am 06.04.2012 13:03, schrieb Andreas Jaeger:
Is it possible to check in the spec file whether I'm building with osc locally or in obs? Or whether it's in Factory or in my home project?
The following did not work for me: # Enable testsuite runs for local builds %if 0%{?opensuse_bs} %define run_testsuite 0 %else %define run_testsuite 1 %endif %bcond_with testsuite
%if 0%{?with testsuite} .... %endif then you can do on local builds osc build .... --with testsuite I used this several times on different perl packages. -- Christian ---------------------------------------------------- - Please do not 'CC' me on list mails. Just reply to the list :) ---------------------------------------------------- Der ultimative shop für Sportbekleidung und Zubehör http://www.sc24.de ---------------------------------------------------- -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org