Description of problem:
When one tries to use yumdownloader to download SRPMS with the default
configuration the result is that no packages are found. Only after enabling the
source repositories in the yum.repos.d/ can one actually make use of the
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. install yum-utils
2. yumdownloader --source [name of package]
yumdownloader returns "No Match for argument [name of query]
Yumdownloader should automatically enable the source repositories for Core and
Extras when one uses the --source switch resulting the downloading the SRPM.
That, or --enablerepo= commandline parameter as in yum, would be nice.
in yum 3.1.1(FC7) there have been include some changes there make it possible
for the yum-utils to inherit the commandline options from yum-cli, I'm working
on new yumdownloader there add options like '--enablerepo'.
It will be available in a future yum-utils-1.1.x release for FC7.
I don't think automatic source repo enabling is a good idea, it is up to the
user to select the repos to be enabled.