| |
@@ -256,6 +256,7 @@
|
| |
"--define", "dist %nil",
|
| |
"--define", "_sourcedir {0}".format(sources_dir),
|
| |
"--define", "_srcrpmdir {0}".format(args.outputdir),
|
| |
+ "--define", "_disable_source_fetch 1",
|
| |
]
|
| |
|
| |
if args.dry_run or 'COPR_DISTGIT_CLIENT_DRY_RUN' in os.environ:
|
| |
When creating source RPMs from a dist-git repository, we are 100% sure
we don't have to try to download the patches/sources from the Internet
(dist-git repo is self-standing). So let's disable the automatic
downloads explicitly (no matter if the default is ON/OFF on the host).
We still have the auto-downloading by default ON on copr builder hosts,
but that's just for the purpose of "upload spec" feature, and it is
likely to be changed with #1427.
Fixes: #1219