pld-builder.new: PLD_Builder/rpm_builder.py - log build arch check...
glen
glen at pld-linux.org
Mon Mar 5 20:17:55 CET 2007
Author: glen Date: Mon Mar 5 19:17:55 2007 GMT
Module: pld-builder.new Tag: HEAD
---- Log message:
- log build arch check failure
---- Files affected:
pld-builder.new/PLD_Builder:
rpm_builder.py (1.45 -> 1.46)
---- Diffs:
================================================================
Index: pld-builder.new/PLD_Builder/rpm_builder.py
diff -u pld-builder.new/PLD_Builder/rpm_builder.py:1.45 pld-builder.new/PLD_Builder/rpm_builder.py:1.46
--- pld-builder.new/PLD_Builder/rpm_builder.py:1.45 Mon Mar 5 20:06:13 2007
+++ pld-builder.new/PLD_Builder/rpm_builder.py Mon Mar 5 20:17:50 2007
@@ -102,6 +102,8 @@
cmd = "cd rpm/SPECS; TMPDIR=%s nice -n %s rpmbuild -bp --short-circuit --nodeps --define 'prep exit 0' %s %s" % \
(tmpdir, config.nice, rpmbuild_opt, b.spec)
res = chroot.run(cmd, logfile = b.logfile)
+ if res != 0:
+ b.log_line("error: build arch check failed")
if not res:
if ("no-install-br" not in r.flags) and install_br.install_br(r, b):
================================================================
---- CVS-web:
http://cvs.pld-linux.org/pld-builder.new/PLD_Builder/rpm_builder.py?r1=1.45&r2=1.46&f=u
More information about the pld-cvs-commit
mailing list