aboutsummaryrefslogtreecommitdiffstats
path: root/create-srpm
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2016-11-05 15:38:08 +0100
committerPapoteur <papoteur@mageialinux-online.org>2016-11-05 15:38:08 +0100
commitf372e877cb32a6c009e29ff9ddf1a14f8b2fd216 (patch)
treebe50c72a1a883aa07cad805d44a0cda906285997 /create-srpm
parent8f51e35c875c9cbb4637cbf8796ee66a871ba57f (diff)
downloadmgarepo-f372e877cb32a6c009e29ff9ddf1a14f8b2fd216.tar
mgarepo-f372e877cb32a6c009e29ff9ddf1a14f8b2fd216.tar.gz
mgarepo-f372e877cb32a6c009e29ff9ddf1a14f8b2fd216.tar.bz2
mgarepo-f372e877cb32a6c009e29ff9ddf1a14f8b2fd216.tar.xz
mgarepo-f372e877cb32a6c009e29ff9ddf1a14f8b2fd216.zip
Revert to 1.12.3 state
Diffstat (limited to 'create-srpm')
-rwxr-xr-xcreate-srpm4
1 files changed, 3 insertions, 1 deletions
diff --git a/create-srpm b/create-srpm
index a2418c2..497ecd6 100755
--- a/create-srpm
+++ b/create-srpm
@@ -10,6 +10,7 @@ import sys
import os
import pwd
import optparse
+import subprocess
import urllib.parse
import urllib.request, urllib.parse, urllib.error
import rpm
@@ -119,7 +120,8 @@ class CmdIface:
upload_command.append(x)
upload_command.append(targetname)
upload_command.extend(uploadsrpms)
- status, output = execcmd(upload_command, noerror=1)
+ command = subprocess.list2cmdline(upload_command)
+ status, output = execcmd(command, noerror=1)
for srpm in uploadsrpms:
if os.path.isfile(srpm):
os.unlink(srpm)