From 0ef55388426231b041e5c1d8f03274ca78cf8eaa Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Sat, 20 Mar 2021 21:04:56 +0100 Subject: [PATCH] - tag testing no longer supported --- TLD_Builder/srpm_builder.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/TLD_Builder/srpm_builder.py b/TLD_Builder/srpm_builder.py index 6476b04..56641c5 100644 --- a/TLD_Builder/srpm_builder.py +++ b/TLD_Builder/srpm_builder.py @@ -99,13 +99,9 @@ def build_srpm(r, b): b.src_rpm = "" builder_opts = "-nu -nm --nodeps --http --define \'_tld_builder 1\'" - if ("test-build" in r.flags): - tag_test="" - else: - tag_test=" -Tp %s -tt" % (config.tag_prefixes[0],) - cmd = ("cd rpm/packages; nice -n %s ./builder %s -bs %s -r %s %s %s %s %s 2>&1" % + cmd = ("cd rpm/packages; nice -n %s ./builder %s -bs %s -r %s %s %s %s 2>&1" % (config.nice, builder_opts, b.bconds_string(), b.branch, - tag_test, b.kernel_string(), b.defines_string(), b.spec)) + b.kernel_string(), b.defines_string(), b.spec)) util.append_to(b.logfile, "request from: %s" % r.requester) util.append_to(b.logfile, "started at: %s" % time.asctime()) util.append_to(b.logfile, "building SRPM using: %s\n" % cmd) -- 2.46.0