summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2008-02-04 17:46:18 -0500
committerJesse Keating <jkeating@redhat.com>2008-02-04 17:46:18 -0500
commitc70436aea360ef118fb7963a5b2aececd57d4590 (patch)
tree9b8db94425681f350e39433129ea8ef9be1cda38
parente6387fbfeef2f85a073029abffc3f4c67c89dbac (diff)
downloadreleng-c70436aea360ef118fb7963a5b2aececd57d4590.tar.gz
releng-c70436aea360ef118fb7963a5b2aececd57d4590.tar.xz
releng-c70436aea360ef118fb7963a5b2aececd57d4590.zip
Skip noarch builds.
-rwxr-xr-xscripts/need-rebuild-gcc43.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/need-rebuild-gcc43.py b/scripts/need-rebuild-gcc43.py
index c342781..ae6829f 100755
--- a/scripts/need-rebuild-gcc43.py
+++ b/scripts/need-rebuild-gcc43.py
@@ -24,6 +24,9 @@ for build in tocheck:
if build in needbuild:
continue
if task['method'] == 'buildArch':
+ if task['arch'] == 'noarch':
+ print "noarch build, skipping task", task['id']
+ continue
for rootid in kojisession.listBuildroots(taskID=task['id']):
for pkg in kojisession.listRPMs(componentBuildrootID=rootid['id']):
if pkg['name'] == 'gcc':