[yum-commits] yum-config-manager.py yum-utils.spec

James Antill james at osuosl.org
Wed Jul 31 14:22:54 UTC 2013


 yum-config-manager.py |    3 ++-
 yum-utils.spec        |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit 08fa4c95c35e17cc099a178edcaf7ecc1fb1fcb9
Author: James Antill <james at and.org>
Date:   Tue Jun 18 15:11:18 2013 -0400

    Use new findRepos() API for yum-config-manager. BZ 971599.

diff --git a/yum-config-manager.py b/yum-config-manager.py
index aed64a2..df90885 100755
--- a/yum-config-manager.py
+++ b/yum-config-manager.py
@@ -161,7 +161,8 @@ if opts.enable or opts.disable:
         only = ['enabled']
 
 if args:
-    repos = yb.repos.findRepos(','.join(args))
+    repos = yb.repos.findRepos(','.join(args),
+                               name_match=True, ignore_case=True)
 else:
     repos = yb.repos.listEnabled()
 
diff --git a/yum-utils.spec b/yum-utils.spec
index c72a353..e22d692 100644
--- a/yum-utils.spec
+++ b/yum-utils.spec
@@ -17,7 +17,8 @@ Source: http://yum.baseurl.org/download/yum-utils/%{name}-%{version}.tar.gz
 URL: http://yum.baseurl.org/download/yum-utils/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
-Requires: yum >= 3.2.29
+# For new findRepos() API.
+Requires: yum >= 3.4.3-96
 Requires: python-kitchen
 BuildRequires: python-devel >= 2.4
 BuildRequires: gettext


More information about the Yum-commits mailing list