summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
Diffstat (limited to 'rpmbuild-remote.py')
-rw-r--r--rpmbuild-remote.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/rpmbuild-remote.py b/rpmbuild-remote.py
index d03d751..ce1a003 100644
--- a/rpmbuild-remote.py
+++ b/rpmbuild-remote.py
@@ -62,7 +62,9 @@ def main():
jobs = []
for arg in args:
ext = os.path.splitext(arg)[1]
- if ext == '.srpm' or ext == '.spec':
+ if ext == '.srpm':
+ jobs.append(arg)
+ elif ext == '.spec':
jobs.append([arg])
else:
if ext not in EXTENSIONS: