On 12/18/2008 02:45 PM, Karanbir Singh wrote:
Manuel Wolfshant wrote:
I've just noticed that there is a small typo in %description for yum-basearchonly. Quoting the relevant part only: Description: this plugin makes Yum only install basearch packages on multiarch systems. If you type 'yum install : foo' on a x68_64 system, only 'foo-x.y.x86_46.rpm' is installed.
note that x68_64 != x86_46 (and neither one is correct.) This is also valid for 1.1.10-9.el5.centos (from Base) and for 1.1.14-0_beta_15_2.el5.centos (testing)
And I think that the license (GPL) is also not correct, all other plugins coming from the same source seem to be GPLv2+
Sounds like something for upstream really. Otherwise we can make the change locally as well.
Bz.r.c: https://bugzilla.redhat.com/show_bug.cgi?id=477079
license is correct in yum-utils-1.1.16-13; for reasons that I have not identified yet, latest version that my yum info sees is still 1.1.14 [commands below performed after yum clean all):
[wolfy@wolfy2 tmp]$ yum info yum-basearchonly --enablerepo=testing Loaded plugins: allowdowngrade, downloadonly, fastestmirror, merge-conf Available Packages Name : yum-basearchonly Arch : noarch Version : 1.1.14 Release : 0_beta_15_2.el5.centos Size : 10 k Repo : testing Summary : Yum plugin to let Yum install only basearch packages. URL : http://linux.duke.edu/yum/download/yum-utils/ License : GPL Description: this plugin makes Yum only install basearch packages on multiarch systems. If you type 'yum install : foo' on a x68_64 system, only 'foo-x.y.x86_46.rpm' is installed. If you want to install the : foo-x.y.i386.rpm, you have to type 'yum install foo.i386'. The plugin only works with 'yum : install'.
[wolfy@wolfy2 tmp]$ tail -7 /etc/yum.repos.d/CentOS-Base.repo
#packages in testing [testing] name=CentOS-$releasever - Testing baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/ gpgcheck=1 enabled=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing