[projects/pld-builder.new] srpm_builder: stop tagging at the first failing prefix

arekm arekm at pld-linux.org
Mon Oct 26 17:16:00 CET 2026


commit 379a8ab1012d37b9e7e21410ba142a82c47d6d09
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Oct 24 11:06:21 2026 +0200

    srpm_builder: stop tagging at the first failing prefix
    
    A failed tag was ignored when a later prefix tagged fine.

 PLD_Builder/srpm_builder.py | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/PLD_Builder/srpm_builder.py b/PLD_Builder/srpm_builder.py
index 8255f28..73b2290 100644
--- a/PLD_Builder/srpm_builder.py
+++ b/PLD_Builder/srpm_builder.py
@@ -127,6 +127,8 @@ def build_srpm(r, b):
             util.append_to(b.logfile, "Tagging with prefix: %s" % pref)
             res = chroot.run("cd rpm/packages; ./builder -bs %s -r %s -Tp %s -Tv %s %s" % \
                         (b.bconds_string(), b.branch, pref, b.defines_string(), b.spec), logfile = b.logfile, nonet=False)
+            if res:
+                break
     if res == 0 and not transfer_file(r, b):
         res = "FAIL"
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/ce9feb3c796ed049b6dd260a50d94d80feb1656d



More information about the pld-cvs-commit mailing list