summaryrefslogtreecommitdiffstats
path: root/rpmbuild-remote.py
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-09-08 20:07:38 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-09-08 20:07:38 -0400
commitf486f6fba428c291563cfac31e36a8e452b53022 (patch)
treea1e033fe466d2174356996a85d9c0c0ce6262bbe /rpmbuild-remote.py
parent1a2d69434c82dfdead06787b6a162892dceddb70 (diff)
downloadrpmbuild-remote-f486f6fba428c291563cfac31e36a8e452b53022.tar.gz
rpmbuild-remote-f486f6fba428c291563cfac31e36a8e452b53022.tar.xz
rpmbuild-remote-f486f6fba428c291563cfac31e36a8e452b53022.zip
Start a list of sources for the spec files, but a single string for the srpm files
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: