aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <proyvind@moondrake.org>2016-07-22 12:43:33 +0200
committerPer Øyvind Karlsen <proyvind@moondrake.org>2016-07-22 12:43:33 +0200
commit0f6942a6eeadaa125989154cdf86eb15eb9cb41b (patch)
tree19aef7eaff8332b61cfebc4fae4a03df6189f2ca /MgaRepo
parent18a63818b75c1ed7430ae38cc61f62be64064883 (diff)
downloadmgarepo-0f6942a6eeadaa125989154cdf86eb15eb9cb41b.tar
mgarepo-0f6942a6eeadaa125989154cdf86eb15eb9cb41b.tar.gz
mgarepo-0f6942a6eeadaa125989154cdf86eb15eb9cb41b.tar.bz2
mgarepo-0f6942a6eeadaa125989154cdf86eb15eb9cb41b.tar.xz
mgarepo-0f6942a6eeadaa125989154cdf86eb15eb9cb41b.zip
enable source fetching from source urls in spec file
Diffstat (limited to 'MgaRepo')
-rw-r--r--MgaRepo/rpmutil.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/MgaRepo/rpmutil.py b/MgaRepo/rpmutil.py
index 3916bca..ebbe5b7 100644
--- a/MgaRepo/rpmutil.py
+++ b/MgaRepo/rpmutil.py
@@ -470,6 +470,7 @@ def build_rpm(build_cmd="b",
cmd = cmd_base + [spec]
status, output = execcmd(*cmd, show=verbose, collecter=True, noerror=True)
+ args.extend(("--define", "_disable_source_fetch 0"))
status, output = execcmd(*args + ["-b"+build_cmd], show=verbose)
if svnlog:
if os.path.isdir(specsdir):