On Mittwoch, 20. April 2016, 12:11:43 wrote marguerite:
在 2016年4月19日,15:21,Markos Chandras <mchandras@suse.de> 写道:
Hi,
Does anyone know how to preserve the contents of ~/rpmbuild/BUILDROOT/* after a successful osc build? It looks like osc build cleans up that directory once it has built the rpm files. However, I would like to examine the ~/rpmbuild/BUILDROOT/ directory to address some rpmlint warnings.
osc build. It does the same thing locally without deleting the buildroot. You can then find the buildroot in /var/tmp
that is right, but rpm-build does. Add something like %clean exit 0 to your spec file to skip the cleanup of BUILDROOT.
Alternatively, does anyone know if it is possible to use 'osc' to run only specific parts of the build process? for example, I would like to run configure->build->install and stop there.
In specfile, add a false statement after make install eg
make install || false
Any ideas? I believe that's a useful feature(s) to have so if there is currently no way to achieve that I will open a bug report.
-- Adrian Schroeter email: adrian@suse.de SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org