summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--BuildManager/build.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/BuildManager/build.py b/BuildManager/build.py
index 9279d17..73a1442 100644
--- a/BuildManager/build.py
+++ b/BuildManager/build.py
@@ -38,6 +38,9 @@ class PackageBuilder:
logger.info("creating package list")
for filename in self.opts.args:
pkg = Package(filename, self.opts.build_log)
+ if pkg.type == 'rpm':
+ logger.info("skipping %s, not a src.rpm" % filename)
+ break
for ignore in self.opts.ignore:
if ignore.match(pkg.name):
break