[PATCH] yumdownloader: use stock doUtilYumSetup()

2014-01-17 Thread Zdenek Pavlas
yumdownloader didn't lock the cachedir but it might have updated the repository metadata. --- yumdownloader.py | 30 ++ 1 file changed, 6 insertions(+), 24 deletions(-) diff --git a/yumdownloader.py b/yumdownloader.py index b491c7f..b448aa8 100755 --- a/yumdownloader.p

[PATCH] yum-builddep: Use srpms in already enabled repos. BZ 1024070

2014-01-17 Thread Zdenek Pavlas
Enable "src" arch first, then source repos, then init sacks. Fixes BZ and we don't have to disable/enable to change arches. --- yum-builddep.py | 19 +-- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/yum-builddep.py b/yum-builddep.py index b9e682a..216066e 100755 -