From de6aca1acd16cdeec9badc537e579465b6fb6474 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Mar 14 2008 20:21:03 +0000 Subject: multilib_policy=best as default, now --- diff --git a/yum-multilib-policy-best.patch b/yum-multilib-policy-best.patch new file mode 100644 index 0000000..1af91e1 --- /dev/null +++ b/yum-multilib-policy-best.patch @@ -0,0 +1,11 @@ +--- yum/config.py~ 2008-03-14 15:52:03.000000000 -0400 ++++ yum/config.py 2008-03-14 15:52:03.000000000 -0400 +@@ -636,7 +636,7 @@ + mdpolicy = SelectionOption('group:primary', + ('instant', 'group:all', 'group:main', + 'group:small', 'group:primary')) +- multilib_policy = SelectionOption('all',('best', 'all')) ++ multilib_policy = SelectionOption('best',('best', 'all')) + # all == install any/all arches you can + # best == use the 'best arch' for the system + diff --git a/yum.spec b/yum.spec index 894a578..0c3a46d 100644 --- a/yum.spec +++ b/yum.spec @@ -3,7 +3,7 @@ Summary: RPM installer/updater Name: yum Version: 3.2.12 -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Group: System Environment/Base Source0: http://linux.duke.edu/projects/yum/download/3.2/%{name}-%{version}.tar.gz @@ -13,6 +13,7 @@ Patch0: installonlyn-enable.patch Patch1: yum-mutual-obsoletes-providers.patch Patch2: yum-mirror-priority.patch Patch3: yum-manpage-files.patch +Patch4: yum-multilib-policy-best.patch URL: http://linux.duke.edu/yum/ BuildArch: noarch @@ -55,6 +56,7 @@ can notify you when they are available via email, syslog or dbus. %patch1 -p0 %patch2 -p0 %patch3 -p1 +%patch4 -p0 %build make @@ -103,6 +105,9 @@ rm -rf $RPM_BUILD_ROOT %dir /usr/lib/yum-plugins %changelog +* Fri Mar 14 2008 Seth Vidal 3.2.12-4 +- multilib_policy=best is now the default + * Thu Mar 13 2008 Seth Vidal - add jeff sheltren's patch to close rh bug 428825