From 0f6942a6eeadaa125989154cdf86eb15eb9cb41b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=98yvind=20Karlsen?= Date: Fri, 22 Jul 2016 12:43:33 +0200 Subject: enable source fetching from source urls in spec file --- MgaRepo/rpmutil.py | 1 + 1 file changed, 1 insertion(+) 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): -- cgit v1.2.1