[yum/f18] Fix a typo in select_groups(). BZ 885139

Zdeněk Pavlas zpavlas at fedoraproject.org
Wed Jan 16 14:17:29 UTC 2013


commit 56fa7022d4abf851a89839e60d3134163b3533ae
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date:   Wed Jan 16 15:16:49 2013 +0100

    Fix a typo in select_groups(). BZ 885139

 BZ-885139-not-enough-arguments.patch |   20 ++++++++++++++++++++
 yum.spec                             |    7 ++++++-
 2 files changed, 26 insertions(+), 1 deletions(-)
---
diff --git a/BZ-885139-not-enough-arguments.patch b/BZ-885139-not-enough-arguments.patch
new file mode 100644
index 0000000..6538675
--- /dev/null
+++ b/BZ-885139-not-enough-arguments.patch
@@ -0,0 +1,20 @@
+commit 4687ffe032c1a4060da3ef670301df06d0faeb32
+Author: Zdeněk Pavlas <zpavlas at redhat.com>
+Date:   Mon Dec 10 08:55:41 2012 +0100
+
+    selectGroup(): Fix a typo.  BZ 885139
+
+diff --git a/yum/__init__.py b/yum/__init__.py
+index 6401645..63053af 100644
+--- a/yum/__init__.py
++++ b/yum/__init__.py
+@@ -3692,7 +3692,8 @@ much more problems).
+             if not upgrade and len(txmbrs_used) == old_txmbrs:
+                 self.logger.critical(_('Warning: Group %s does not have any packages to install.'), thisgroup.groupid)
+                 if count_cond_test:
+-                    self.logger.critical(_('Group %s does have %u conditional packages, which may get installed.'), count_cond_test)
++                    self.logger.critical(_('Group %s does have %u conditional packages, which may get installed.'),
++                                         thisgroup.groupid, count_cond_test)
+         return txmbrs_used
+ 
+     def deselectGroup(self, grpid, force=False):
diff --git a/yum.spec b/yum.spec
index e73ceac..9db5653 100644
--- a/yum.spec
+++ b/yum.spec
@@ -18,7 +18,7 @@
 Summary: RPM package installer/updater/manager
 Name: yum
 Version: 3.4.3
-Release: 47%{?dist}
+Release: 48%{?dist}
 License: GPLv2+
 Group: System Environment/Base
 Source0: http://yum.baseurl.org/download/3.4/%{name}-%{version}.tar.gz
@@ -33,6 +33,7 @@ Patch8: BZ-803346-no-only-update.patch
 Patch20: yum-manpage-files.patch
 Patch21: yum-completion-helper.patch
 Patch22: BZ-881756-include-langpacks.patch
+Patch23: BZ-885139-not-enough-arguments.patch
 
 URL: http://yum.baseurl.org/
 BuildArchitectures: noarch
@@ -148,6 +149,7 @@ Install this package if you want auto yum updates nightly via cron.
 %patch20 -p1
 %patch21 -p1
 %patch22 -p1
+%patch23 -p1
 %patch1 -p1
 
 %build
@@ -323,6 +325,9 @@ exit 0
 %endif
 
 %changelog
+* Wed Jan 16 2013 Zdeněk Pavlas <zpavlas at redhat.com> - 3.4.3-48
+- Fix a typo in select_groups(). BZ 885139
+
 * Thu Dec  6 2012 Zdeněk Pavlas <zpavlas at redhat.com> - 3.4.3-47
 - Include langpacks when reading and writing comps. BZ 881756
 


More information about the scm-commits mailing list