Am 22.11.2015 um 01:04 schrieb Roman Evstifeev:
On Sun, Nov 22, 2015 at 2:54 AM, Jan Engelhardt
wrote: On Saturday 2015-11-21 23:10, Roman Evstifeev wrote:
Hi. Some packages take long time to compile. If i have an error in the spec file, "osc build" will compile and fail after that (if for example %files section is wrong). Is it possible to tell osc to continue from the point just after compilation? O maybe some other trick to avoid loosing time and cpu cycles compiling again?
osc chroot.. fixup, then copy things back to the osc checkout.
Ummm... If i understood your answer correctly - i can fixup spec file inside chroot, and copy it back if build is succeeded. But how to start the build from the point it was interrupted by error?
rpmbuild has --short-circuit to test the %install section. It's unfortunately rather useless as you still can't get a .rpm to test out of it. So if your problem is in %post, you still have to go the long route ;( Greetings, Stephan -- Ma muaß weiterkämpfen, kämpfen bis zum Umfalln, a wenn die ganze Welt an Arsch offen hat, oder grad deswegn. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org